{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/tally_accounting/tally_voucher_type.schema.json","title":"tally_voucher_type","type":"object","properties":{"voucher_type_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"company_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"voucher_type_name":{"type":"string","x-pg-type":"text"},"parent_type_name":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"numbering_method":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"affects_stock":{"type":"boolean","x-pg-type":"bool"},"is_deemed_positive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"x-pg-type":"bool"},"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":["company_id","voucher_type_name"],"x-primary-key":["voucher_type_id"],"x-foreign-keys":[{"column":"company_id","references_table":"tally_company","references_column":"company_id","constraint":"tally_voucher_type_company_id_fkey"}]}