{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/compliance_mcp/compliance_gate_result.schema.json","title":"compliance_gate_result","type":"object","properties":{"gate_result_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"project_ref":{"type":"string","x-pg-type":"text"},"plant_slug":{"type":"string","x-pg-type":"text"},"design_requirement_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"x-pg-type":"uuid"},"evaluated_at":{"type":"string","format":"date-time","x-pg-type":"timestamptz"},"overall_status":{"type":"string","x-pg-type":"text"},"report_source":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"parameters":{"x-pg-type":"jsonb"},"producer_tool":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"content_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"source_artifact_ids":{"anyOf":[{},{"type":"null"}],"x-pg-type":"jsonb"},"created_at":{"type":"string","format":"date-time","x-pg-type":"timestamptz"}},"x-table-schema":"public","required":["project_ref","plant_slug","overall_status"],"x-primary-key":["gate_result_id"],"x-foreign-keys":[{"column":"project_ref","references_table":"project","references_column":"ref","constraint":"fk_gate_project"}]}