query { # Use this type in your queries someQuery { additionalNotes assignmentCount assignmentStatus assignments dirtySince }}additionalNotesStringFree text, max 500 characters.
assignmentStatusCensusAssignmentStatusOCCUPIED when a patient is inside. RESERVED when nobody is inside and the kennel has an active reservation, whatever its condition. Null otherwise. Ignores search and patient filters.
dirtySinceDateTimeWhen the kennel was last marked dirty. Null unless it is dirty now: the underlying timestamp moves on every condition write, so on a clean kennel it would mean "clean since".
True when at least one active booking on this kennel is for an appointment starting today at the kennel's own location — its local date, not the caller's and not UTC.
historyCensusHistoryEventConnectionCLEAN for a kennel whose condition was never set.
locationDetailCensusLocationDetailLabelmaxWeightDecimalminWeightDecimalnameStringHow many patients are physically in this kennel. The length of `occupants`.
The patients physically in this kennel. The occupying subset of `assignments`, resolved from the same batch.
How many active bookings this kennel has. The length of `reservations`, and independent of `occupantCount` — a kennel can have both.
Every active booking on this kennel, oldest first. Orthogonal to `occupants`: a kennel can be occupied and reserved at once, and a booking appears here even when its patient is physically somewhere else — the case `assignments` collapses away.
species[String]wardIdID