{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/tally_accounting/tally_actuals_export.schema.json","title":"tally_actuals_export","type":"object","properties":{"actuals_export_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"company_period_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"report_snapshot_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"x-pg-type":"uuid"},"actuals_import_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"project_ref":{"type":"string","x-pg-type":"text"},"period":{"type":"integer","x-pg-type":"int4"},"period_date":{"type":"string","format":"date","x-pg-type":"date"},"line_item":{"type":"string","x-pg-type":"text"},"amount":{"type":"number","x-pg-type":"numeric"},"source_method":{"type":"string","x-pg-type":"text"},"source_scope":{"anyOf":[{},{"type":"null"}],"x-pg-type":"jsonb"},"created_at":{"type":"string","format":"date-time","x-pg-type":"timestamptz"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"}},"x-table-schema":"public","required":["company_period_id","actuals_import_id","project_ref","period","period_date","line_item","amount","source_method"],"x-primary-key":["actuals_export_id"],"x-foreign-keys":[{"column":"company_period_id","references_table":"tally_company_period","references_column":"company_period_id","constraint":"tally_actuals_export_company_period_id_fkey"},{"column":"report_snapshot_id","references_table":"tally_report_snapshot","references_column":"report_snapshot_id","constraint":"tally_actuals_export_report_snapshot_id_fkey"}]}