{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/project_finance/financing_event.schema.json","title":"financing_event","type":"object","properties":{"event_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"model_run_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"event_date":{"type":"string","format":"date","x-pg-type":"date"},"event_kind":{"type":"string","x-pg-type":"text"},"amount_inr":{"type":"number","x-pg-type":"numeric"},"pool":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"context_jsonb":{"anyOf":[{},{"type":"null"}],"x-pg-type":"jsonb"}},"x-table-schema":"public","required":["model_run_id","event_date","event_kind","amount_inr"],"x-primary-key":["event_id"],"x-foreign-keys":[{"column":"model_run_id","references_table":"proforma_model_run","references_column":"model_run_id","constraint":"financing_event_model_run_id_fkey"}]}