{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/engineering_mcp/hazop_safeguard.schema.json","title":"hazop_safeguard","type":"object","properties":{"safeguard_id":{"type":"integer","x-pg-type":"int8"},"deviation_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"safeguard_text":{"type":"string","x-pg-type":"text"},"safeguard_category":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"safeguard_tag":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"safety_integrity_level":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"independent_protection_layer":{"anyOf":[{"type":"boolean"},{"type":"null"}],"x-pg-type":"bool"},"credited_in_lopa":{"anyOf":[{"type":"boolean"},{"type":"null"}],"x-pg-type":"bool"},"created_at":{"type":"string","format":"date-time","x-pg-type":"timestamptz"}},"x-table-schema":"public","required":["deviation_id","safeguard_text"],"x-primary-key":["safeguard_id"],"x-foreign-keys":[{"column":"deviation_id","references_table":"hazop_deviation","references_column":"deviation_id","constraint":"hazop_safeguard_deviation_id_fkey"}]}