{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/engineering_mcp/hazop_study.schema.json","title":"hazop_study","type":"object","properties":{"study_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"project_ref":{"type":"string","x-pg-type":"text"},"study_name":{"type":"string","x-pg-type":"text"},"study_type":{"type":"string","x-pg-type":"text"},"standard_basis":{"type":"string","x-pg-type":"text"},"study_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"x-pg-type":"date"},"leader":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"scribe":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"created_at":{"type":"string","format":"date-time","x-pg-type":"timestamptz"},"updated_at":{"type":"string","format":"date-time","x-pg-type":"timestamptz"}},"x-table-schema":"public","required":["project_ref","study_name"],"x-primary-key":["study_id"],"x-foreign-keys":[{"column":"project_ref","references_table":"project","references_column":"ref","constraint":"hazop_study_project_ref_fkey"}]}