{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/engineering_mcp/models.schema.json","title":"models","type":"object","properties":{"model_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"model_type":{"type":"string","x-pg-type":"text"},"diagram_type":{"type":"string","x-pg-type":"text"},"data":{"type":"string","contentEncoding":"base64","x-pg-type":"bytea"},"metadata":{"x-pg-type":"jsonb"},"summary":{"x-pg-type":"jsonb"},"tags":{"anyOf":[{},{"type":"null"}],"x-pg-type":"jsonb"},"access_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"x-pg-type":"int4"},"created_at":{"type":"string","format":"date-time","x-pg-type":"timestamptz"},"updated_at":{"type":"string","format":"date-time","x-pg-type":"timestamptz"},"project_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"portable":{"anyOf":[{},{"type":"null"}],"x-pg-type":"jsonb"}},"x-table-schema":"public","required":["model_type","data"],"x-primary-key":["model_id"]}