{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/legal/scenario_run.schema.json","title":"scenario_run","type":"object","properties":{"run_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"project_ref":{"type":"string","x-pg-type":"text"},"contract_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"x-pg-type":"uuid"},"scenario_type":{"type":"string","x-pg-type":"text"},"engine_version":{"type":"string","x-pg-type":"text"},"input_facts":{"x-pg-type":"jsonb"},"input_fingerprint":{"type":"string","x-pg-type":"text"},"assumptions":{"x-pg-type":"jsonb"},"result":{"x-pg-type":"jsonb"},"judgment_nodes":{"x-pg-type":"jsonb"},"privilege_class":{"type":"string","x-pg-type":"text"},"decision_trace_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"x-pg-type":"int8"},"created_at":{"type":"string","format":"date-time","x-pg-type":"timestamptz"},"created_by":{"type":"string","x-pg-type":"text"}},"x-table-schema":"public","required":["project_ref","scenario_type","engine_version","input_facts","input_fingerprint","result"],"x-primary-key":["run_id"]}