Released docs. You are viewing the documentation published with v0.49.0. Development docs are available at Latest.
Registry Scheduling configuration reference
Look up configuration keys for scheduling.yaml, records.yaml, the files under fixtures/, and
the operator’s runtime.yaml.
These keys are not a frozen contract.
scheduling.yaml is the authored policy: services, openings, holiday sets, offerings, the hold
policy, and hooks. records.yaml holds the runtime records the policy names by identifier:
locations, resource pools and their members, published windows, and dated exceptions. Files under fixtures/ drive local checks. runtime.yaml is the operator’s
deployment file: listener, database, package, identity, task-grant status, audit, retention, and hook
destinations.
A schema-valid document can still fail the checks schedulingctl runs, because some rules span
fields or files.
Configuration files describes the YAML rules and environment
substitution that apply when the runtime reads runtime.yaml.
Read the tables
Section titled “Read the tables”fields[] means an array item; destinations.hooks.* means a map entry whose name you choose.
Required fields inside an optional object apply when that object is present.
Conditional fields depend on the selected variant or another configuration value.
Accepted values list the union across variants; constraints separated by or are alternatives.
A schema default applies only where that variant declares it. Not specified does not mean
that every value is accepted.
scheduling.yamlSource preview, pre-1.0, 79 key pathsrecords.yamlSource preview, pre-1.0, 76 key pathsfixtures/*.yamlSource preview, pre-1.0, 122 key pathsruntime.yamlSource preview, pre-1.0, 136 key paths
scheduling.yaml
Source preview, pre-1.0
Generated from products/scheduling/generated/project/project.schema.json. 79 key paths. Explained in docs/site/src/content/docs/reference/scheduling-configuration.mdx.
| Key path | Type | Required | Accepted values | Constraints |
|---|---|---|---|---|
apiVersion | string | Yes |
| None specified |
channelsThe channels this deployment serves. The vocabulary is closed by the
Channel type itself; the declaration narrows it to the served
subset, every subquota must draw on a declared channel, and a request
naming anything else is refused. The set is required and holds at
least one channel: a deployment that names none serves none. | array | Yes | Not specified |
|
channels[]Array itemThe authenticated channel a subquota limits. | string | No |
| None specified |
holdPolicyThe hold policy every offering inherits. | object | Yes | Not specified | None specified |
holdPolicy.becauseHuman-readable display text. Bidirectional embedding, override, and isolate controls, byte-order marks, line and paragraph separators, and Unicode noncharacters are refused; multilingual joiners and direction marks remain valid. | string | Yes | Not specified | None specified |
holdPolicy.maximumPerCallerThe most live holds one caller may keep at once. | integer | Yes | Not specified |
|
holdPolicy.ttlMinutesHow long a hold keeps its capacity under an explicitly authored policy. | integer | Yes | Not specified |
|
holidaySets | object | Yes | Not specified |
|
holidaySets.*Map valueA named, revisioned set of holiday dates. | object | No | Not specified |
|
holidaySets.*.datesThe dates the set closes. A set that closes no date omits the member. | array | No | Not specified |
|
holidaySets.*.dates[]Array item | string | No | Not specified | None specified |
holidaySets.*.labelAn optional human label for the set; the id names it when absent. | string | No | Not specified | None specified |
holidaySets.*.revision | integer | Yes | Not specified |
|
hooksObserver hooks, keyed by hook id (CFG-ID-5) and held sorted by id. A
project with none omits the member. | object | No | Not specified |
|
hooks.*Map valueOne observer hook: the shared Registry Stack hook declaration narrowed to
the closed Scheduling contract. It runs after commit, follows one of four
appointment event triggers, delivers to a URL destination, and takes
no condition and no proposal principal. | object | No | Not specified |
|
hooks.*.handlerWhere an observer hook delivers, chosen by its type member. Scheduling
delivers to a URL destination the runtime configuration binds, and to
nothing else. | object | Yes | Not specified | None specified |
hooks.*.handler.destinationIdA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
hooks.*.handler.type | string | Yes |
| None specified |
hooks.*.phaseWhen an observer hook runs. Scheduling runs every hook after the
appointment transaction commits, never inside its capacity transaction. | string | Yes |
| None specified |
hooks.*.projectionThe fields of the trigger's closed projection the observer receives.
A hook that needs none lists none. | array | Yes | Not specified |
|
hooks.*.projection[]Array item | string | No | Not specified | None specified |
hooks.*.triggerThe appointment event an observer hook follows. | string | Yes |
| None specified |
kind | string | Yes |
| None specified |
offerings | object | Yes | Not specified |
|
offerings.*Map valueOne bookable thing a deployment offers. | object | No | Not specified |
|
offerings.*.arrivalPresent exactly when mode is arrival-window. | object | No | Not specified | None specified |
offerings.*.arrival.horizonDaysHow far ahead of the window's start booking is open. | integer | Yes | Not specified |
|
offerings.*.arrival.leadTimeMinutesThe earliest lead time a caller may book the window at. | integer | Yes | Not specified |
|
offerings.*.arrival.windowThe published window this offering serves arrivals in. An offering
that omits it serves every records-published window whose offering
names it, and a request picks one of those windows by its start. | string | No | Not specified |
|
offerings.*.becauseHuman-readable display text. Bidirectional embedding, override, and isolate controls, byte-order marks, line and paragraph separators, and Unicode noncharacters are refused; multilingual joiners and direction marks remain valid. | string | Yes | Not specified | None specified |
offerings.*.cancellationCutoffMinutesHow late before the displayed start a booking may still be cancelled. | integer | Yes | Not specified |
|
offerings.*.duplicateActiveKeyThe caller attribute an active-booking duplicate check keys on, when
the service defines one. Phone numbers and email addresses are never
valid duplicate keys. | string | No | Not specified |
|
offerings.*.exactTimePresent exactly when mode is exact-time. | object | No | Not specified | None specified |
offerings.*.exactTime.allowResourceSelectionWhether a request may constrain allocation to one exact pool member.
Omitted or false, every exact-time request uses fungible selection. | boolean | No | Not specified | None specified |
offerings.*.exactTime.bufferAfterMinutesCleanup time occupied after the displayed end. | integer | Yes | Not specified |
|
offerings.*.exactTime.bufferBeforeMinutesSetup time occupied before the displayed start. | integer | Yes | Not specified |
|
offerings.*.exactTime.durationMinutes | integer | Yes | Not specified |
|
offerings.*.exactTime.durationSelectionThe request-selectable duration lattice. Omitted, the offering accepts
only durationMinutes; a request that omits its duration always uses
durationMinutes in either form. | object | No | Not specified | None specified |
offerings.*.exactTime.durationSelection.incrementMinutes | integer | Yes | Not specified |
|
offerings.*.exactTime.durationSelection.maximumMinutes | integer | Yes | Not specified |
|
offerings.*.exactTime.durationSelection.minimumMinutes | integer | Yes | Not specified |
|
offerings.*.exactTime.horizonDaysHow far ahead booking is open. | integer | Yes | Not specified |
|
offerings.*.exactTime.leadTimeMinutesThe earliest lead time a caller may book at. | integer | Yes | Not specified |
|
offerings.*.exactTime.maximumRecipientsThe largest party the offering serves. | integer | Yes | Not specified |
|
offerings.*.exactTime.openingCoverageThe interval published openings and closures constrain. Omitted, only
the displayed service interval must be covered; buffers still consume
ledger capacity outside it. | string | No |
| None specified |
offerings.*.exactTime.partyCountsWhether a request must declare human party counts. Omitted, counts are
required. Only exact-time offerings may opt out for resource bookings. | string | No |
| None specified |
offerings.*.exactTime.poolThe pool of interchangeable members backing this offering. A pool is
its members, never an independent counter. | string | Yes | Not specified |
|
offerings.*.exactTime.startIncrementMinutesThe grid displayed starts must land on. | integer | Yes | Not specified |
|
offerings.*.labelHuman-readable display text. Bidirectional embedding, override, and isolate controls, byte-order marks, line and paragraph separators, and Unicode noncharacters are refused; multilingual joiners and direction marks remain valid. | string | Yes | Not specified | None specified |
offerings.*.locationA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
offerings.*.modeHow an offering delivers its service. | string | Yes |
| None specified |
offerings.*.prerequisitesPrerequisite references a requesting party must hold. An offering
with no prerequisite omits the member. | array | No | Not specified |
|
offerings.*.prerequisites[]Array item | string | No | Not specified | None specified |
offerings.*.remindersAuthored reminder offsets for this offering. The runtime mints one
revision-bound intent per offset whose due time is still ahead when
the appointment commits; message transport stays external (INT-02).
An offering with no reminders omits the member or lists none. | array | No | Not specified |
|
offerings.*.reminders[]Array itemOne authored reminder offset: a notification intent becomes due this many
minutes before the displayed start of an appointment on the offering. | object | No | Not specified | None specified |
offerings.*.reminders[].becauseHuman-readable display text. Bidirectional embedding, override, and isolate controls, byte-order marks, line and paragraph separators, and Unicode noncharacters are refused; multilingual joiners and direction marks remain valid. | string | Yes | Not specified | None specified |
offerings.*.reminders[].offsetMinutes | integer | Yes | Not specified |
|
offerings.*.requiresCapabilitiesCapabilities every backing member must have for this offering. An
offering that requires none omits the member. | array | No | Not specified |
|
offerings.*.requiresCapabilities[]Array itemA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | No | Not specified |
|
offerings.*.serviceA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
openings | object | Yes | Not specified |
|
openings.*Map valueA bounded weekly opening pattern over local wall-clock time. The timezone
comes from the location record the pattern references. | object | No | Not specified |
|
openings.*.becauseHuman-readable display text. Bidirectional embedding, override, and isolate controls, byte-order marks, line and paragraph separators, and Unicode noncharacters are refused; multilingual joiners and direction marks remain valid. | string | Yes | Not specified | None specified |
openings.*.effectiveFrom | string | Yes | Not specified | None specified |
openings.*.effectiveUntil | string | Yes | Not specified | None specified |
openings.*.endTime | string | Yes | Not specified | None specified |
openings.*.holidaySetA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
openings.*.locationA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
openings.*.startTime | string | Yes | Not specified | None specified |
openings.*.weekdays | array | Yes | Not specified |
|
openings.*.weekdays[]Array itemOne weekday of an opening pattern. | string | No |
| None specified |
projectThe members that name a project (CFG-ENV-6): a project's project block
holds these, and may add project-wide members of the product's own.
id and version are required. label and description are optional
display text for people. Neither changes a product's behavior or stable
identity. A product whose digest covers the whole authored document, such
as Scheduling, still sees them, so a relabel changes that digest. An absent
member is omitted when the block is serialized, so a project that sets
neither compiles to the same bytes.
Schema name ProjectIdentity. | object | Yes | Not specified | None specified |
project.descriptionAn optional explanation of the project for readers. | string | No | Not specified | None specified |
project.idThe project identifier. | string | Yes | Not specified |
|
project.labelAn optional human label for the project. | string | No | Not specified | None specified |
project.versionThe project version. | string | Yes | Not specified | None specified |
services | object | Yes | Not specified |
|
services.*Map valueA service a deployment schedules. | object | No | Not specified |
|
services.*.labelHuman-readable display text. Bidirectional embedding, override, and isolate controls, byte-order marks, line and paragraph separators, and Unicode noncharacters are refused; multilingual joiners and direction marks remain valid. | string | Yes | Not specified | None specified |
records.yaml
Source preview, pre-1.0
Generated from products/scheduling/generated/records/records.schema.json. 76 key paths. Explained in docs/site/src/content/docs/reference/scheduling-configuration.mdx.
| Key path | Type | Required | Accepted values | Constraints |
|---|---|---|---|---|
apiVersion | string | Yes |
| None specified |
exceptions | array | No | Not specified |
|
exceptions[]Array itemAn owned dated exception over local wall-clock time, the record form of
registry_platform_calendar::CalendarException. An exception is scoped to
one location: a closure at one counter never closes another. | object | No | Not specified | None specified |
exceptions[].authority | string | No | Not specified | None specified |
exceptions[].dateThe local date, YYYY-MM-DD. | string | Yes | Not specified | None specified |
exceptions[].endTimeThe local end time, HH:MM. | string | Yes | Not specified | None specified |
exceptions[].idA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
exceptions[].kindThe layer an exception occupies, mirrored for records. | string | Yes |
| None specified |
exceptions[].locationThe location this exception applies to. | string | Yes | Not specified |
|
exceptions[].reopens | string | No | Not specified | None specified |
exceptions[].startTimeThe local start time, HH:MM. | string | Yes | Not specified | None specified |
kind | string | Yes |
| None specified |
locations | array | No | Not specified |
|
locations[]Array itemA location record: the layer of configuration an operator maintains at
runtime, not inside the authored policy. | object | No | Not specified | None specified |
locations[].idA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
locations[].timezoneA named IANA timezone such as Asia/Bangkok. | string | Yes | Not specified | None specified |
pools | array | No | Not specified |
|
pools[]Array itemA pool of interchangeable resources backing exact-time offerings. A pool is
its concrete members, never an independent counter. | object | No | Not specified | None specified |
pools[].idA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
pools[].members | array | Yes | Not specified |
|
pools[].members[]Array itemOne interchangeable member of a resource pool.
available carries no reason. Why a member is unavailable is private staff
information; the public answer to a caller is that capacity is exhausted. | object | No | Not specified | None specified |
pools[].members[].availabilityDated constraints intersect the resource's static availability and the
offering's location openings. Omitted openings impose no additional opening
constraint; an explicitly empty list publishes no supply. Closures win. | object | No | Not specified | None specified |
pools[].members[].availability.closures | array | No | Not specified |
|
pools[].members[].availability.closures[]Array itemOne concrete opening or closure. It carries no personnel information. | object | No | Not specified | None specified |
pools[].members[].availability.closures[].end | string | Yes | Not specified |
|
pools[].members[].availability.closures[].start | string | Yes | Not specified |
|
pools[].members[].availability.openings | array | No | Not specified |
|
pools[].members[].availability.openings[]Array itemOne concrete opening or closure. It carries no personnel information. | object | No | Not specified | None specified |
pools[].members[].availability.openings[].end | string | Yes | Not specified |
|
pools[].members[].availability.openings[].start | string | Yes | Not specified |
|
pools[].members[].available | boolean | Yes | Not specified | None specified |
pools[].members[].capabilitiesThe capabilities this member carries. Omitted or [], it carries
none and serves only offerings that require none. | array | No | Not specified |
|
pools[].members[].capabilities[]Array itemA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | No | Not specified |
|
pools[].members[].capacityUnitsPhysical units this member contributes. Omitted legacy records carry
one unit. Zero records complete current loss without erasing the
resource identifier from retained allocations. | integer | No | Not specified |
|
pools[].members[].resourceIdA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
windows | array | No | Not specified |
|
windows[]Array itemA published arrival window with its capacity. | object | No | Not specified | None specified |
windows[].becauseHuman-readable display text. Bidirectional embedding, override, and isolate controls, byte-order marks, line and paragraph separators, and Unicode noncharacters are refused; multilingual joiners and direction marks remain valid. | string | Yes | Not specified | None specified |
windows[].end | string | Yes | Not specified |
|
windows[].idA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
windows[].leftoverDeclared intent for the window's leftover capacity. Nothing reads it
in this version, so a declaration is refused at authoring; the field
stays so a refusal can name it. | string | No |
| None specified |
windows[].locationA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
windows[].offeringA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
windows[].resourcesPhysical requirements reserved once for the window's span. A window
that reserves nothing omits the member. | array | No | Not specified |
|
windows[].resources[]Array itemOne physical requirement a window reserves once for its whole span, such
as a room, a facilitator or equipment. The window's parent reservation
holds it through the same allocation ledger an exact-time booking writes,
so it conflicts with exact bookings of the same resource. units are
resource units of the requirement offering's pool, not window capacity:
bookings in the window consume only the window's own units. | object | No | Not specified | None specified |
windows[].resources[].offeringThe exact-time offering at the window's location whose pool supplies
the requirement. It must sell the window's span with optional party
counts. | string | Yes | Not specified |
|
windows[].resources[].requirementThe requirement's own id, unique within the window. | string | Yes | Not specified |
|
windows[].resources[].resourceThe pool member to reserve. Omitted, the runtime picks one at
publication and keeps it while the window and the policy stand. | string | No | Not specified |
|
windows[].resources[].units | integer | Yes | Not specified |
|
windows[].revision | integer | Yes | Not specified |
|
windows[].staffingThe staffing block a window's supply is carved from, when the window is
backed by the same concrete resources an exact-time pool sells.
A pool that backs a window may not also back an exact-time offering: a
window claim occupies the window's own supply while an exact-time claim
occupies the member it books, so the two modes would double-book the same
staffing in a ledger that cannot see the conflict. That mix is refused at
publication whatever this block declares.
reserved_members records how many pool members the window's supply is
intended to use. The current ledger does not enforce that partition between
windows, so two windows backed by the same pool may not overlap, whatever
either staffing block declares. Disjoint windows may reuse the pool. | object | No | Not specified | None specified |
windows[].staffing.becauseHuman-readable display text. Bidirectional embedding, override, and isolate controls, byte-order marks, line and paragraph separators, and Unicode noncharacters are refused; multilingual joiners and direction marks remain valid. | string | Yes | Not specified | None specified |
windows[].staffing.poolA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
windows[].staffing.reservedMembers | integer | No | Not specified |
|
windows[].start | string | Yes | Not specified |
|
windows[].subquotasPer-channel ceilings within units. A window that limits no channel
omits the member. | array | No | Not specified |
|
windows[].subquotas[]Array itemA per-channel ceiling within a window's published capacity. | object | No | Not specified | None specified |
windows[].subquotas[].becauseHuman-readable display text. Bidirectional embedding, override, and isolate controls, byte-order marks, line and paragraph separators, and Unicode noncharacters are refused; multilingual joiners and direction marks remain valid. | string | Yes | Not specified | None specified |
windows[].subquotas[].channelThe authenticated channel a subquota limits. | string | Yes |
| None specified |
windows[].subquotas[].idA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
windows[].subquotas[].units | integer | Yes | Not specified |
|
windows[].unitsPublished capacity in the unit basis the units policy defines. | integer | Yes | Not specified |
|
windows[].unitsPolicyHow an offering converts a party into consumed recipient units, chosen by
its type member. | object | Yes | Not specified | None specified |
windows[].unitsPolicy.aboveHighestBandWhat a party above the highest band costs, or that it is refused, chosen
by its type member. | object | Conditional | Not specified | None specified |
windows[].unitsPolicy.aboveHighestBand.type | string | Conditional |
| None specified |
windows[].unitsPolicy.aboveHighestBand.units | integer | Conditional | Not specified |
|
windows[].unitsPolicy.bands | array | Conditional | Not specified |
|
windows[].unitsPolicy.bands[]Array itemOne band of a banded units table: parties up to up_to recipients cost
units. | object | Conditional | Not specified | None specified |
windows[].unitsPolicy.bands[].becauseHuman-readable display text. Bidirectional embedding, override, and isolate controls, byte-order marks, line and paragraph separators, and Unicode noncharacters are refused; multilingual joiners and direction marks remain valid. | string | Conditional | Not specified | None specified |
windows[].unitsPolicy.bands[].units | integer | Conditional | Not specified |
|
windows[].unitsPolicy.bands[].upTo | integer | Conditional | Not specified |
|
windows[].unitsPolicy.becauseHuman-readable display text. Bidirectional embedding, override, and isolate controls, byte-order marks, line and paragraph separators, and Unicode noncharacters are refused; multilingual joiners and direction marks remain valid. | string | Yes | Not specified | None specified |
windows[].unitsPolicy.inputThe closed input set a banded table may read. Tier 1 reads exactly one. | string | Conditional |
| None specified |
windows[].unitsPolicy.perRecipient | integer | Conditional | Not specified |
|
windows[].unitsPolicy.type | string | Yes |
| None specified |
windows[].unitsPolicy.units | integer | Conditional | Not specified |
|
fixtures/*.yaml
Source preview, pre-1.0
Generated from products/scheduling/generated/fixture/fixture.schema.json. 122 key paths. Explained in docs/site/src/content/docs/reference/scheduling-configuration.mdx.
| Key path | Type | Required | Accepted values | Constraints |
|---|---|---|---|---|
apiVersion | string | Yes |
| None specified |
cases | array | Yes | Not specified |
|
cases[]Array itemOne replayed request and its expectation. | object | No | Not specified | None specified |
cases[].expectOne case's expected outcome, chosen by its type member. | object | Yes | Not specified | None specified |
cases[].expect.codeA public problem code, exactly as a caller would receive it. | string | Conditional |
| None specified |
cases[].expect.resourceThe pool member an exact-time case lands on. Omit it to accept
any member. | string | Conditional | Not specified |
|
cases[].expect.type | string | Yes |
| None specified |
cases[].expect.units | integer | Conditional | Not specified |
|
cases[].nameThe case name, which also identifies the claim an admitted case
records. | string | Yes | Not specified |
|
cases[].requestOne replayed request as an author writes it.
This is the authoring form of an admission request, not the wire form. It
carries everything the wire request carries plus rescheduleOf, the claim
this case replaces: a fixture legitimately says "this case reschedules that
one", where an HTTP caller may not, because on the wire the exclusion is
the runtime's to supply from inside its own transaction. | object | Yes | Not specified | None specified |
cases[].request.additionalAllocations | array | No | Not specified |
|
cases[].request.additionalAllocations[]Array itemOne secondary physical allocation in a logical reservation. Its displayed
interval is the primary request's interval; its offering supplies its own
occupied buffers and resource policy. | object | No | Not specified | None specified |
cases[].request.additionalAllocations[].offeringA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
cases[].request.additionalAllocations[].resourceAn exact member selection. Omission requests fungible selection. | string | No | Not specified |
|
cases[].request.additionalAllocations[].unitsPhysical resource units, independent of party counts. | integer | No | Not specified |
|
cases[].request.capabilitiesThe capabilities the party holds. A party holding none omits the
member. | array | No | Not specified |
|
cases[].request.capabilities[]Array itemA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | No | Not specified |
|
cases[].request.channelThe channel the caller books through. It is free text so a fixture
can exercise the refusal of a channel outside the vocabulary. | string | No | Not specified | None specified |
cases[].request.duplicateKey | string | No | Not specified | None specified |
cases[].request.durationMinutes | integer | No | Not specified |
|
cases[].request.offeringA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
cases[].request.partyOmit only for an exact-time offering whose policy explicitly makes
human counts optional, such as a room or equipment reservation. | object | No | Not specified | None specified |
cases[].request.party.attendees | integer | Yes | Not specified |
|
cases[].request.party.recipients | integer | Yes | Not specified |
|
cases[].request.policyRevisionThe policy revision the caller resolved the offering under. Replay
runs the policy at revision 1. | integer | Yes | Not specified |
|
cases[].request.prerequisitesThe prerequisites the party holds. A party holding none omits the
member. | array | No | Not specified |
|
cases[].request.prerequisites[]Array item | string | No | Not specified | None specified |
cases[].request.rescheduleOfThe claim this case replaces. Its allocation is left out of this
case's conflict checks and removed when the case is admitted, so a
reschedule never competes with what it replaces. A claim an earlier
case booked is case: followed by that case's name. | string | No | Not specified | None specified |
cases[].request.resourceA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | No | Not specified |
|
cases[].request.resourceUnits | integer | No | Not specifiedSchema default, where declared: 1 |
|
cases[].request.start | string | Yes | Not specified |
|
cases[].request.windowRevision | integer | No | Not specified |
|
factsThe environment records an admission runs against: locations, pools,
published windows, and dated exceptions. In production these are runtime records; in an offline
replay they are fixture facts. The evaluator never reads or mutates them
directly; its caller resolves them into the context the evaluator takes.
A fixture may omit an empty collection; replay fails fast when a case
references a record the facts do not carry. | object | Yes | Not specified | None specified |
facts.exceptions | array | No | Not specified |
|
facts.exceptions[]Array itemAn owned dated exception over local wall-clock time, the record form of
registry_platform_calendar::CalendarException. An exception is scoped to
one location: a closure at one counter never closes another. | object | No | Not specified | None specified |
facts.exceptions[].authority | string | No | Not specified | None specified |
facts.exceptions[].dateThe local date, YYYY-MM-DD. | string | Yes | Not specified | None specified |
facts.exceptions[].endTimeThe local end time, HH:MM. | string | Yes | Not specified | None specified |
facts.exceptions[].idA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
facts.exceptions[].kindThe layer an exception occupies, mirrored for records. | string | Yes |
| None specified |
facts.exceptions[].locationThe location this exception applies to. | string | Yes | Not specified |
|
facts.exceptions[].reopens | string | No | Not specified | None specified |
facts.exceptions[].startTimeThe local start time, HH:MM. | string | Yes | Not specified | None specified |
facts.locations | array | No | Not specified |
|
facts.locations[]Array itemA location record: the layer of configuration an operator maintains at
runtime, not inside the authored policy. | object | No | Not specified | None specified |
facts.locations[].idA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
facts.locations[].timezoneA named IANA timezone such as Asia/Bangkok. | string | Yes | Not specified | None specified |
facts.pools | array | No | Not specified |
|
facts.pools[]Array itemA pool of interchangeable resources backing exact-time offerings. A pool is
its concrete members, never an independent counter. | object | No | Not specified | None specified |
facts.pools[].idA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
facts.pools[].members | array | Yes | Not specified |
|
facts.pools[].members[]Array itemOne interchangeable member of a resource pool.
available carries no reason. Why a member is unavailable is private staff
information; the public answer to a caller is that capacity is exhausted. | object | No | Not specified | None specified |
facts.pools[].members[].availabilityDated constraints intersect the resource's static availability and the
offering's location openings. Omitted openings impose no additional opening
constraint; an explicitly empty list publishes no supply. Closures win. | object | No | Not specified | None specified |
facts.pools[].members[].availability.closures | array | No | Not specified |
|
facts.pools[].members[].availability.closures[]Array itemOne concrete opening or closure. It carries no personnel information. | object | No | Not specified | None specified |
facts.pools[].members[].availability.closures[].end | string | Yes | Not specified |
|
facts.pools[].members[].availability.closures[].start | string | Yes | Not specified |
|
facts.pools[].members[].availability.openings | array | No | Not specified |
|
facts.pools[].members[].availability.openings[]Array itemOne concrete opening or closure. It carries no personnel information. | object | No | Not specified | None specified |
facts.pools[].members[].availability.openings[].end | string | Yes | Not specified |
|
facts.pools[].members[].availability.openings[].start | string | Yes | Not specified |
|
facts.pools[].members[].available | boolean | Yes | Not specified | None specified |
facts.pools[].members[].capabilitiesThe capabilities this member carries. Omitted or [], it carries
none and serves only offerings that require none. | array | No | Not specified |
|
facts.pools[].members[].capabilities[]Array itemA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | No | Not specified |
|
facts.pools[].members[].capacityUnitsPhysical units this member contributes. Omitted legacy records carry
one unit. Zero records complete current loss without erasing the
resource identifier from retained allocations. | integer | No | Not specified |
|
facts.pools[].members[].resourceIdA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
facts.windowsPublished arrival-window supply owned by this deployment's operator
records. The policy references these records by identifier. | array | No | Not specified |
|
facts.windows[]Array itemA published arrival window with its capacity. | object | No | Not specified | None specified |
facts.windows[].becauseHuman-readable display text. Bidirectional embedding, override, and isolate controls, byte-order marks, line and paragraph separators, and Unicode noncharacters are refused; multilingual joiners and direction marks remain valid. | string | Yes | Not specified | None specified |
facts.windows[].end | string | Yes | Not specified |
|
facts.windows[].idA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
facts.windows[].leftoverDeclared intent for the window's leftover capacity. Nothing reads it
in this version, so a declaration is refused at authoring; the field
stays so a refusal can name it. | string | No |
| None specified |
facts.windows[].locationA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
facts.windows[].offeringA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
facts.windows[].resourcesPhysical requirements reserved once for the window's span. A window
that reserves nothing omits the member. | array | No | Not specified |
|
facts.windows[].resources[]Array itemOne physical requirement a window reserves once for its whole span, such
as a room, a facilitator or equipment. The window's parent reservation
holds it through the same allocation ledger an exact-time booking writes,
so it conflicts with exact bookings of the same resource. units are
resource units of the requirement offering's pool, not window capacity:
bookings in the window consume only the window's own units. | object | No | Not specified | None specified |
facts.windows[].resources[].offeringThe exact-time offering at the window's location whose pool supplies
the requirement. It must sell the window's span with optional party
counts. | string | Yes | Not specified |
|
facts.windows[].resources[].requirementThe requirement's own id, unique within the window. | string | Yes | Not specified |
|
facts.windows[].resources[].resourceThe pool member to reserve. Omitted, the runtime picks one at
publication and keeps it while the window and the policy stand. | string | No | Not specified |
|
facts.windows[].resources[].units | integer | Yes | Not specified |
|
facts.windows[].revision | integer | Yes | Not specified |
|
facts.windows[].staffingThe staffing block a window's supply is carved from, when the window is
backed by the same concrete resources an exact-time pool sells.
A pool that backs a window may not also back an exact-time offering: a
window claim occupies the window's own supply while an exact-time claim
occupies the member it books, so the two modes would double-book the same
staffing in a ledger that cannot see the conflict. That mix is refused at
publication whatever this block declares.
reserved_members records how many pool members the window's supply is
intended to use. The current ledger does not enforce that partition between
windows, so two windows backed by the same pool may not overlap, whatever
either staffing block declares. Disjoint windows may reuse the pool. | object | No | Not specified | None specified |
facts.windows[].staffing.becauseHuman-readable display text. Bidirectional embedding, override, and isolate controls, byte-order marks, line and paragraph separators, and Unicode noncharacters are refused; multilingual joiners and direction marks remain valid. | string | Yes | Not specified | None specified |
facts.windows[].staffing.poolA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
facts.windows[].staffing.reservedMembers | integer | No | Not specified |
|
facts.windows[].start | string | Yes | Not specified |
|
facts.windows[].subquotasPer-channel ceilings within units. A window that limits no channel
omits the member. | array | No | Not specified |
|
facts.windows[].subquotas[]Array itemA per-channel ceiling within a window's published capacity. | object | No | Not specified | None specified |
facts.windows[].subquotas[].becauseHuman-readable display text. Bidirectional embedding, override, and isolate controls, byte-order marks, line and paragraph separators, and Unicode noncharacters are refused; multilingual joiners and direction marks remain valid. | string | Yes | Not specified | None specified |
facts.windows[].subquotas[].channelThe authenticated channel a subquota limits. | string | Yes |
| None specified |
facts.windows[].subquotas[].idA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
facts.windows[].subquotas[].units | integer | Yes | Not specified |
|
facts.windows[].unitsPublished capacity in the unit basis the units policy defines. | integer | Yes | Not specified |
|
facts.windows[].unitsPolicyHow an offering converts a party into consumed recipient units, chosen by
its type member. | object | Yes | Not specified | None specified |
facts.windows[].unitsPolicy.aboveHighestBandWhat a party above the highest band costs, or that it is refused, chosen
by its type member. | object | Conditional | Not specified | None specified |
facts.windows[].unitsPolicy.aboveHighestBand.type | string | Conditional |
| None specified |
facts.windows[].unitsPolicy.aboveHighestBand.units | integer | Conditional | Not specified |
|
facts.windows[].unitsPolicy.bands | array | Conditional | Not specified |
|
facts.windows[].unitsPolicy.bands[]Array itemOne band of a banded units table: parties up to up_to recipients cost
units. | object | Conditional | Not specified | None specified |
facts.windows[].unitsPolicy.bands[].becauseHuman-readable display text. Bidirectional embedding, override, and isolate controls, byte-order marks, line and paragraph separators, and Unicode noncharacters are refused; multilingual joiners and direction marks remain valid. | string | Conditional | Not specified | None specified |
facts.windows[].unitsPolicy.bands[].units | integer | Conditional | Not specified |
|
facts.windows[].unitsPolicy.bands[].upTo | integer | Conditional | Not specified |
|
facts.windows[].unitsPolicy.becauseHuman-readable display text. Bidirectional embedding, override, and isolate controls, byte-order marks, line and paragraph separators, and Unicode noncharacters are refused; multilingual joiners and direction marks remain valid. | string | Yes | Not specified | None specified |
facts.windows[].unitsPolicy.inputThe closed input set a banded table may read. Tier 1 reads exactly one. | string | Conditional |
| None specified |
facts.windows[].unitsPolicy.perRecipient | integer | Conditional | Not specified |
|
facts.windows[].unitsPolicy.type | string | Yes |
| None specified |
facts.windows[].unitsPolicy.units | integer | Conditional | Not specified |
|
initialThe claims the ledger holds before the first case. A fixture that
starts from an empty ledger omits the member. | array | No | Not specified |
|
initial[]Array itemOne entry in the authoritative supply ledger.
start and end are the occupied interval including any setup and cleanup
buffers, so two claims that merely touch at their displayed times still
conflict when their buffers overlap. | object | No | Not specified | None specified |
initial[].channelThe authenticated channel the claim was allocated in, when the supply
carries channel subquotas. | string | No |
| None specified |
initial[].duplicateKeyThe duplicate-active key this claim holds, when the offering defines
one. | string | No | Not specified | None specified |
initial[].end | string | Yes | Not specified |
|
initial[].expiresAtHold expiry. An expired hold stops consuming capacity at this instant
even when the cleanup worker is delayed. | string | No | Not specified |
|
initial[].idA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
initial[].kindWhat a ledger entry allocates supply for. | string | Yes |
| None specified |
initial[].offeringThe offering whose duplicate-active policy owns this claim. | string | Yes | Not specified |
|
initial[].start | string | Yes | Not specified |
|
initial[].supplyIdThe pool member resource (exact time) or the window (arrival) this
claim occupies. | string | Yes | Not specified |
|
initial[].unitsRecipient units consumed. Exact-time claims on one member consume one. | integer | Yes | Not specified |
|
kind | string | Yes |
| None specified |
nameA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Yes | Not specified |
|
nowThe single observed instant every case runs at. | string | Yes | Not specified |
|
runtime.yaml
Source preview, pre-1.0
Generated from products/scheduling/generated/runtime/runtime.schema.json. 136 key paths. Explained in docs/site/src/content/docs/reference/scheduling-configuration.mdx.
| Key path | Type | Required | Accepted values | Constraints |
|---|---|---|---|---|
apiVersion | string | Yes |
| None specified |
auditThe audit journal: where it is written and the key its hashes use. | object | Yes | Not specified | None specified |
audit.destinationWhere audit entries go: a rotated file (the default) or stdout. | string | No |
"file" | None specified |
audit.hashKeyCustodyWho provisioned the key. Absent means operator-provisioned.
development-generated marks a key a development tool made. | string | No |
| None specified |
audit.hashKeyRefSecret reference to the audit hash key. | string | Yes | Not specified |
|
audit.pathThe active audit file. Required for, and only allowed with, file. | string | Conditional | Not specified |
|
audit.retentionDaysDelete rotated files older than this many days. Only allowed with
file; omitted, rotated files are kept 90 days. | integer | No | Not specified |
|
audit.rotateBytesRotate the active file once it reaches this many bytes. Only allowed
with file; omitted, the file rotates at 100 MiB. | integer | No | Not specified |
|
authentication | object | Yes | Not specified | None specified |
authentication.oidcThe access tokens this runtime accepts: the issuers that sign them, and
the scopes each route family requires. | object | Yes | Not specified | None specified |
authentication.oidc.appointmentReadProfilesOpt-in cross-owner operational appointment read roles. An omitted or
empty map grants no operational appointment authority. | object | No | Not specified | None specified |
authentication.oidc.appointmentReadProfiles.*Map valueOne opt-in operational role. No profile is synthesized when the map is
absent: an empty map grants no appointment read authority. | object | No | Not specified |
|
authentication.oidc.appointmentReadProfiles.*.defaultWhen true, selects this profile if omitted accessProfile matches more
than one profile for the token. | boolean | No | Not specified | None specified |
authentication.oidc.appointmentReadProfiles.*.maximumFutureDaysHow far ahead of the observed instant a query may end. | integer | Yes | Not specified |
|
authentication.oidc.appointmentReadProfiles.*.maximumPastDaysHow far behind the observed instant a query may begin. | integer | Yes | Not specified |
|
authentication.oidc.appointmentReadProfiles.*.maximumSpanDaysThe maximum duration of one request's half-open interval. | integer | Yes | Not specified |
|
authentication.oidc.appointmentReadProfiles.*.permissions | array | Yes | Not specified | None specified |
authentication.oidc.appointmentReadProfiles.*.permissions[]Array itemOne exact service/location authority within a profile. | object | No | Not specified | None specified |
authentication.oidc.appointmentReadProfiles.*.permissions[].location | string | Yes | Not specified | None specified |
authentication.oidc.appointmentReadProfiles.*.permissions[].resourcesThe resource authority at one service/location pair. Unrestricted is an
explicit operator statement, never an omitted default. | object | Yes | Not specified | None specified |
authentication.oidc.appointmentReadProfiles.*.permissions[].resources.ids | array | Conditional | Not specified |
|
authentication.oidc.appointmentReadProfiles.*.permissions[].resources.ids[]Array itemA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | Conditional | Not specified |
|
authentication.oidc.appointmentReadProfiles.*.permissions[].resources.type | string | Yes |
| None specified |
authentication.oidc.appointmentReadProfiles.*.permissions[].service | string | Yes | Not specified | None specified |
authentication.oidc.appointmentReadProfiles.*.projectionThe explicit projection allowed for one role. | object | Yes | Not specified | None specified |
authentication.oidc.appointmentReadProfiles.*.projection.externalReferenceProductsSource products whose exact references may be filtered and returned. | array | No | Not specified |
|
authentication.oidc.appointmentReadProfiles.*.projection.externalReferenceProducts[]Array itemA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | No | Not specified |
|
authentication.oidc.appointmentReadProfiles.*.projection.fields | array | Yes | Not specified |
|
authentication.oidc.appointmentReadProfiles.*.projection.fields[]Array itemFields an operational response may contain. Identity, contact, manager,
Party references and actor fields are deliberately absent from this vocabulary. | string | No |
| None specified |
authentication.oidc.appointmentReadProfiles.*.scopeThe OAuth scope that selects this role after token verification. | string | Yes | Not specified | None specified |
authentication.oidc.busyImportProfilesOpt-in source-owned busy import roles. Each selected profile binds one
stable source id and an explicit resource ceiling. | object | No | Not specified | None specified |
authentication.oidc.busyImportProfiles.*Map valueOne operator-authorized source and its current resource ceiling. | object | No | Not specified |
|
authentication.oidc.busyImportProfiles.*.default | boolean | No | Not specified | None specified |
authentication.oidc.busyImportProfiles.*.impactProjection | string | No |
"count-only" | None specified |
authentication.oidc.busyImportProfiles.*.maximumFreshnessMinutes | integer | Yes | Not specified |
|
authentication.oidc.busyImportProfiles.*.maximumFutureDays | integer | Yes | Not specified |
|
authentication.oidc.busyImportProfiles.*.maximumPastDays | integer | Yes | Not specified |
|
authentication.oidc.busyImportProfiles.*.maximumSpanDays | integer | Yes | Not specified |
|
authentication.oidc.busyImportProfiles.*.resources | array | Yes | Not specified |
|
authentication.oidc.busyImportProfiles.*.resources[]Array itemA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -. | string | No | Not specified |
|
authentication.oidc.busyImportProfiles.*.scope | string | Yes | Not specified | None specified |
authentication.oidc.busyImportProfiles.*.sourceId | string | Yes | Not specified | None specified |
authentication.oidc.explainScopeThe scope the separately authorized explain path requires. | string | No | Not specifiedSchema default, where declared: "scheduling:explain" | None specified |
authentication.oidc.issuersThe issuers a token may come from, by issuer id. | object | Yes | Not specified |
|
authentication.oidc.issuers.*Map valueOne issuer Scheduling accepts access tokens from: the shared caller-issuer
members and the assertion authorities each client may exchange from.
allowedClients is a list of at least one client. The keyword
unrestricted, which would admit every client the issuer verifies, is
read and then refused. A client belongs to one issuer. | object | No | Not specified |
|
authentication.oidc.issuers.*.accessTokenTypeThe access-token type the entry admits. Absent reads at+jwt. | string | No |
"at+jwt" | None specified |
authentication.oidc.issuers.*.actorKindThe kind every token from this issuer is treated as. Absent declares
none. | string | No |
| None specified |
authentication.oidc.issuers.*.allowInsecureHttpPermit plain HTTP beyond loopback to the configured issuer and to a
JWKS URI declared in configuration. Loopback needs no setting. The
value true is a development-only setting: the loader records it, and
production refuses it. | boolean | No | Not specifiedSchema default, where declared: false | None specified |
authentication.oidc.issuers.*.allowedClientsThe clients whose tokens the entry admits. unrestricted, which would admit every client the issuer verifies, is refused. | array | Yes | Not specified |
|
authentication.oidc.issuers.*.allowedClients[]Array item | string | No | Not specified |
|
authentication.oidc.issuers.*.assertionIssuersAssertion authorities each client may exchange a subject token from,
keyed by client identifier. Omitted, no assertion-issuer rule applies
and a token that arrived through an exchange is refused. Written, it
lists at least one client, each with at least one authority. Once a
client is listed, an assertion minted by an unrelated authority the
issuer happens to federate cannot become a booking credential here. | object | No | Not specified |
|
authentication.oidc.issuers.*.assertionIssuers.*Map value | array | No | Not specified |
|
authentication.oidc.issuers.*.assertionIssuers.*[]Array item | string | No | Not specified |
|
authentication.oidc.issuers.*.audienceThe audience every accepted access token must carry in aud. | string | Yes | Not specified |
|
authentication.oidc.issuers.*.clientActorKindsThe kind tokens from each named client are treated as. Absent declares
none. Not combined with actorKind. | object | No | Not specified |
|
authentication.oidc.issuers.*.clientActorKinds.*Map valueAn actor kind an operator declares for a caller. | string | No |
|
|
authentication.oidc.issuers.*.issuerExact issuer accepted in access-token iss claims, an absolute
https URL, or a plain http URL when allowInsecureHttp is set. | string | Yes | Not specified |
|
authentication.oidc.issuers.*.jwksSourceWhere the issuer's signing keys come from. Absent reads the issuer's
OpenID Connect discovery document. | object | No | Not specifiedSchema default, where declared: {"type":"discovery"} | None specified |
authentication.oidc.issuers.*.jwksSource.documentRefAn exact secret reference: secret:file/name, resolved under secretProviders.file.root, or secret:env/NAME, resolved only when secretProviders.environment is declared. | string | Conditional | Not specified |
|
authentication.oidc.issuers.*.jwksSource.type | string | Yes |
| None specified |
authentication.oidc.issuers.*.jwksSource.uriAn absolute http or https URL with a host preserved as written, no user information, and no backslash, whitespace or control character. DNS case and equivalent IPv6 literals are permitted. | string | Conditional | Not specified |
|
authentication.oidc.issuers.*.scopeClaimThe claim that carries scopes. Absent reads scope. | string | No | Not specifiedSchema default, where declared: "scope" |
|
authentication.oidc.readsScopeThe scope every listing and availability read requires. | string | No | Not specifiedSchema default, where declared: "scheduling:read" | None specified |
databaseThe PostgreSQL connection a stateful runtime uses. Both URLs are secret
references and may name the same secret. | object | Yes | Not specified | None specified |
database.caBundleRefSecret reference to a PEM root certificate the connection trusts.
Absent, the connection trusts the platform's root certificates. | string | No | Not specified |
|
database.migrationUrlRefSecret reference to the migration connection URL. | string | Yes | Not specified |
|
database.runtimeUrlRefSecret reference to the least-privileged runtime connection URL. | string | Yes | Not specified |
|
database.testOnlyPlaintextAllow a plaintext connection. Refused outside test builds. | boolean | No | Not specifiedSchema default, where declared: false | None specified |
database.transportHow the connection is protected. Absent means verified-tls. A
plaintext transport must match the database hosts, and cannot be
written beside testOnlyPlaintext. | string | No |
| None specified |
destinationsWhere due reminder and lifecycle-hook intents are dispatched. An absent
reminders destination and an empty hook map are supported: intents stay
local, so an operator can adopt the product before wiring delivery buses. | object | No | Not specified | None specified |
destinations.hooksLogical URL hook destinations. The governed policy names only these
ids; URL, signing secret, and retry ceilings stay deployment-owned.
At most 128 are bound, each keyed by a local identifier. | object | No | Not specifiedSchema default, where declared: {} |
|
destinations.hooks.*Map valueOne URL hook destination a runtime signs and sends hook deliveries to:
the URL, how it is reached, the HMAC-SHA256 key references, and the
delivery budget. registry-platform-hooks activates it under the
transport and private ranges it declares, with no client certificate. A
runtime whose destinations need a client certificate configures its own
full outbound policy instead. | object | No | Not specified |
|
destinations.hooks.*.allowedPrivateCidrsThe private ranges the destination's host may resolve to. Empty
admits none. | array | No | Not specified |
|
destinations.hooks.*.allowedPrivateCidrs[]Array itemA private network address and prefix length, such as 172.16.0.0/12. The address has no host bits set and lies inside 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 100.64.0.0/10 or fc00::/7. A single cloud metadata address is not a range. | string | No | Not specified |
|
destinations.hooks.*.attemptTimeoutMillisecondsHow long one delivery attempt may take, from 100 through 10000
milliseconds. | integer | No | Not specifiedSchema default, where declared: 5000 |
|
destinations.hooks.*.hmacSha256KeyRefAn exact secret reference: secret:file/name, resolved under secretProviders.file.root, or secret:env/NAME, resolved only when secretProviders.environment is declared. | string | Yes | Not specified |
|
destinations.hooks.*.maximumAttemptsHow many delivery attempts one event gets, from 1 through 20. | integer | No | Not specifiedSchema default, where declared: 8 |
|
destinations.hooks.*.previousHmacSha256KeyRefOptional previous signing key for rotation, excluded from the
destination binding digest. | string | No | Not specified |
|
destinations.hooks.*.transportHow the destination is reached. Absent, https reads verified-tls
and http to a loopback host reads loopback-plaintext.
private-network-plaintext needs allowedPrivateCidrs, and is
reported as an explicit production setting. | string | No |
| None specified |
destinations.hooks.*.urlAn https URL, or http on 127.0.0.1, localhost, or [::1], without a
query or fragment. Plain http to any other host needs
transport: private-network-plaintext. | string | Yes | Not specified |
|
destinations.remindersFallback destination for reminder delivery. | object | No | Not specified | None specified |
destinations.reminders.allowedPrivateCidrsThe private ranges allowed for the common origin. Empty admits none. | array | No | Not specifiedSchema default, where declared: [] |
|
destinations.reminders.allowedPrivateCidrs[]Array itemA private network address and prefix length, such as 172.16.0.0/12. The address has no host bits set and lies inside 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 100.64.0.0/10 or fc00::/7. A single cloud metadata address is not a range. | string | No | Not specified |
|
destinations.reminders.hmacSha256KeyRefReference to 32 to 64 exact key bytes used only for this destination. | string | Yes | Not specified |
|
destinations.reminders.previousHmacSha256KeyRefPrevious signing key during rotation. | string | No | Not specified |
|
destinations.reminders.purposesPurpose-specific destinations on the fallback URL's origin. | object | No | Not specified | None specified |
destinations.reminders.purposes.cancellationDestination for reminder delivery of one configured purpose. | object | No | Not specified | None specified |
destinations.reminders.purposes.cancellation.hmacSha256KeyRefReference to 32 to 64 exact key bytes used only for this destination. | string | Yes | Not specified |
|
destinations.reminders.purposes.cancellation.previousHmacSha256KeyRefPrevious signing key during rotation. | string | No | Not specified |
|
destinations.reminders.purposes.cancellation.urlAn absolute http or https URL with a host preserved as written, no user information, and no backslash, whitespace or control character. DNS case and equivalent IPv6 literals are permitted. | string | Yes | Not specified |
|
destinations.reminders.purposes.changeDestination for reminder delivery of one configured purpose. | object | No | Not specified | None specified |
destinations.reminders.purposes.change.hmacSha256KeyRefReference to 32 to 64 exact key bytes used only for this destination. | string | Yes | Not specified |
|
destinations.reminders.purposes.change.previousHmacSha256KeyRefPrevious signing key during rotation. | string | No | Not specified |
|
destinations.reminders.purposes.change.urlAn absolute http or https URL with a host preserved as written, no user information, and no backslash, whitespace or control character. DNS case and equivalent IPv6 literals are permitted. | string | Yes | Not specified |
|
destinations.reminders.purposes.confirmationDestination for reminder delivery of one configured purpose. | object | No | Not specified | None specified |
destinations.reminders.purposes.confirmation.hmacSha256KeyRefReference to 32 to 64 exact key bytes used only for this destination. | string | Yes | Not specified |
|
destinations.reminders.purposes.confirmation.previousHmacSha256KeyRefPrevious signing key during rotation. | string | No | Not specified |
|
destinations.reminders.purposes.confirmation.urlAn absolute http or https URL with a host preserved as written, no user information, and no backslash, whitespace or control character. DNS case and equivalent IPv6 literals are permitted. | string | Yes | Not specified |
|
destinations.reminders.purposes.reminderDestination for reminder delivery of one configured purpose. | object | No | Not specified | None specified |
destinations.reminders.purposes.reminder.hmacSha256KeyRefReference to 32 to 64 exact key bytes used only for this destination. | string | Yes | Not specified |
|
destinations.reminders.purposes.reminder.previousHmacSha256KeyRefPrevious signing key during rotation. | string | No | Not specified |
|
destinations.reminders.purposes.reminder.urlAn absolute http or https URL with a host preserved as written, no user information, and no backslash, whitespace or control character. DNS case and equivalent IPv6 literals are permitted. | string | Yes | Not specified |
|
destinations.reminders.urlA fixed absolute URL without user information, query, or fragment. | string | Yes | Not specified |
|
identityThe logical identity of the database this deployment owns. The first
schedulingctl apply records it; every later apply and every startup
refuses a database that recorded another. | object | Yes | Not specified | None specified |
identity.databaseIdAn operator-chosen logical id for the database, for example
scheduling-production. It is never derived from a URL or a
PostgreSQL database name. It is at most 256 UTF-8 bytes, carries no
control character, and has no leading or trailing whitespace. | string | Yes | Not specified |
|
kind | string | Yes |
| None specified |
listenerThe listener of a runtime that declares its TLS termination and network
exposure. | object | Yes | Not specified | None specified |
listener.bindSocket address the runtime listens on, written host:port with an IP address host ([addr]:port for IPv6). | string | Yes | Not specified |
|
listener.networkExposureThe operator-declared private network placement of an HTTP listener. | string | No |
"private-address" | None specified |
listener.tlsTerminationDeclares the trusted transport boundary for a runtime's plaintext HTTP
listener. Production listeners require operator-controlled upstream TLS
termination; direct plaintext is limited to the explicit loopback-only
development mode. | string | Yes |
| None specified |
metricsListenerThe operator-private listener that serves /metrics. Omit it to
serve no metrics. | object | No | Not specified | None specified |
metricsListener.bindSocket address the runtime listens on, written host:port with an IP address host ([addr]:port for IPv6). | string | Yes | Not specified |
|
metricsListener.networkExposureThe operator-declared private network placement of an HTTP listener. | string | No |
"private-address" | None specified |
packageThe package a runtime serves: root is the absolute package directory,
and expectedDigest, when set, pins the package digest the runtime must
find there. The package digest is the digest of the package's
SHA256SUMS file; see [crate::package]. | object | Yes | Not specified | None specified |
package.expectedDigestsha256: label of the package digest, the digest of the package's
SHA256SUMS file. When set, the runtime refuses to start on any other
package. | string | No | Not specified |
|
package.rootAbsolute path of the package directory. | string | Yes | Not specified |
|
retentionRetention periods the retention sweep enforces. Every value is deployment
configuration, never policy: a jurisdiction's retention schedule approves
the deployed numbers, and changing one is an operational event. | object | Yes | Not specified | None specified |
retention.claimOwnerRetentionDaysHow long raw ownership remains after an appointment ends or is
cancelled, or a hold expires, is released, or is consumed. | integer | No | Not specifiedSchema default, where declared: 7 |
|
retention.hookPayloadRetentionDaysLifetime of canonical hook envelopes retained for retry and
dead-letter inspection, from one through thirty days. | integer | No | Not specifiedSchema default, where declared: 7 |
|
retention.receiptRetentionDaysHow long a stored idempotency receipt stays replayable, from one
through 365 days. | integer | No | Not specifiedSchema default, where declared: 7 |
|
secretProvidersThe secret providers a runtime enables. A reference is resolved only by a
provider declared here: secret:file/name under file.root, and
secret:env/NAME only when environment: {} is present. | object | Conditional | Not specified | None specified |
secretProviders.environmentEnables secret:env/NAME references, read from the process
environment. Declared as an empty mapping: environment: {}. | object | Conditional | Not specified | None specified |
secretProviders.fileEnables secret:file/name references, read from files under root. | object | Conditional | Not specified | None specified |
secretProviders.file.rootAbsolute directory holding one file per secret. A name may be a
relative link that stays below this directory, through at most 8 links.
The file it reaches must be a regular file with one hard link, owned by
the runtime user with mode 0400 or 0600, or owned by root with no
access beyond group read (0440 or 0640) when the runtime is not root.
A process that declared development loads a file with looser read or
mode bits and logs a warning. | string | Conditional | Not specified |
and, where a rule elsewhere applies
|
taskGrantStatusHow a task grant is checked before capacity work: a list of the task
authorities whose fresh grant status every commitment and replay
checks, or unchecked-final-fifteen-minutes to accept only a grant
with at most fifteen minutes left, without a revocation check. | array | string | Yes |
| No bound or
|
taskGrantStatus[]Array itemOne task authority whose grants a runtime checks for fresh status, and the
runtime's own credentials for that check, written as one entry of
taskGrantStatus. The status route and scope default to Casework's. | object | Conditional | Not specified | None specified |
taskGrantStatus[].baseUrlThe authority's base URL the status check calls. It is https;
http is accepted only for a loopback host, for local development. | string | Conditional | Not specified |
|
taskGrantStatus[].caBundleRefPEM CA bundle for the authority and its token endpoint. Omitted, the
platform's trusted roots verify them. | string | Conditional | Not specified |
|
taskGrantStatus[].clientAssertionAudienceAn identifier another system issues, written exactly as its issuer gives it. | string | Conditional | Not specified |
|
taskGrantStatus[].clientIdAn identifier another system issues, written exactly as its issuer gives it. | string | Conditional | Not specified |
|
taskGrantStatus[].privateKeyRefAn exact secret reference: secret:file/name, resolved under secretProviders.file.root, or secret:env/NAME, resolved only when secretProviders.environment is declared. | string | Conditional | Not specified |
|
taskGrantStatus[].sourceIssuerThe task authority's issuer, exactly as the authority states it,
including an absolute URN issuer. It is compared rather than fetched
and must be an absolute resource URI. | string | Conditional | Not specified |
|
taskGrantStatus[].statusPathThe status route appended to baseUrl's path. It starts with / and
has exactly one whole {grantId} segment; every other segment uses
only letters, digits, -, ., _, and ~. Omitted,
/v1/task-grants/{grantId}/status. | string | Conditional | Not specifiedSchema default, where declared: "/v1/task-grants/{grantId}/status" | None specified |
taskGrantStatus[].statusResourceThe audience the runtime requests its status credential for, an
absolute resource URI. | string | Conditional | Not specified |
|
taskGrantStatus[].statusScopeThe one scope the runtime requests its status credential with.
Omitted, casework:grants:status. | string | Conditional | Not specifiedSchema default, where declared: "casework:grants:status" |
|
taskGrantStatus[].tokenEndpointAn absolute http or https URL with a host preserved as written, no user information, and no backslash, whitespace or control character. DNS case and equivalent IPv6 literals are permitted. | string | Conditional | Not specified |
|
Deployment posture
Section titled “Deployment posture”With neither --posture nor REGISTRY_STACK_POSTURE, the deployment uses production.
The two inputs must agree when both are present.
Use --posture development for a development runtime file.
check reports development settings as errors in production and warnings in development.
The listener’s tlsTermination: loopback-plaintext restricts its bind address to loopback in either posture.
database.transport: loopback-plaintext allows a PostgreSQL socket, a loopback IP, or localhost.
database.transport: private-network-plaintext requires development.
Under a plaintext transport, a host name such as localhost is looked up once when the runtime starts, and each connection goes to the addresses that lookup returned.
With load_balance_hosts=random, the random choice is over each checked TCP address and each Unix socket entry, not over the hosts as written.
A non-loopback HTTP issuer requires development and allowInsecureHttp: true in its entry under authentication.oidc.issuers.
A loopback HTTP issuer needs no opt-in.
Runtime file
Section titled “Runtime file”scheduling --runtime-config ABSOLUTE_FILE serve reads one versioned operator document.
schedulingctl plan, schedulingctl apply, and schedulingctl status read the same document with
--runtime-config ABSOLUTE_FILE.
The selected file path and every operated resource path are absolute, and none may pass through a
symbolic link.
Local development tooling may resolve paths before it writes the file.
The shared Registry Stack runtime configuration loader reads the file: it must be a YAML mapping of
at most 1 MiB, and unknown keys are refused with the path of the offending field.
The closed envelope is:
apiVersion: id.registrystack.org/formats/scheduling/runtime/v1alpha1kind: SchedulingRuntimeConfigThe earlier registry.registrystack.org/scheduling-runtime/v1alpha1 envelope is refused with a
diagnostic naming the current one.
So are the renamed keys audit.retainDays, retention.attemptReceiptDays,
retention.attemptReceiptRetentionDays, retention.hookPayloadDays, and caseworkResource in a
taskGrantStatus entry, each naming the key that replaced it.
String values in runtime.yaml may take a deployment value from the environment when the runtime
starts: ${VAR} requires VAR, ${VAR:-default} falls back to default, and ${VAR:?message}
refuses to start with message when VAR is unset.
Substitution never applies to a field whose name ends in Ref or Refs, or to any value beneath
one, because a secret reference must be written literally and resolved by a declared provider.
It never applies to the authored scheduling.yaml or to the records and fixture documents the
authoring tooling reads either: an environment expression there is refused with the path of the
field that holds it.
schedulingctl check PROJECT --runtime-config FILE reads a runtime file the way startup does,
against the project’s policy, with no package, database, network, or secret material, and reports
every refusal at its file, line, column, and JSON pointer.
It does not read package.root; scheduling serve verifies the package at startup.
--environment fills the file’s ${NAME} expressions from the current environment first.
schedulingctl init writes a complete runtime.example.yaml beside an authored project.
Each key on this page is also published in a JSON Schema derived from the strict runtime types, for
editor validation.
Package
Section titled “Package”package.root selects one directory.
The runtime always loads package.root/scheduling.yaml; no second project selector can override it.
In every listener mode, with or without package.expectedDigest, the directory must be a package
schedulingctl package --output wrote: a SHA256SUMS file listing exactly scheduling.yaml,
whose bytes match the listed digest.
A changed, missing, or extra file is refused by name, and so is a directory without SHA256SUMS,
such as an authored project; each refusal names schedulingctl package.
package.expectedDigest optionally pins the package the runtime must serve: sha256: followed by
64 lowercase hexadecimal digits, the packageDigest that schedulingctl package prints, which is
the SHA-256 digest of the package’s SHA256SUMS.
Any other package is a startup refusal that names the expected digest and the one found.
Database identity and activation
Section titled “Database identity and activation”identity.databaseId is required: an operator-chosen logical id for the database this deployment
owns, such as scheduling-production, non-empty, at most 256 bytes, without surrounding whitespace
or control characters.
It is never derived from a URL or a PostgreSQL database name.
The first schedulingctl apply records it in the activation ledger.
Every later apply, records apply, and startup refuses a configuration whose
identity.databaseId differs from the recorded one, naming only the key, so two deployments
pointed at one database by mistake cannot activate over each other.
The runtime serves only the package the activation ledger names.
Startup reads the ledger with the runtime credential and writes no activation state: it refuses
when no package has been applied, when the verified package at package.root is not the active
one, and when the ledger belongs to another identity.databaseId.
Each refusal names schedulingctl plan --runtime-config FILE then
schedulingctl apply --runtime-config FILE.
Listener
Section titled “Listener”listener is required.
listener.bind is required and is one numeric socket address, including bracketed IPv6 forms.
listener.tlsTermination is required.
Use operator-controlled-upstream behind an operator-managed TLS edge, or loopback-plaintext
for direct local development, which the runtime refuses on any non-loopback bind.
listener.networkExposure defaults to private-address; container-private permits an
unspecified bind only for a listener kept on a private container network.
A public unicast address is refused under every combination: Scheduling does not serve a public
interface by itself.
metricsListener is optional and absent by default.
When it is present, metricsListener.bind is required and /metrics is served on that socket only.
When it is absent, no metrics are served.
The address must be a concrete loopback or private address on a non-zero port.
metricsListener.networkExposure defaults to private-address.
container-private also permits 0.0.0.0 or ::, for a container whose private address is not known when the file is written.
Every other refusal still applies under both values.
It must not share a socket with the public listener (a wildcard on the listener’s port counts as shared).
A refused address stops startup with scheduling.runtime.invalid-metrics-listener.
Secrets
Section titled “Secrets”secretProviders explicitly enables each accepted reference form.
Declare file: {root: ABSOLUTE_DIRECTORY} before using secret:file/name.
Declare environment: {} before using secret:env/NAME.
The runtime does not fall back from one provider to another.
The maintained example uses mounted files.
A secret reference is secret:env/NAME with an uppercase environment name, or secret:file/name
with a lowercase file name, each of at most 128 bytes.
Text secrets resolve to non-empty text of at most 64 KiB without NUL bytes.
Delivery signing keys are read as exact bytes.
A secret file must meet the secret file rule,
for example a regular file owned by the runtime user, with mode 0400 or 0600 and exactly one hard
link.
Generate the audit key with openssl rand -hex 32.
Database
Section titled “Database”database.runtimeUrlRef supplies the least-privilege service connection and
database.migrationUrlRef supplies the operator-run migration connection.
schedulingctl plan and schedulingctl status connect with the runtime credential and only read;
schedulingctl apply connects with the migration credential.
A plan whose runtime role cannot read an existing activation ledger, such as one rotated in after
the last apply, is refused with schedulingctl.activation.ledger-unreadable.
The refusal names schedulingctl apply --runtime-config FILE to grant the read, then
schedulingctl plan --runtime-config FILE.
Scheduling uses verified TLS by default.
database.caBundleRef adds a private CA.
A postgres-test build also accepts database.testOnlyPlaintext: true.
Split and single role mode
Section titled “Split and single role mode”When the two credentials log in as different PostgreSQL roles (split role mode), apply grants the
runtime role USAGE on the schema, SELECT, INSERT, UPDATE, and DELETE on its tables, use of its
sequences, and EXECUTE on its functions.
The grants cover only the scheduling_* objects and the platform hook delivery tables Scheduling
installs, never another application’s objects in a shared schema.
apply then revokes INSERT, UPDATE, DELETE, and TRUNCATE on the activation ledger and the schema
history.
It never grants or revokes TRIGGER.
Before any migration it refuses a default privilege of the migration role that would grant the
runtime role TRIGGER on the tables it creates, naming
ALTER DEFAULT PRIVILEGES FOR ROLE <migrator> IN SCHEMA <schema> REVOKE TRIGGER ON TABLES FROM <grantee>
and then a rerun.
The runtime role can read the ledger but not write it, and it keeps ordinary write access to the
product tables it serves from.
When both credentials are the same role (single role mode), plan, apply, and status say so,
because that role can write the ledger and the separation does not hold.
The ledger records the runtime role and the mode it holds after the grants, read from its
privileges.
A runtime role that can write the ledger through a grant, ownership, membership in the migration
role, or a superuser or BYPASSRLS attribute is recorded as single even when the two credentials
are different roles.
Rerunning apply with the active package reissues the grants after the runtime role is rotated or
the deployment moves to split mode.
scheduling serve refuses a ledger that recorded split for a credential that can now write it.
A runtime role can also write the ledger indirectly in these cases:
- It owns, or is a member of an owner of, the Scheduling schema or any
scheduling_*table, sequence, view, or routine. - It holds TRIGGER on a
scheduling_*table or view. - It holds CREATE on the schema.
- A trigger is already attached to a
scheduling_*table, because no Scheduling migration creates one.
With two roles, plan, apply, and serve refuse each of them.
For ownership, the refusal names an exact ALTER ... OWNER TO <migrator> for each affected
Scheduling schema object, followed by schedulingctl apply --runtime-config FILE, which reissues
the grants the moved objects lost; serve refuses until it has.
After REVOKE TRIGGER ON <table> FROM <grantee>, REVOKE CREATE ON SCHEMA <schema> FROM <grantee>
(the grantee being the runtime role, PUBLIC, or a role it is a member of), or
DROP TRIGGER <name> ON <schema>.<table>, the refusal names a rerun of the refused command, or
schedulingctl plan --runtime-config FILE to confirm.
Authentication
Section titled “Authentication”Each entry under authentication.oidc.issuers requires issuer and audience.
jwksSource defaults to type: discovery.
type: uri with uri fetches the key set from a fixed HTTPS address instead of the one discovery
names; plain http is accepted only for a loopback host under development loopback.
type: static with documentRef reads a pinned key set, which does no rotation of its own:
rolling a key means replacing the referenced document and restarting Scheduling.
The removed jwksUri key is refused with a diagnostic naming jwksSource type: uri as its
replacement.
scopeClaim defaults to scope, the claim stock ThunderID emits.
readsScope defaults to scheduling:read and explainScope to scheduling:explain.
The two must differ, because the explain path can name member-level causes the public availability
read never discloses.
A read or explain request whose token lacks the required scope is refused with
profile.not-authorized.
A rate-limited info diagnostic names the fixed scope stage and the
authentication.oidc.issuers.ISSUER_ID.scopeClaim, readsScope, and explainScope remediation keys, without claim
or scope values.
allowedClients lists the exact client ids the runtime admits, and every file writes it,
development loopback included: a list of at least one distinct client.
An omitted member, an empty list, and a repeated client are refused when the file is read
(config.missing-key, config.invalid-value, config.duplicate-item).
unrestricted would admit every client the issuer verifies, including an application in the same
realm that has nothing to do with booking.
It is a startup refusal in every mode (scheduling.runtime.allowed-clients-required), because a
development file is copied toward production.
assertionIssuers maps a client id to the assertion authorities that client may exchange a subject
token from.
A deployment that performs no token exchange leaves it empty, and an exchanged token whose
authority no entry declares is refused.
A listed client names at least one authority: an empty list is refused, and a client that is not
listed may exchange from no authority.
Once a client is listed, a token it exchanged is accepted only for one of that client’s declared
authorities, so an assertion minted by an unrelated authority the issuer happens to federate cannot
become a booking credential here.
Scopes authorise reads only. Every commitment takes its authority from a task grant, described in Registry Scheduling task grants. Request an access token covers the per-resource access-token profile: algorithms, token type, audience, scope and actor separation, issuer network policy, lifetime, and safe diagnostics.
Operational appointment read profiles
Section titled “Operational appointment read profiles”authentication.oidc.appointmentReadProfiles is an optional map of separately authorised
operational roles.
An absent or empty map grants no cross-owner appointment access.
Each role selects one distinct OAuth scope and explicit service and location permissions.
Resource access is either type: exact with named ids, or explicitly type: unrestricted.
Selecting a profile in a query does not grant its scope, and scopes from multiple profiles are not
combined.
This entry inside appointmentReadProfiles permits one bounded room work list:
desk: scope: scheduling:appointments:desk maximumPastDays: 7 maximumFutureDays: 30 maximumSpanDays: 7 permissions: - service: room-reservation location: community-hall resources: type: exact ids: [room-a, room-b] projection: fields: [occupied-interval, resource, units, party-counts]The response always includes appointment identity, revision, service, location, offering, state,
and displayed interval.
Optional fields require an explicit projection.
party-counts returns persisted counts only when known; it never derives a headcount from
capacity units.
attendance returns only the permitted current observation and never the correction history.
externalReferenceProducts separately permits filtering and returning references from listed
source products.
No profile exposes owner, actor, manager identity, names, contacts, or party references.
Restrict both projection and export storage to the operational need.
GET /v1/operational/appointments requires service, location, start, end, and timeBasis
(displayed or occupied).
profile selects exactly one authorised role.
Optional offering, state, resource, and exact external-reference filters only narrow it.
A continuation preserves the verified caller, role, and query; it cannot widen scope.
Each request spans at most 62 days, and the selected profile may impose tighter past, future, and
span limits.
Pages are current observations, not an atomic historical snapshot.
Each booking keeps the service and location labels of the policy revision that recorded it; a later policy never relabels it.
Calendar busy source profiles
Section titled “Calendar busy source profiles”authentication.oidc.busyImportProfiles is an optional map of calendar or workforce systems that
contribute resource availability facts.
An absent map keeps the booking behaviour unchanged.
Each profile binds one unique sourceId to a write scope and an explicit resource set.
Busy profiles may share a write scope, but every request must select exactly one profile, and a
busy write scope cannot reuse the read, explain, or operational appointment scope.
A caller holding a shared write scope can select any profile bound to it, and so rewrite the busy
facts of every resource those profiles cover.
Give each profile its own scope when you need per-source isolation.
staff-calendar: scope: scheduling:busy:write sourceId: staff-calendar resources: [staff-a, staff-b] maximumPastDays: 7 maximumFutureDays: 62 maximumSpanDays: 31 maximumFreshnessMinutes: 240 impactProjection: count-onlyPOST /v1/source-busy/preview?profile=staff-calendar compares a bounded source snapshot without
changing it.
POST /v1/source-busy/apply?profile=staff-calendar uses the same body and an exact source
revision.
An exact retry after a lost success response returns already-applied with the request digest; a
different request at a stale revision is refused as HTTP 412 revision.mismatch.
Preview and resolve the revision rather than automatically retrying a changed body.
Every request states its covered resources and interval, observedAt, and either a bounded
freshUntil or status: unavailable.
Fresh omission deletes only that source’s contained rows.
An unavailable or expired feed, missing coverage, and the uncovered part of a future query all
block new allocations for configured resources.
Existing holds and appointments remain unchanged.
Rows outside the selected coverage or the profile’s current authority remain effective and are
reported as retained.
Responses always include the exact number of impacted commitments and whether details were
truncated.
The default count-only projection returns no impact items.
commitment-intervals permits resource, kind, and occupied interval items, up to the response
bound.
Neither projection returns appointment or hold identifiers, parties, external references, source
references, calendar descriptions, attendees, or absence reasons.
Task grant status
Section titled “Task grant status”taskGrantStatus is a required top-level member that decides how Scheduling learns whether a task
grant is still current.
It takes one of two forms, and every runtime file states which.
A file that omits it is refused at startup with scheduling.runtime.missing-task-grant-status, and
an empty list is refused naming both choices.
The keyword unchecked-final-fifteen-minutes selects the offline path.
No task authority is asked and no revocation is observed: Scheduling accepts a grant only while it
is unexpired with at most 900 seconds remaining at request entry, and refuses any grant with more
time left as operation.not-authorized.
taskGrantStatus: unchecked-final-fifteen-minutesA list of Casework task authorities makes a fresh status answer mandatory. Write it for every deployment that accepts deferred grants:
taskGrantStatus: - sourceIssuer: https://casework.example.test/task-authority baseUrl: https://casework.example.test tokenEndpoint: https://identity.example.test/realms/registry/protocol/openid-connect/token clientAssertionAudience: https://identity.example.test/realms/registry clientId: scheduling-task-status privateKeyRef: secret:file/scheduling-task-status-private-jwk statusResource: urn:example:casework caBundleRef: secret:file/institution-root-caOffline runtime checks require one to 32 entries with distinct absolute sourceIssuer
identifiers, safe service and token URLs, a non-empty client and assertion audience, an absolute
status resource, one status scope token, and a status path with one {grantId} segment.
They validate secret reference structure without resolving the private key or CA bundle or
contacting an endpoint.
Activation repeats the structural check and verifies key and CA contents.
Duplicate source issuers or invalid endpoints, credentials, or secret references refuse startup.
sourceIssuer must exactly equal the source issuer in the signed task grant.
baseUrl selects that authority’s HTTPS API.
tokenEndpoint, clientAssertionAudience, clientId, and privateKeyRef configure the
private-key JWT client credential used to obtain a token for statusResource with the
statusScope scope.
The private key is a JWK whose kid selects its registered public key.
caBundleRef is optional and applies a private CA bundle to both outbound HTTPS connections.
statusScope and statusPath are optional.
Omitted, Scheduling requests the casework:grants:status scope and calls Casework’s
/v1/task-grants/{grantId}/status route under baseUrl.
Set them only for a task authority that answers under another scope or route: statusScope is one
scope token, and statusPath starts with / and holds exactly one whole {grantId} segment.
Registry Scheduling task grants describes what each form does to a commitment, including the refusals, the ten-second limit, and the race a positive answer leaves open.
audit.hashKeyRef supplies the key that pseudonymises principals and grants in audit entries and
in hold and appointment history.
It decides no ownership: a claim is owned by the verified issuer and subject that made it, stored
on the claim, so rotating the key leaves every existing claim with its owner, its listing, and its
read, reschedule, cancel, and hold release.
audit.destination is file, the default, or stdout.
A file destination requires audit.path, the absolute active audit file, which one process
writes at a time.
The file rotates at audit.rotateBytes (default 100 MiB, at least 1 MiB, at most 4294967295), and
rotated files are removed after audit.retentionDays (default 90, at most 36500).
stdout takes none of the three and leaves collection and retention to the platform that reads
the stream.
The runtime writes its operational logs to standard error whatever the destination is, so a
stdout stream carries audit entries alone.
RUST_LOG selects their verbosity and defaults to info when it is unset or invalid.
schedulingctl records apply writes beside the runtime, to <stem>.schedulingctl.<ext> next to
audit.path, so the two processes never share a file, or to standard error with a stdout
destination, so its own report keeps standard output.
Every entry carries the schema registry-scheduling-audit/v1, a request or response phase, and
a correlation shared by one decision’s entries.
A commitment’s request entry is accepted before its capacity transaction opens, and its
response entry after the transaction commits or rolls back.
A permission refused before the transaction is one response entry.
Audit fails closed.
A refused request entry opens no transaction.
A refused response entry for a committed change answers service.unavailable with the change
committed.
A refusal reaches the caller only once its response entry is accepted, and answers
service.unavailable otherwise.
That covers a refusal the ledger decided (an admission refusal, the hold ceiling, a lapsed grant,
a stale observed revision, or a cancellation past its cutoff) and one the permission check made
before the transaction opened.
A commitment nothing decided still answers its request entry.
A transaction rolled back on a failure, records replaced under it, or a reused or expired
idempotency key writes a response with the outcome unfinished and the reason
commitment.failed, commitment.facts-stale, idempotency.key-reused, or idempotency.expired.
A commitment that returns or is cancelled before answering writes commitment.unfinished.
A capacity commit that is not acknowledged is read back by its transaction identifier on a separate connection that changes nothing:
- A commit that took effect is answered and recorded as committed.
- A commit that rolled back writes
commitment.failed. - A commit whose status cannot be read writes
commitment.unfinishedand answersservice.unavailable, because it may have taken effect. A retry under the same idempotency key then replays whatever committed.
/ready reports unavailable while the destination refuses writes.
An expired hold writes its history entry as system and no audit entry.
Destinations
Section titled “Destinations”destinations is optional.
Reminder destination
Section titled “Reminder destination”Scheduling POSTs due reminder intents as canonical JSON with Standard Webhooks signatures
(see Send reminders and appointment events).
The fallback url and every destination in purposes require an hmacSha256KeyRef that
resolves to 32 to 64 exact key bytes. An optional previousHmacSha256KeyRef adds a second
signature after the current key’s signature during rotation. Omit the previous reference when
there is no previous key. Every current and previous key must be distinct across reminder and
hook destinations. See Signed hook deliveries for the key generation
command, the trailing-newline warning, and the rotation procedure.
The optional purposes block accepts confirmation, change, cancellation, and reminder.
Every entry requires its own url with the fallback’s scheme, host, and effective port.
Omitted purposes use the fallback URL and key. Configure each receiver with the key for the URL
it serves.
destinations: reminders: url: https://events.example.org/scheduling hmacSha256KeyRef: secret:file/reminder-signing-key purposes: confirmation: url: https://events.example.org/scheduling/confirmed hmacSha256KeyRef: secret:file/confirmation-signing-keyWrite each URL as an absolute endpoint with its final slash-separated path. Omit user information, queries, fragments, percent escapes, and dot segments. Scheduling checks the written paths before loading any reminder signing key.
The fallback and every purpose share the same origin and transport policy.
Scheduling selects verified TLS for HTTPS and permits plaintext HTTP on loopback.
Use verified HTTPS to reach a receiver beyond loopback.
For a verified HTTPS receiver on a private network, list its address ranges in
destinations.reminders.allowedPrivateCidrs.
Delivery runs on the shared dispatch core, with a five-second attempt timeout and a fixed back-off of thirty seconds doubling to 1920 seconds. A transport failure schedules a retry. An authorisation or routing refusal sets the intent aside as failed for the operator. The eighth failed attempt sets it aside. An event the destination accepted but whose outcome the runtime could not record is retried on the same schedule, so a receiver can see it more than once and deduplicates by the envelope’s stable identifier.
A cancellation or a reschedule cancels the superseded reminder in its own transaction when no attempt has started on it. A reminder a dispatcher already holds is set aside without a send by a liveness read under its lease. An absent reminders destination is a supported deployment: the intents stay readable in the outbox and are set aside as local, never pretended delivered.
Hook destinations
Section titled “Hook destinations”destinations.hooks binds the logical destination ids named by policy hooks to deployment-owned
URLs and HMAC-SHA256 keys.
It holds at most 128 bindings, and each id is a lowercase ASCII letter followed by up to 63
lowercase letters, digits, -, or _.
Each entry requires url and hmacSha256KeyRef.
attemptTimeoutMilliseconds defaults to 5000 and is bounded from 100 through 10000, while
maximumAttempts defaults to 8 and is bounded from 1 through 20.
Use a fixed URL path without a query or fragment.
Scheduling infers verified-tls from HTTPS and loopback-plaintext from HTTP to an explicit loopback host.
HTTPS to a loopback address or the exact name localhost is also supported.
Scheduling reaches localhost only when every resolved address is loopback.
A name under localhost, the absolute name localhost. or port zero is refused with
config.invalid-value at the destination’s url, for example
/destinations/hooks/appointment-events/url.
To reach a private HTTP observer in either posture, explicitly set transport to
private-network-plaintext and list the receiver’s permitted networks in allowedPrivateCidrs.
Each range must be a canonical CIDR inside RFC 1918, RFC 6598 or fc00::/7.
Every resolved address must be eligible and within the configured ranges.
The production check and startup report the explicit transport choice without logging the addresses.
Configure transport and ranges on each destination. Use verified HTTPS for confidentiality
and receiver authentication. See the observer trust requirements.
Startup names the same code and pointer as schedulingctl check for a refused hook destination
url, transport or private range.
The key size, rotation field, and distinct-key requirement are the same as for the
reminder destination.
Every destination the current policy names must be configured. Explicit extra bindings are allowed so retained events captured under an earlier policy can finish with their exact original binding. Startup refuses if a retained event’s binding is no longer available.
Retention
Section titled “Retention”retention.receiptRetentionDays covers idempotency attempt receipts and terminal dispatch
metadata, from 1 through 365 days.
Listing cursors keep their fixed fifteen-minute lifetime.
retention.hookPayloadRetentionDays sets the canonical observer payload’s retry and dead-letter
lifetime, from 1 through 30 days.
retention.claimOwnerRetentionDays bounds the raw owner issuer and subject, from 1 through 365
days, after an appointment ends or is cancelled, or a hold expires, is released, or is consumed.
The earlier applicable instant starts the window.
All three values default to seven days, a placeholder that is not a jurisdictional recommendation.
The claim owner sweep clears both owner columns together and retains a per-claim SHA-256 reference and erasure time. The reference grants no authority: the claim is no longer readable, listable, or actionable by its former owner, and a receipt containing that claim cannot be observed or replayed even if the independent receipt window remains open. Live claims keep their owner across audit-key rotation. Claim and history rows remain; their retention is not yet bounded.
Each retention tick prunes up to 256 settled outbox intents of any purpose (confirmation, change, cancellation, reminder) at or before the receipt-period cutoff:
- A delivered intent by its delivery time.
- A reminder cancelled before any attempt by its cancellation time.
- A reminder set aside as superseded by its dead-letter time.
It also prunes up to 256 terminal observer deliveries whose last transition is at or before that
cutoff.
Observer dead letters and expired deliveries also require completed payload expiry and erasure
before their metadata ages out.
Dead-letter metadata ages from the original dead_lettered_at timestamp, and later payload expiry
does not restart that window, so an old dead letter can disappear as soon as expiry completes.
Pending, leased, retryable, and uncertain work remains, including local and failed outbox intents.
Hook state is removed before delivery metadata, and a shared event remains until its last delivery
is removed.
These deletions share one transaction and never erase audit entries or spent-key tombstones.
audit.retentionDays bounds rotated audit files.
An idempotency receipt past its period is erased, so an exact retry after expiry answers
idempotency.expired with HTTP 410 instead of replaying the first answer.
The same sweep clears the attempt’s raw token issuer, subject, and key.
The row stays, identified only by a SHA-256 digest of those three and the command, and is never
deleted.
The key therefore stays spent for that caller: a changed retry is still refused with
idempotency.key-reused, and another caller’s identical key is fresh.
Check commands
Section titled “Check commands”Every file Registry Scheduling reads has a command that checks it offline, with no service running. Each prints the diagnostics, JSON output, and exit codes that Check a file before you deploy it describes.
| Format and files | Check command |
|---|---|
Scheduling project
| schedulingctl check <project> |
Scheduling supply records
| schedulingctl check <project> |
Scheduling fixture
| schedulingctl check <project> |
Scheduling runtime configuration
| schedulingctl check <project> --runtime-config <file> |
- Deploy and operate Registry Scheduling for the runtime file in command order.
- Registry Scheduling API contract for routes, task grants, and problem codes.
- Audit upgrades and retention for the audit and retention keys.
Cookies on Registry Stack
We use optional cookies to understand how you use the main Registry Stack website and this documentation. If you contact us, we may link this activity to your enquiry. You can change your choice at any time. Read the privacy policy.
Your browser asks sites not to track you, so optional tracking stays off.
We could not use or save that choice. Optional tracking remains off.