SchedulableResource
object type
A SchedulableResource — a bookable entity at a LogicalFacility: the staff member / station / equipment Appointments book against. capacity = concurrent bookings (default 1); the confirm gate checks capacity only. workingHours are advisory v1 — naive wall-clock weekly windows: the availability read returns them, NO gate consumes them. The operational lifecycle verbatim. The gate: a reserved booking (a confirmed/in_progress Appointment) blocks deactivate AND doom, CONFLICT/REFERENCED naming the appointments; requested Appointments deliberately do NOT block (they refuse honestly at confirm via the active re-read).
Fields
| Field | Type | Notes |
|---|---|---|
id | ID ID! | The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it. |
sysId | String String! | The human-readable id, shaped like SR-… — stable for the record’s life. |
type | String String! | The kind of record — always SchedulableResource here. |
caption | String String! | The record’s display name — what people see it called. |
status | String String! | The record’s current state — one of active, inactive or doomed. |
parentId | ID ID! | The parent LogicalFacility; rootId = the org group; parentId!== rootId always. |
rootId | ID ID! | The id of your organization group — every record of yours carries the same one. |
createdAt | String String! | When the record was created, as a UTC timestamp. |
updatedAt | String String! | When the record last changed, as a UTC timestamp. |
revisionNum | Int Int! | How many times this record has been edited; the first save is 0. |
revision | ID ID! | The id of the record’s current edit — send it back with a change so an edit made in the meantime is refused instead of overwritten. |
refCaptions | RefCaption [RefCaption!]! | The captions of the records this one refers to, composed for you — one row per referenced id; see RefCaption. |
resourceType | SchedulableResourceType SchedulableResourceType! | The canned resource kind — set at creation, immutable (re-kind = create + doom). |
userId | ID | The optional staff link — staff-kind resources only; in-tenant + active at set; editable (re-staffing is operational reality); null = no link. |
capacity | Int Int! | Concurrent-booking capacity (1..100; default 1) — the confirm gate refuses CONFLICT/DOUBLE_BOOKED at this ceiling unless the appointment.overbook_allowed policy admits. |
workingHours | WorkingHoursWindow [WorkingHoursWindow!]! | The weekly working-hours calendar (≤28 windows; split shifts legal; empty = none declared) — advisory v1: naive wall-clock minutes at the facility, returned by the availability read, consumed by NO gate. |
code | String | Optional mutable merchant reference code; uniqueness NOT enforced. |