{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/engineering_mcp/pfd_unit_interface.schema.json","title":"pfd_unit_interface","type":"object","properties":{"interface_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"contract_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"interface_key":{"type":"string","x-pg-type":"text"},"role":{"type":"string","x-pg-type":"text"},"direction":{"type":"string","x-pg-type":"text"},"stream_service":{"type":"string","x-pg-type":"text"},"phase":{"type":"string","x-pg-type":"text"},"default_nominal_size":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"offpage_group_key":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"interface_payload":{"x-pg-type":"jsonb"},"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":["contract_id","interface_key","role","direction","stream_service","phase"],"x-primary-key":["interface_id"],"x-foreign-keys":[{"column":"contract_id","references_table":"pfd_unit_contract","references_column":"contract_id","constraint":"pfd_unit_interface_contract_id_fkey"}]}