{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/project_controls/cash_flow_forecast_period.schema.json","title":"cash_flow_forecast_period","type":"object","properties":{"forecast_row_id":{"type":"integer","x-pg-type":"int8"},"project_ref":{"type":"string","x-pg-type":"text"},"scenario_name":{"type":"string","x-pg-type":"text"},"period_start_date":{"type":"string","format":"date","x-pg-type":"date"},"period_end_date":{"type":"string","format":"date","x-pg-type":"date"},"currency":{"type":"string","x-pg-type":"text"},"cash_flow_type":{"type":"string","x-pg-type":"text"},"planned_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"committed_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"actual_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"forecast_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"source_system":{"type":"string","x-pg-type":"text"},"source_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"created_at":{"type":"string","format":"date-time","x-pg-type":"timestamptz"}},"x-table-schema":"public","required":["project_ref","period_start_date","period_end_date","cash_flow_type"],"x-primary-key":["forecast_row_id"]}