A named sub-space within a Location — e.g. a room, court, or studio. A facility inherits its address from the parent location and adds a name plus optional instructions. Its booking / bookableSpots override the location's when configured on the facility, and otherwise inherit from the location. Sessions can target a facility directly (see ActivitySession.facility).
Fields
idID!businessBusiness!locationLocation!nameString!instructionsStringOptional free-text instructions specific to this facility (e.g. "Enter via the side door").
bookingBooking!Effective booking status and capacity — the facility's own configuration when set, otherwise inherited from the parent location.
bookableSpotsBookingSpotsEffective bookable-spot layout — the facility's own layout when configured, otherwise the parent location's, or null when neither has one.
sessions[ActivitySession!]!Activity sessions taking place in this facility. Sort defaults to startAt ASC, id ASC; pass sort: startDesc to return the most recent sessions first.
Arguments (5)
startingActivitySessionsStartingfirstIntInclude this facility's appointment bookings (source appointment) alongside class sessions. Defaults to false; the per-resource admin schedule passes true to overlay bookings.
source[ActivitySessionSource!]Narrow to sessions created via any of the listed sources. Null or empty means "any source". appointment only takes effect together with includeAppointments: true (and the appointments feature); a public read can never surface appointment bookings.