{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/engineering_mcp/shift_log.schema.json","title":"shift_log","type":"object","properties":{"log_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"project_ref":{"type":"string","x-pg-type":"text"},"shift_date":{"type":"string","format":"date","x-pg-type":"date"},"shift":{"type":"string","x-pg-type":"text"},"operator":{"type":"string","x-pg-type":"text"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"handover_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"incoming_operator":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"published_at":{"type":"string","format":"date-time","x-pg-type":"timestamptz"},"created_at":{"type":"string","format":"date-time","x-pg-type":"timestamptz"}},"x-table-schema":"public","required":["project_ref","shift_date","shift","operator"],"x-primary-key":["log_id"],"x-foreign-keys":[{"column":"project_ref","references_table":"project","references_column":"ref","constraint":"shift_log_project_ref_fkey"}]}