{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/tally_accounting/tally_voucher_line_bank_allocation.schema.json","title":"tally_voucher_line_bank_allocation","type":"object","properties":{"bank_allocation_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"voucher_line_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"allocation_number":{"type":"integer","x-pg-type":"int4"},"transaction_type":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"instrument_number":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"instrument_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"x-pg-type":"date"},"bank_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"x-pg-type":"date"},"amount":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"raw_payload":{"anyOf":[{},{"type":"null"}],"x-pg-type":"jsonb"},"created_at":{"type":"string","format":"date-time","x-pg-type":"timestamptz"}},"x-table-schema":"public","required":["voucher_line_id","allocation_number"],"x-primary-key":["bank_allocation_id"],"x-foreign-keys":[{"column":"voucher_line_id","references_table":"tally_voucher_line","references_column":"voucher_line_id","constraint":"tally_voucher_line_bank_allocation_voucher_line_id_fkey"}]}