{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/compliance_mcp/quantitative_limit_audit.schema.json","title":"quantitative_limit_audit","type":"object","properties":{"audit_id":{"type":"integer","x-pg-type":"int8"},"limit_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"field_name":{"type":"string","x-pg-type":"text"},"old_value":{"anyOf":[{},{"type":"null"}],"x-pg-type":"jsonb"},"new_value":{"anyOf":[{},{"type":"null"}],"x-pg-type":"jsonb"},"changed_by":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"changed_at":{"type":"string","format":"date-time","x-pg-type":"timestamptz"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"}},"x-table-schema":"public","required":["limit_id","field_name"],"x-primary-key":["audit_id"],"x-foreign-keys":[{"column":"limit_id","references_table":"quantitative_limit","references_column":"limit_id","constraint":"quantitative_limit_audit_limit_id_fkey"}]}