{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/engineering_mcp/electrical_load_schedule_audit.schema.json","title":"electrical_load_schedule_audit","type":"object","properties":{"audit_id":{"type":"integer","x-pg-type":"int8"},"load_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":["load_id","field_name"],"x-primary-key":["audit_id"],"x-foreign-keys":[{"column":"load_id","references_table":"electrical_load_schedule","references_column":"load_id","constraint":"electrical_load_schedule_audit_load_id_fkey"}]}