Skip to content
Registry StackDocsv0.49.0

Registry Scheduling configuration reference

View as Markdown

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.

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.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 pathTypeRequiredAccepted valuesConstraints
apiVersionstringYes
  • id.registrystack.org/formats/scheduling/project/v1alpha1
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.arrayYesNot specified
  • minItems: 1
  • uniqueItems: true
channels[]Array itemThe authenticated channel a subquota limits.stringNo
  • assisted
  • public
  • urgent
  • walk-in
None specified
holdPolicyThe hold policy every offering inherits.objectYesNot specifiedNone 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.stringYesNot specifiedNone specified
holdPolicy.maximumPerCallerThe most live holds one caller may keep at once.integerYesNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 1
holdPolicy.ttlMinutesHow long a hold keeps its capacity under an explicitly authored policy.integerYesNot specified
  • format: uint32
  • maximum: 10080
  • minimum: 1
holidaySetsobjectYesNot specified
  • maxProperties: 256
  • minProperties: 1
holidaySets.*Map valueA named, revisioned set of holiday dates.objectNoNot specified
  • propertyNames.pattern: ^[a-z][a-z0-9_-]{0,63}$
holidaySets.*.datesThe dates the set closes. A set that closes no date omits the member.arrayNoNot specified
  • maxItems: 256
  • minItems: 1
  • uniqueItems: true
holidaySets.*.dates[]Array itemstringNoNot specifiedNone specified
holidaySets.*.labelAn optional human label for the set; the id names it when absent.stringNoNot specifiedNone specified
holidaySets.*.revisionintegerYesNot specified
  • format: uint64
  • maximum: 9223372036854775807
  • minimum: 1
hooksObserver hooks, keyed by hook id (CFG-ID-5) and held sorted by id. A project with none omits the member.objectNoNot specified
  • maxProperties: 256
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.objectNoNot specified
  • propertyNames.pattern: ^[a-z][a-z0-9_-]{0,63}$
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.objectYesNot specifiedNone specified
hooks.*.handler.destinationIdA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
hooks.*.handler.typestringYes
  • url
None specified
hooks.*.phaseWhen an observer hook runs. Scheduling runs every hook after the appointment transaction commits, never inside its capacity transaction.stringYes
  • after
None specified
hooks.*.projectionThe fields of the trigger's closed projection the observer receives. A hook that needs none lists none.arrayYesNot specified
  • uniqueItems: true
hooks.*.projection[]Array itemstringNoNot specifiedNone specified
hooks.*.triggerThe appointment event an observer hook follows.stringYes
  • appointment.attendance-observed
  • appointment.cancelled
  • appointment.confirmed
  • appointment.rescheduled
None specified
kindstringYes
  • SchedulingProject
None specified
offeringsobjectYesNot specified
  • maxProperties: 256
  • minProperties: 1
offerings.*Map valueOne bookable thing a deployment offers.objectNoNot specified
  • propertyNames.pattern: ^[a-z][a-z0-9_-]{0,63}$
offerings.*.arrivalPresent exactly when mode is arrival-window.objectNoNot specifiedNone specified
offerings.*.arrival.horizonDaysHow far ahead of the window's start booking is open.integerYesNot specified
  • format: uint32
  • maximum: 3650
  • minimum: 1
offerings.*.arrival.leadTimeMinutesThe earliest lead time a caller may book the window at.integerYesNot specified
  • format: uint32
  • maximum: 5256000
  • minimum: 1
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.stringNoNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
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.stringYesNot specifiedNone specified
offerings.*.cancellationCutoffMinutesHow late before the displayed start a booking may still be cancelled.integerYesNot specified
  • format: uint32
  • maximum: 5256000
  • minimum: 0
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.stringNoNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
offerings.*.exactTimePresent exactly when mode is exact-time.objectNoNot specifiedNone specified
offerings.*.exactTime.allowResourceSelectionWhether a request may constrain allocation to one exact pool member. Omitted or false, every exact-time request uses fungible selection.booleanNoNot specifiedNone specified
offerings.*.exactTime.bufferAfterMinutesCleanup time occupied after the displayed end.integerYesNot specified
  • format: uint32
  • maximum: 1440
  • minimum: 0
offerings.*.exactTime.bufferBeforeMinutesSetup time occupied before the displayed start.integerYesNot specified
  • format: uint32
  • maximum: 1440
  • minimum: 0
offerings.*.exactTime.durationMinutesintegerYesNot specified
  • format: uint32
  • maximum: 10080
  • minimum: 1
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.objectNoNot specifiedNone specified
offerings.*.exactTime.durationSelection.incrementMinutesintegerYesNot specified
  • format: uint32
  • maximum: 10080
  • minimum: 1
offerings.*.exactTime.durationSelection.maximumMinutesintegerYesNot specified
  • format: uint32
  • maximum: 10080
  • minimum: 1
offerings.*.exactTime.durationSelection.minimumMinutesintegerYesNot specified
  • format: uint32
  • maximum: 10080
  • minimum: 1
offerings.*.exactTime.horizonDaysHow far ahead booking is open.integerYesNot specified
  • format: uint32
  • maximum: 3650
  • minimum: 1
offerings.*.exactTime.leadTimeMinutesThe earliest lead time a caller may book at.integerYesNot specified
  • format: uint32
  • maximum: 5256000
  • minimum: 1
offerings.*.exactTime.maximumRecipientsThe largest party the offering serves.integerYesNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 1
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.stringNo
  • occupied-interval
  • service-interval
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.stringNo
  • optional
  • required
None specified
offerings.*.exactTime.poolThe pool of interchangeable members backing this offering. A pool is its members, never an independent counter.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
offerings.*.exactTime.startIncrementMinutesThe grid displayed starts must land on.integerYesNot specified
  • format: uint32
  • maximum: 1440
  • minimum: 1
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.stringYesNot specifiedNone specified
offerings.*.locationA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
offerings.*.modeHow an offering delivers its service.stringYes
  • arrival-window
  • exact-time
None specified
offerings.*.prerequisitesPrerequisite references a requesting party must hold. An offering with no prerequisite omits the member.arrayNoNot specified
  • maxItems: 256
  • minItems: 1
  • uniqueItems: true
offerings.*.prerequisites[]Array itemstringNoNot specifiedNone 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.arrayNoNot specified
  • maxItems: 256
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.objectNoNot specifiedNone 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.stringYesNot specifiedNone specified
offerings.*.reminders[].offsetMinutesintegerYesNot specified
  • format: uint32
  • maximum: 5256000
  • minimum: 1
offerings.*.requiresCapabilitiesCapabilities every backing member must have for this offering. An offering that requires none omits the member.arrayNoNot specified
  • maxItems: 256
  • minItems: 1
  • uniqueItems: true
offerings.*.requiresCapabilities[]Array itemA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringNoNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
offerings.*.serviceA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
openingsobjectYesNot specified
  • maxProperties: 256
  • minProperties: 1
openings.*Map valueA bounded weekly opening pattern over local wall-clock time. The timezone comes from the location record the pattern references.objectNoNot specified
  • propertyNames.pattern: ^[a-z][a-z0-9_-]{0,63}$
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.stringYesNot specifiedNone specified
openings.*.effectiveFromstringYesNot specifiedNone specified
openings.*.effectiveUntilstringYesNot specifiedNone specified
openings.*.endTimestringYesNot specifiedNone specified
openings.*.holidaySetA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
openings.*.locationA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
openings.*.startTimestringYesNot specifiedNone specified
openings.*.weekdaysarrayYesNot specified
  • minItems: 1
  • uniqueItems: true
openings.*.weekdays[]Array itemOne weekday of an opening pattern.stringNo
  • fri
  • mon
  • sat
  • sun
  • thu
  • tue
  • wed
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.objectYesNot specifiedNone specified
project.descriptionAn optional explanation of the project for readers.stringNoNot specifiedNone specified
project.idThe project identifier.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
project.labelAn optional human label for the project.stringNoNot specifiedNone specified
project.versionThe project version.stringYesNot specifiedNone specified
servicesobjectYesNot specified
  • maxProperties: 256
  • minProperties: 1
services.*Map valueA service a deployment schedules.objectNoNot specified
  • propertyNames.pattern: ^[a-z][a-z0-9_-]{0,63}$
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.stringYesNot specifiedNone 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 pathTypeRequiredAccepted valuesConstraints
apiVersionstringYes
  • id.registrystack.org/formats/scheduling/records/v1alpha1
None specified
exceptionsarrayNoNot specified
  • maxItems: 256
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.objectNoNot specifiedNone specified
exceptions[].authoritystringNoNot specifiedNone specified
exceptions[].dateThe local date, YYYY-MM-DD.stringYesNot specifiedNone specified
exceptions[].endTimeThe local end time, HH:MM.stringYesNot specifiedNone specified
exceptions[].idA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
exceptions[].kindThe layer an exception occupies, mirrored for records.stringYes
  • closure
  • opening
None specified
exceptions[].locationThe location this exception applies to.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
exceptions[].reopensstringNoNot specifiedNone specified
exceptions[].startTimeThe local start time, HH:MM.stringYesNot specifiedNone specified
kindstringYes
  • SchedulingRecords
None specified
locationsarrayNoNot specified
  • maxItems: 256
locations[]Array itemA location record: the layer of configuration an operator maintains at runtime, not inside the authored policy.objectNoNot specifiedNone specified
locations[].idA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
locations[].timezoneA named IANA timezone such as Asia/Bangkok.stringYesNot specifiedNone specified
poolsarrayNoNot specified
  • maxItems: 256
pools[]Array itemA pool of interchangeable resources backing exact-time offerings. A pool is its concrete members, never an independent counter.objectNoNot specifiedNone specified
pools[].idA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
pools[].membersarrayYesNot specified
  • maxItems: 256
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.objectNoNot specifiedNone 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.objectNoNot specifiedNone specified
pools[].members[].availability.closuresarrayNoNot specified
  • maxItems: 256
pools[].members[].availability.closures[]Array itemOne concrete opening or closure. It carries no personnel information.objectNoNot specifiedNone specified
pools[].members[].availability.closures[].endstringYesNot specified
  • format: date-time
pools[].members[].availability.closures[].startstringYesNot specified
  • format: date-time
pools[].members[].availability.openingsarrayNoNot specified
  • maxItems: 256
pools[].members[].availability.openings[]Array itemOne concrete opening or closure. It carries no personnel information.objectNoNot specifiedNone specified
pools[].members[].availability.openings[].endstringYesNot specified
  • format: date-time
pools[].members[].availability.openings[].startstringYesNot specified
  • format: date-time
pools[].members[].availablebooleanYesNot specifiedNone specified
pools[].members[].capabilitiesThe capabilities this member carries. Omitted or [], it carries none and serves only offerings that require none.arrayNoNot specified
  • maxItems: 256
  • uniqueItems: true
pools[].members[].capabilities[]Array itemA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringNoNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
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.integerNoNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 0
pools[].members[].resourceIdA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
windowsarrayNoNot specified
  • maxItems: 256
windows[]Array itemA published arrival window with its capacity.objectNoNot specifiedNone 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.stringYesNot specifiedNone specified
windows[].endstringYesNot specified
  • format: date-time
windows[].idA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
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.stringNo
  • becomes-walk-in
  • expires-unused
None specified
windows[].locationA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
windows[].offeringA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
windows[].resourcesPhysical requirements reserved once for the window's span. A window that reserves nothing omits the member.arrayNoNot specified
  • maxItems: 16
  • minItems: 1
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.objectNoNot specifiedNone 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.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
windows[].resources[].requirementThe requirement's own id, unique within the window.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
windows[].resources[].resourceThe pool member to reserve. Omitted, the runtime picks one at publication and keeps it while the window and the policy stand.stringNoNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
windows[].resources[].unitsintegerYesNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 1
windows[].revisionintegerYesNot specified
  • format: uint64
  • maximum: 9223372036854775807
  • minimum: 1
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.objectNoNot specifiedNone 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.stringYesNot specifiedNone specified
windows[].staffing.poolA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
windows[].staffing.reservedMembersintegerNoNot specified
  • format: uint32
  • maximum: 256
  • minimum: 1
windows[].startstringYesNot specified
  • format: date-time
windows[].subquotasPer-channel ceilings within units. A window that limits no channel omits the member.arrayNoNot specified
  • maxItems: 4
  • minItems: 1
windows[].subquotas[]Array itemA per-channel ceiling within a window's published capacity.objectNoNot specifiedNone 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.stringYesNot specifiedNone specified
windows[].subquotas[].channelThe authenticated channel a subquota limits.stringYes
  • assisted
  • public
  • urgent
  • walk-in
None specified
windows[].subquotas[].idA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
windows[].subquotas[].unitsintegerYesNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 1
windows[].unitsPublished capacity in the unit basis the units policy defines.integerYesNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 1
windows[].unitsPolicyHow an offering converts a party into consumed recipient units, chosen by its type member.objectYesNot specifiedNone specified
windows[].unitsPolicy.aboveHighestBandWhat a party above the highest band costs, or that it is refused, chosen by its type member.objectConditionalNot specifiedNone specified
windows[].unitsPolicy.aboveHighestBand.typestringConditional
  • refuse
  • units
None specified
windows[].unitsPolicy.aboveHighestBand.unitsintegerConditionalNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 1
windows[].unitsPolicy.bandsarrayConditionalNot specified
  • minItems: 1
windows[].unitsPolicy.bands[]Array itemOne band of a banded units table: parties up to up_to recipients cost units.objectConditionalNot specifiedNone 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.stringConditionalNot specifiedNone specified
windows[].unitsPolicy.bands[].unitsintegerConditionalNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 1
windows[].unitsPolicy.bands[].upTointegerConditionalNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 1
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.stringYesNot specifiedNone specified
windows[].unitsPolicy.inputThe closed input set a banded table may read. Tier 1 reads exactly one.stringConditional
  • service-recipient-count
None specified
windows[].unitsPolicy.perRecipientintegerConditionalNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 1
windows[].unitsPolicy.typestringYes
  • banded-table
  • fixed
  • per-recipient
None specified
windows[].unitsPolicy.unitsintegerConditionalNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 1

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 pathTypeRequiredAccepted valuesConstraints
apiVersionstringYes
  • id.registrystack.org/formats/scheduling/fixture/v1alpha1
None specified
casesarrayYesNot specified
  • maxItems: 256
  • minItems: 1
cases[]Array itemOne replayed request and its expectation.objectNoNot specifiedNone specified
cases[].expectOne case's expected outcome, chosen by its type member.objectYesNot specifiedNone specified
cases[].expect.codeA public problem code, exactly as a caller would receive it.stringConditional
  • access-profile.ambiguous
  • authentication.refused
  • booking.duplicate-active
  • cancellation.cutoff-passed
  • capability.unmatched
  • capacity.exhausted
  • cursor.expired
  • cursor.invalid
  • eligibility.unavailable
  • grant.lifetime-too-long
  • hold.expired
  • hold.released
  • hook.unavailable
  • horizon.outside
  • idempotency.expired
  • idempotency.key-reused
  • location.closed
  • operation.not-authorized
  • party.capacity-inadequate
  • platform.task-grant.development-assertion
  • policy.changed
  • precondition.failed
  • precondition.required
  • prerequisite.missing
  • profile.not-authorized
  • receipt.unresolved
  • request.body-too-large
  • request.invalid
  • request.method-not-allowed
  • request.not-found
  • request.unprocessable
  • request.unsupported-media-type
  • revision.mismatch
  • schedule.unpublished
  • service.unavailable
None specified
cases[].expect.resourceThe pool member an exact-time case lands on. Omit it to accept any member.stringConditionalNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
cases[].expect.typestringYes
  • admitted
  • refused
None specified
cases[].expect.unitsintegerConditionalNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 1
cases[].nameThe case name, which also identifies the claim an admitted case records.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
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.objectYesNot specifiedNone specified
cases[].request.additionalAllocationsarrayNoNot specified
  • maxItems: 15
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.objectNoNot specifiedNone specified
cases[].request.additionalAllocations[].offeringA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
cases[].request.additionalAllocations[].resourceAn exact member selection. Omission requests fungible selection.stringNoNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
cases[].request.additionalAllocations[].unitsPhysical resource units, independent of party counts.integerNoNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 1
cases[].request.capabilitiesThe capabilities the party holds. A party holding none omits the member.arrayNoNot specified
  • maxItems: 256
  • uniqueItems: true
cases[].request.capabilities[]Array itemA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringNoNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
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.stringNoNot specifiedNone specified
cases[].request.duplicateKeystringNoNot specifiedNone specified
cases[].request.durationMinutesintegerNoNot specified
  • format: uint32
  • maximum: 10080
  • minimum: 1
cases[].request.offeringA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
cases[].request.partyOmit only for an exact-time offering whose policy explicitly makes human counts optional, such as a room or equipment reservation.objectNoNot specifiedNone specified
cases[].request.party.attendeesintegerYesNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 0
cases[].request.party.recipientsintegerYesNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 0
cases[].request.policyRevisionThe policy revision the caller resolved the offering under. Replay runs the policy at revision 1.integerYesNot specified
  • format: uint64
  • maximum: 9223372036854775807
  • minimum: 1
cases[].request.prerequisitesThe prerequisites the party holds. A party holding none omits the member.arrayNoNot specified
  • maxItems: 256
  • uniqueItems: true
cases[].request.prerequisites[]Array itemstringNoNot specifiedNone 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.stringNoNot specifiedNone specified
cases[].request.resourceA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringNoNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
cases[].request.resourceUnitsintegerNoNot specifiedSchema default, where declared: 1
  • format: uint32
  • maximum: 2147483647
  • minimum: 1
cases[].request.startstringYesNot specified
  • format: date-time
cases[].request.windowRevisionintegerNoNot specified
  • format: uint64
  • maximum: 9223372036854775807
  • minimum: 1
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.objectYesNot specifiedNone specified
facts.exceptionsarrayNoNot specified
  • maxItems: 256
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.objectNoNot specifiedNone specified
facts.exceptions[].authoritystringNoNot specifiedNone specified
facts.exceptions[].dateThe local date, YYYY-MM-DD.stringYesNot specifiedNone specified
facts.exceptions[].endTimeThe local end time, HH:MM.stringYesNot specifiedNone specified
facts.exceptions[].idA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
facts.exceptions[].kindThe layer an exception occupies, mirrored for records.stringYes
  • closure
  • opening
None specified
facts.exceptions[].locationThe location this exception applies to.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
facts.exceptions[].reopensstringNoNot specifiedNone specified
facts.exceptions[].startTimeThe local start time, HH:MM.stringYesNot specifiedNone specified
facts.locationsarrayNoNot specified
  • maxItems: 256
facts.locations[]Array itemA location record: the layer of configuration an operator maintains at runtime, not inside the authored policy.objectNoNot specifiedNone specified
facts.locations[].idA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
facts.locations[].timezoneA named IANA timezone such as Asia/Bangkok.stringYesNot specifiedNone specified
facts.poolsarrayNoNot specified
  • maxItems: 256
facts.pools[]Array itemA pool of interchangeable resources backing exact-time offerings. A pool is its concrete members, never an independent counter.objectNoNot specifiedNone specified
facts.pools[].idA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
facts.pools[].membersarrayYesNot specified
  • maxItems: 256
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.objectNoNot specifiedNone 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.objectNoNot specifiedNone specified
facts.pools[].members[].availability.closuresarrayNoNot specified
  • maxItems: 256
facts.pools[].members[].availability.closures[]Array itemOne concrete opening or closure. It carries no personnel information.objectNoNot specifiedNone specified
facts.pools[].members[].availability.closures[].endstringYesNot specified
  • format: date-time
facts.pools[].members[].availability.closures[].startstringYesNot specified
  • format: date-time
facts.pools[].members[].availability.openingsarrayNoNot specified
  • maxItems: 256
facts.pools[].members[].availability.openings[]Array itemOne concrete opening or closure. It carries no personnel information.objectNoNot specifiedNone specified
facts.pools[].members[].availability.openings[].endstringYesNot specified
  • format: date-time
facts.pools[].members[].availability.openings[].startstringYesNot specified
  • format: date-time
facts.pools[].members[].availablebooleanYesNot specifiedNone specified
facts.pools[].members[].capabilitiesThe capabilities this member carries. Omitted or [], it carries none and serves only offerings that require none.arrayNoNot specified
  • maxItems: 256
  • uniqueItems: true
facts.pools[].members[].capabilities[]Array itemA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringNoNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
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.integerNoNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 0
facts.pools[].members[].resourceIdA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
facts.windowsPublished arrival-window supply owned by this deployment's operator records. The policy references these records by identifier.arrayNoNot specified
  • maxItems: 256
facts.windows[]Array itemA published arrival window with its capacity.objectNoNot specifiedNone 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.stringYesNot specifiedNone specified
facts.windows[].endstringYesNot specified
  • format: date-time
facts.windows[].idA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
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.stringNo
  • becomes-walk-in
  • expires-unused
None specified
facts.windows[].locationA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
facts.windows[].offeringA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
facts.windows[].resourcesPhysical requirements reserved once for the window's span. A window that reserves nothing omits the member.arrayNoNot specified
  • maxItems: 16
  • minItems: 1
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.objectNoNot specifiedNone 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.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
facts.windows[].resources[].requirementThe requirement's own id, unique within the window.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
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.stringNoNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
facts.windows[].resources[].unitsintegerYesNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 1
facts.windows[].revisionintegerYesNot specified
  • format: uint64
  • maximum: 9223372036854775807
  • minimum: 1
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.objectNoNot specifiedNone 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.stringYesNot specifiedNone specified
facts.windows[].staffing.poolA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
facts.windows[].staffing.reservedMembersintegerNoNot specified
  • format: uint32
  • maximum: 256
  • minimum: 1
facts.windows[].startstringYesNot specified
  • format: date-time
facts.windows[].subquotasPer-channel ceilings within units. A window that limits no channel omits the member.arrayNoNot specified
  • maxItems: 4
  • minItems: 1
facts.windows[].subquotas[]Array itemA per-channel ceiling within a window's published capacity.objectNoNot specifiedNone 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.stringYesNot specifiedNone specified
facts.windows[].subquotas[].channelThe authenticated channel a subquota limits.stringYes
  • assisted
  • public
  • urgent
  • walk-in
None specified
facts.windows[].subquotas[].idA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
facts.windows[].subquotas[].unitsintegerYesNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 1
facts.windows[].unitsPublished capacity in the unit basis the units policy defines.integerYesNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 1
facts.windows[].unitsPolicyHow an offering converts a party into consumed recipient units, chosen by its type member.objectYesNot specifiedNone specified
facts.windows[].unitsPolicy.aboveHighestBandWhat a party above the highest band costs, or that it is refused, chosen by its type member.objectConditionalNot specifiedNone specified
facts.windows[].unitsPolicy.aboveHighestBand.typestringConditional
  • refuse
  • units
None specified
facts.windows[].unitsPolicy.aboveHighestBand.unitsintegerConditionalNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 1
facts.windows[].unitsPolicy.bandsarrayConditionalNot specified
  • minItems: 1
facts.windows[].unitsPolicy.bands[]Array itemOne band of a banded units table: parties up to up_to recipients cost units.objectConditionalNot specifiedNone 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.stringConditionalNot specifiedNone specified
facts.windows[].unitsPolicy.bands[].unitsintegerConditionalNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 1
facts.windows[].unitsPolicy.bands[].upTointegerConditionalNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 1
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.stringYesNot specifiedNone specified
facts.windows[].unitsPolicy.inputThe closed input set a banded table may read. Tier 1 reads exactly one.stringConditional
  • service-recipient-count
None specified
facts.windows[].unitsPolicy.perRecipientintegerConditionalNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 1
facts.windows[].unitsPolicy.typestringYes
  • banded-table
  • fixed
  • per-recipient
None specified
facts.windows[].unitsPolicy.unitsintegerConditionalNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 1
initialThe claims the ledger holds before the first case. A fixture that starts from an empty ledger omits the member.arrayNoNot specified
  • maxItems: 256
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.objectNoNot specifiedNone specified
initial[].channelThe authenticated channel the claim was allocated in, when the supply carries channel subquotas.stringNo
  • assisted
  • public
  • urgent
  • walk-in
None specified
initial[].duplicateKeyThe duplicate-active key this claim holds, when the offering defines one.stringNoNot specifiedNone specified
initial[].endstringYesNot specified
  • format: date-time
initial[].expiresAtHold expiry. An expired hold stops consuming capacity at this instant even when the cleanup worker is delayed.stringNoNot specified
  • format: date-time
initial[].idA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
initial[].kindWhat a ledger entry allocates supply for.stringYes
  • booking
  • hold
  • window
None specified
initial[].offeringThe offering whose duplicate-active policy owns this claim.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
initial[].startstringYesNot specified
  • format: date-time
initial[].supplyIdThe pool member resource (exact time) or the window (arrival) this claim occupies.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
initial[].unitsRecipient units consumed. Exact-time claims on one member consume one.integerYesNot specified
  • format: uint32
  • maximum: 2147483647
  • minimum: 1
kindstringYes
  • SchedulingFixture
None specified
nameA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringYesNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
nowThe single observed instant every case runs at.stringYesNot specified
  • format: date-time

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 pathTypeRequiredAccepted valuesConstraints
apiVersionstringYes
  • id.registrystack.org/formats/scheduling/runtime/v1alpha1
None specified
auditThe audit journal: where it is written and the key its hashes use.objectYesNot specifiedNone specified
audit.destinationWhere audit entries go: a rotated file (the default) or stdout.stringNo
  • file
  • stdout
Schema default, where declared: "file"
None specified
audit.hashKeyCustodyWho provisioned the key. Absent means operator-provisioned. development-generated marks a key a development tool made.stringNo
  • development-generated
  • operator-provisioned
None specified
audit.hashKeyRefSecret reference to the audit hash key.stringYesNot specified
  • pattern: ^(?:secret:env/[A-Z][A-Z0-9_]{0,127}|secret:file/[a-z][a-z0-9._-]{0,127})$
audit.pathThe active audit file. Required for, and only allowed with, file.stringConditionalNot specified
  • pattern: ^/+(?:(?:[^/.][^/]*|\.(?:[^/.][^/]*|\.[^/]+)?)/+)*(?:[^/.][^/]*|\.(?:[^/.][^/]*|\.[^/]+))$
audit.retentionDaysDelete rotated files older than this many days. Only allowed with file; omitted, rotated files are kept 90 days.integerNoNot specified
  • format: uint32
  • maximum: 36500
  • minimum: 1
audit.rotateBytesRotate the active file once it reaches this many bytes. Only allowed with file; omitted, the file rotates at 100 MiB.integerNoNot specified
  • format: uint64
  • maximum: 4294967295
  • minimum: 1048576
authenticationobjectYesNot specifiedNone specified
authentication.oidcThe access tokens this runtime accepts: the issuers that sign them, and the scopes each route family requires.objectYesNot specifiedNone specified
authentication.oidc.appointmentReadProfilesOpt-in cross-owner operational appointment read roles. An omitted or empty map grants no operational appointment authority.objectNoNot specifiedNone 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.objectNoNot specified
  • propertyNames.pattern: ^[a-z][a-z0-9_-]{0,63}$
authentication.oidc.appointmentReadProfiles.*.defaultWhen true, selects this profile if omitted accessProfile matches more than one profile for the token.booleanNoNot specifiedNone specified
authentication.oidc.appointmentReadProfiles.*.maximumFutureDaysHow far ahead of the observed instant a query may end.integerYesNot specified
  • format: uint32
  • maximum: 3650
  • minimum: 0
authentication.oidc.appointmentReadProfiles.*.maximumPastDaysHow far behind the observed instant a query may begin.integerYesNot specified
  • format: uint32
  • maximum: 3650
  • minimum: 0
authentication.oidc.appointmentReadProfiles.*.maximumSpanDaysThe maximum duration of one request's half-open interval.integerYesNot specified
  • format: uint32
  • maximum: 62
  • minimum: 1
authentication.oidc.appointmentReadProfiles.*.permissionsarrayYesNot specifiedNone specified
authentication.oidc.appointmentReadProfiles.*.permissions[]Array itemOne exact service/location authority within a profile.objectNoNot specifiedNone specified
authentication.oidc.appointmentReadProfiles.*.permissions[].locationstringYesNot specifiedNone specified
authentication.oidc.appointmentReadProfiles.*.permissions[].resourcesThe resource authority at one service/location pair. Unrestricted is an explicit operator statement, never an omitted default.objectYesNot specifiedNone specified
authentication.oidc.appointmentReadProfiles.*.permissions[].resources.idsarrayConditionalNot specified
  • uniqueItems: true
authentication.oidc.appointmentReadProfiles.*.permissions[].resources.ids[]Array itemA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringConditionalNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
authentication.oidc.appointmentReadProfiles.*.permissions[].resources.typestringYes
  • exact
  • unrestricted
None specified
authentication.oidc.appointmentReadProfiles.*.permissions[].servicestringYesNot specifiedNone specified
authentication.oidc.appointmentReadProfiles.*.projectionThe explicit projection allowed for one role.objectYesNot specifiedNone specified
authentication.oidc.appointmentReadProfiles.*.projection.externalReferenceProductsSource products whose exact references may be filtered and returned.arrayNoNot specified
  • uniqueItems: true
authentication.oidc.appointmentReadProfiles.*.projection.externalReferenceProducts[]Array itemA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringNoNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
authentication.oidc.appointmentReadProfiles.*.projection.fieldsarrayYesNot specified
  • uniqueItems: true
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.stringNo
  • allocations
  • attendance
  • occupied-interval
  • party-counts
  • resource
  • units
None specified
authentication.oidc.appointmentReadProfiles.*.scopeThe OAuth scope that selects this role after token verification.stringYesNot specifiedNone specified
authentication.oidc.busyImportProfilesOpt-in source-owned busy import roles. Each selected profile binds one stable source id and an explicit resource ceiling.objectNoNot specifiedNone specified
authentication.oidc.busyImportProfiles.*Map valueOne operator-authorized source and its current resource ceiling.objectNoNot specified
  • propertyNames.pattern: ^[a-z][a-z0-9_-]{0,63}$
authentication.oidc.busyImportProfiles.*.defaultbooleanNoNot specifiedNone specified
authentication.oidc.busyImportProfiles.*.impactProjectionstringNo
  • commitment-intervals
  • count-only
Schema default, where declared: "count-only"
None specified
authentication.oidc.busyImportProfiles.*.maximumFreshnessMinutesintegerYesNot specified
  • format: uint32
  • maximum: 10080
  • minimum: 1
authentication.oidc.busyImportProfiles.*.maximumFutureDaysintegerYesNot specified
  • format: uint32
  • maximum: 3650
  • minimum: 0
authentication.oidc.busyImportProfiles.*.maximumPastDaysintegerYesNot specified
  • format: uint32
  • maximum: 3650
  • minimum: 0
authentication.oidc.busyImportProfiles.*.maximumSpanDaysintegerYesNot specified
  • format: uint32
  • maximum: 62
  • minimum: 1
authentication.oidc.busyImportProfiles.*.resourcesarrayYesNot specified
  • uniqueItems: true
authentication.oidc.busyImportProfiles.*.resources[]Array itemA local identifier: a lowercase letter, then up to 63 lowercase letters, digits, _, or -.stringNoNot specified
  • pattern: ^[a-z][a-z0-9_-]{0,63}$
authentication.oidc.busyImportProfiles.*.scopestringYesNot specifiedNone specified
authentication.oidc.busyImportProfiles.*.sourceIdstringYesNot specifiedNone specified
authentication.oidc.explainScopeThe scope the separately authorized explain path requires.stringNoNot specifiedSchema default, where declared: "scheduling:explain"None specified
authentication.oidc.issuersThe issuers a token may come from, by issuer id.objectYesNot specified
  • minProperties: 1
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.objectNoNot specified
  • propertyNames.pattern: ^[a-z][a-z0-9_-]{0,63}$
authentication.oidc.issuers.*.accessTokenTypeThe access-token type the entry admits. Absent reads at+jwt.stringNo
  • JWT
  • at+jwt
Schema default, where declared: "at+jwt"
None specified
authentication.oidc.issuers.*.actorKindThe kind every token from this issuer is treated as. Absent declares none.stringNo
  • agent
  • human
  • service
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.booleanNoNot specifiedSchema default, where declared: falseNone specified
authentication.oidc.issuers.*.allowedClientsThe clients whose tokens the entry admits. unrestricted, which would admit every client the issuer verifies, is refused.arrayYesNot specified
  • minItems: 1
  • uniqueItems: true
authentication.oidc.issuers.*.allowedClients[]Array itemstringNoNot specified
  • minLength: 1
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.objectNoNot specified
  • maxProperties: 64
  • minProperties: 1
authentication.oidc.issuers.*.assertionIssuers.*Map valuearrayNoNot specified
  • maxItems: 16
  • minItems: 1
  • propertyNames.maxLength: 128
  • propertyNames.minLength: 1
  • propertyNames.pattern: ^[^\u0000-\u001F\u007F-\u009F]+$
  • uniqueItems: true
authentication.oidc.issuers.*.assertionIssuers.*[]Array itemstringNoNot specified
  • maxLength: 512
  • minLength: 1
authentication.oidc.issuers.*.audienceThe audience every accepted access token must carry in aud.stringYesNot specified
  • maxLength: 512
  • minLength: 1
authentication.oidc.issuers.*.clientActorKindsThe kind tokens from each named client are treated as. Absent declares none. Not combined with actorKind.objectNoNot specified
  • minProperties: 1
authentication.oidc.issuers.*.clientActorKinds.*Map valueAn actor kind an operator declares for a caller.stringNo
  • agent
  • human
  • service
  • propertyNames.maxLength: 512
  • propertyNames.minLength: 1
  • propertyNames.pattern: ^[^\u0000-\u001F\u007F-\u009F]+$
authentication.oidc.issuers.*.issuerExact issuer accepted in access-token iss claims, an absolute https URL, or a plain http URL when allowInsecureHttp is set.stringYesNot specified
  • format: uri
  • maxLength: 2048
  • pattern: ^[Hh][Tt][Tt][Pp][Ss]?://[^/?#@\u005C\u0000-\u0020\u007F-\u00A0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]+([/?#][^\u005C\u0000-\u0020\u007F-\u00A0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]*)?$
authentication.oidc.issuers.*.jwksSourceWhere the issuer's signing keys come from. Absent reads the issuer's OpenID Connect discovery document.objectNoNot 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.stringConditionalNot specified
  • pattern: ^(?:secret:env/[A-Z][A-Z0-9_]{0,127}|secret:file/[a-z][a-z0-9._-]{0,127})$
authentication.oidc.issuers.*.jwksSource.typestringYes
  • discovery
  • static
  • test-issuer
  • uri
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.stringConditionalNot specified
  • format: uri
  • maxLength: 2048
  • pattern: ^[Hh][Tt][Tt][Pp][Ss]?://[^/?#@\u005C\u0000-\u0020\u007F-\u00A0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]+([/?#][^\u005C\u0000-\u0020\u007F-\u00A0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]*)?$
authentication.oidc.issuers.*.scopeClaimThe claim that carries scopes. Absent reads scope.stringNoNot specifiedSchema default, where declared: "scope"
  • maxLength: 512
  • minLength: 1
  • pattern: ^[^\u0000-\u001F\u007F-\u009F]+$
authentication.oidc.readsScopeThe scope every listing and availability read requires.stringNoNot 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.objectYesNot specifiedNone specified
database.caBundleRefSecret reference to a PEM root certificate the connection trusts. Absent, the connection trusts the platform's root certificates.stringNoNot specified
  • pattern: ^(?:secret:env/[A-Z][A-Z0-9_]{0,127}|secret:file/[a-z][a-z0-9._-]{0,127})$
database.migrationUrlRefSecret reference to the migration connection URL.stringYesNot specified
  • pattern: ^(?:secret:env/[A-Z][A-Z0-9_]{0,127}|secret:file/[a-z][a-z0-9._-]{0,127})$
database.runtimeUrlRefSecret reference to the least-privileged runtime connection URL.stringYesNot specified
  • pattern: ^(?:secret:env/[A-Z][A-Z0-9_]{0,127}|secret:file/[a-z][a-z0-9._-]{0,127})$
database.testOnlyPlaintextAllow a plaintext connection. Refused outside test builds.booleanNoNot specifiedSchema default, where declared: falseNone 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.stringNo
  • loopback-plaintext
  • private-network-plaintext
  • verified-tls
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.objectNoNot specifiedNone 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.objectNoNot specifiedSchema default, where declared: {}
  • maxProperties: 128
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.objectNoNot specified
  • propertyNames.pattern: ^[a-z][a-z0-9_-]{0,63}$
destinations.hooks.*.allowedPrivateCidrsThe private ranges the destination's host may resolve to. Empty admits none.arrayNoNot specified
  • maxItems: 16
  • uniqueItems: true
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.stringNoNot specified
  • pattern: ^[0-9a-fA-F.:]+/(0|[1-9][0-9]{0,2})$
destinations.hooks.*.attemptTimeoutMillisecondsHow long one delivery attempt may take, from 100 through 10000 milliseconds.integerNoNot specifiedSchema default, where declared: 5000
  • format: uint32
  • maximum: 10000
  • minimum: 100
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.stringYesNot specified
  • pattern: ^(?:secret:env/[A-Z][A-Z0-9_]{0,127}|secret:file/[a-z][a-z0-9._-]{0,127})$
destinations.hooks.*.maximumAttemptsHow many delivery attempts one event gets, from 1 through 20.integerNoNot specifiedSchema default, where declared: 8
  • format: uint8
  • maximum: 20
  • minimum: 1
destinations.hooks.*.previousHmacSha256KeyRefOptional previous signing key for rotation, excluded from the destination binding digest.stringNoNot specified
  • pattern: ^(?:secret:env/[A-Z][A-Z0-9_]{0,127}|secret:file/[a-z][a-z0-9._-]{0,127})$
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.stringNo
  • loopback-plaintext
  • private-network-plaintext
  • verified-tls
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.stringYesNot specified
  • format: uri
  • maxLength: 2048
  • pattern: ^[Hh][Tt][Tt][Pp][Ss]?://[^/?#@\u005C\u0000-\u0020\u007F-\u00A0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]+([/?#][^\u005C\u0000-\u0020\u007F-\u00A0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]*)?$
destinations.remindersFallback destination for reminder delivery.objectNoNot specifiedNone specified
destinations.reminders.allowedPrivateCidrsThe private ranges allowed for the common origin. Empty admits none.arrayNoNot specifiedSchema default, where declared: []
  • maxItems: 16
  • uniqueItems: true
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.stringNoNot specified
  • pattern: ^[0-9a-fA-F.:]+/(0|[1-9][0-9]{0,2})$
destinations.reminders.hmacSha256KeyRefReference to 32 to 64 exact key bytes used only for this destination.stringYesNot specified
  • pattern: ^(?:secret:env/[A-Z][A-Z0-9_]{0,127}|secret:file/[a-z][a-z0-9._-]{0,127})$
destinations.reminders.previousHmacSha256KeyRefPrevious signing key during rotation.stringNoNot specified
  • pattern: ^(?:secret:env/[A-Z][A-Z0-9_]{0,127}|secret:file/[a-z][a-z0-9._-]{0,127})$
destinations.reminders.purposesPurpose-specific destinations on the fallback URL's origin.objectNoNot specifiedNone specified
destinations.reminders.purposes.cancellationDestination for reminder delivery of one configured purpose.objectNoNot specifiedNone specified
destinations.reminders.purposes.cancellation.hmacSha256KeyRefReference to 32 to 64 exact key bytes used only for this destination.stringYesNot specified
  • pattern: ^(?:secret:env/[A-Z][A-Z0-9_]{0,127}|secret:file/[a-z][a-z0-9._-]{0,127})$
destinations.reminders.purposes.cancellation.previousHmacSha256KeyRefPrevious signing key during rotation.stringNoNot specified
  • pattern: ^(?:secret:env/[A-Z][A-Z0-9_]{0,127}|secret:file/[a-z][a-z0-9._-]{0,127})$
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.stringYesNot specified
  • format: uri
  • maxLength: 2048
  • pattern: ^[Hh][Tt][Tt][Pp][Ss]?://[^/?#@\u005C\u0000-\u0020\u007F-\u00A0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]+([/?#][^\u005C\u0000-\u0020\u007F-\u00A0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]*)?$
destinations.reminders.purposes.changeDestination for reminder delivery of one configured purpose.objectNoNot specifiedNone specified
destinations.reminders.purposes.change.hmacSha256KeyRefReference to 32 to 64 exact key bytes used only for this destination.stringYesNot specified
  • pattern: ^(?:secret:env/[A-Z][A-Z0-9_]{0,127}|secret:file/[a-z][a-z0-9._-]{0,127})$
destinations.reminders.purposes.change.previousHmacSha256KeyRefPrevious signing key during rotation.stringNoNot specified
  • pattern: ^(?:secret:env/[A-Z][A-Z0-9_]{0,127}|secret:file/[a-z][a-z0-9._-]{0,127})$
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.stringYesNot specified
  • format: uri
  • maxLength: 2048
  • pattern: ^[Hh][Tt][Tt][Pp][Ss]?://[^/?#@\u005C\u0000-\u0020\u007F-\u00A0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]+([/?#][^\u005C\u0000-\u0020\u007F-\u00A0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]*)?$
destinations.reminders.purposes.confirmationDestination for reminder delivery of one configured purpose.objectNoNot specifiedNone specified
destinations.reminders.purposes.confirmation.hmacSha256KeyRefReference to 32 to 64 exact key bytes used only for this destination.stringYesNot specified
  • pattern: ^(?:secret:env/[A-Z][A-Z0-9_]{0,127}|secret:file/[a-z][a-z0-9._-]{0,127})$
destinations.reminders.purposes.confirmation.previousHmacSha256KeyRefPrevious signing key during rotation.stringNoNot specified
  • pattern: ^(?:secret:env/[A-Z][A-Z0-9_]{0,127}|secret:file/[a-z][a-z0-9._-]{0,127})$
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.stringYesNot specified
  • format: uri
  • maxLength: 2048
  • pattern: ^[Hh][Tt][Tt][Pp][Ss]?://[^/?#@\u005C\u0000-\u0020\u007F-\u00A0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]+([/?#][^\u005C\u0000-\u0020\u007F-\u00A0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]*)?$
destinations.reminders.purposes.reminderDestination for reminder delivery of one configured purpose.objectNoNot specifiedNone specified
destinations.reminders.purposes.reminder.hmacSha256KeyRefReference to 32 to 64 exact key bytes used only for this destination.stringYesNot specified
  • pattern: ^(?:secret:env/[A-Z][A-Z0-9_]{0,127}|secret:file/[a-z][a-z0-9._-]{0,127})$
destinations.reminders.purposes.reminder.previousHmacSha256KeyRefPrevious signing key during rotation.stringNoNot specified
  • pattern: ^(?:secret:env/[A-Z][A-Z0-9_]{0,127}|secret:file/[a-z][a-z0-9._-]{0,127})$
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.stringYesNot specified
  • format: uri
  • maxLength: 2048
  • pattern: ^[Hh][Tt][Tt][Pp][Ss]?://[^/?#@\u005C\u0000-\u0020\u007F-\u00A0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]+([/?#][^\u005C\u0000-\u0020\u007F-\u00A0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]*)?$
destinations.reminders.urlA fixed absolute URL without user information, query, or fragment.stringYesNot specified
  • format: uri
  • maxLength: 2048
  • pattern: ^[Hh][Tt][Tt][Pp][Ss]?://[^/?#@\u005C\u0000-\u0020\u007F-\u00A0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]+([/?#][^\u005C\u0000-\u0020\u007F-\u00A0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]*)?$
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.objectYesNot specifiedNone 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.stringYesNot specified
  • maxLength: 256
  • minLength: 1
  • pattern: ^[^\u0000-\u001f\u007f-\u009f \u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000](?:[^\u0000-\u001f\u007f-\u009f]*[^\u0000-\u001f\u007f-\u009f \u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000])?$
kindstringYes
  • SchedulingRuntimeConfig
None specified
listenerThe listener of a runtime that declares its TLS termination and network exposure.objectYesNot specifiedNone specified
listener.bindSocket address the runtime listens on, written host:port with an IP address host ([addr]:port for IPv6).stringYesNot specified
  • maxLength: 128
  • minLength: 1
listener.networkExposureThe operator-declared private network placement of an HTTP listener.stringNo
  • container-private
  • private-address
Schema default, where declared: "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.stringYes
  • development-loopback
  • loopback-plaintext
  • operator-controlled-upstream
None specified
metricsListenerThe operator-private listener that serves /metrics. Omit it to serve no metrics.objectNoNot specifiedNone specified
metricsListener.bindSocket address the runtime listens on, written host:port with an IP address host ([addr]:port for IPv6).stringYesNot specified
  • maxLength: 128
  • minLength: 1
metricsListener.networkExposureThe operator-declared private network placement of an HTTP listener.stringNo
  • container-private
  • private-address
Schema default, where declared: "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].objectYesNot specifiedNone 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.stringNoNot specified
  • pattern: ^sha256:[0-9a-f]{64}$
package.rootAbsolute path of the package directory.stringYesNot specified
  • pattern: ^/
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.objectYesNot specifiedNone specified
retention.claimOwnerRetentionDaysHow long raw ownership remains after an appointment ends or is cancelled, or a hold expires, is released, or is consumed.integerNoNot specifiedSchema default, where declared: 7
  • format: uint32
  • maximum: 365
  • minimum: 1
retention.hookPayloadRetentionDaysLifetime of canonical hook envelopes retained for retry and dead-letter inspection, from one through thirty days.integerNoNot specifiedSchema default, where declared: 7
  • format: uint32
  • maximum: 30
  • minimum: 1
retention.receiptRetentionDaysHow long a stored idempotency receipt stays replayable, from one through 365 days.integerNoNot specifiedSchema default, where declared: 7
  • format: uint32
  • maximum: 365
  • minimum: 1
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.objectConditionalNot specifiedNone specified
secretProviders.environmentEnables secret:env/NAME references, read from the process environment. Declared as an empty mapping: environment: {}.objectConditionalNot specifiedNone specified
secretProviders.fileEnables secret:file/name references, read from files under root.objectConditionalNot specifiedNone 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.stringConditionalNot specified
  • pattern: ^/

and, where a rule elsewhere applies

  • pattern: ^/
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 | stringYes
  • unchecked-final-fifteen-minutes

No bound

or

  • minItems: 1
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.objectConditionalNot specifiedNone 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.stringConditionalNot specified
  • format: uri
  • maxLength: 2048
  • pattern: ^[Hh][Tt][Tt][Pp][Ss]?://[^/?#@\u005C\u0000-\u0020\u007F-\u00A0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]+([/?#][^\u005C\u0000-\u0020\u007F-\u00A0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]*)?$
taskGrantStatus[].caBundleRefPEM CA bundle for the authority and its token endpoint. Omitted, the platform's trusted roots verify them.stringConditionalNot specified
  • pattern: ^(?:secret:env/[A-Z][A-Z0-9_]{0,127}|secret:file/[a-z][a-z0-9._-]{0,127})$
taskGrantStatus[].clientAssertionAudienceAn identifier another system issues, written exactly as its issuer gives it.stringConditionalNot specified
  • maxLength: 512
  • minLength: 1
  • pattern: ^[^\u0000-\u001F\u007F-\u009F]+$
taskGrantStatus[].clientIdAn identifier another system issues, written exactly as its issuer gives it.stringConditionalNot specified
  • maxLength: 512
  • minLength: 1
  • pattern: ^[^\u0000-\u001F\u007F-\u009F]+$
taskGrantStatus[].privateKeyRefAn exact secret reference: secret:file/name, resolved under secretProviders.file.root, or secret:env/NAME, resolved only when secretProviders.environment is declared.stringConditionalNot specified
  • pattern: ^(?:secret:env/[A-Z][A-Z0-9_]{0,127}|secret:file/[a-z][a-z0-9._-]{0,127})$
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.stringConditionalNot specified
  • maxLength: 512
  • minLength: 1
  • pattern: ^[^\u0000-\u001F\u007F-\u009F]+$
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.stringConditionalNot 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.stringConditionalNot specified
  • maxLength: 512
  • minLength: 1
  • pattern: ^[^\u0000-\u001F\u007F-\u009F]+$
taskGrantStatus[].statusScopeThe one scope the runtime requests its status credential with. Omitted, casework:grants:status.stringConditionalNot specifiedSchema default, where declared: "casework:grants:status"
  • maxLength: 512
  • minLength: 1
  • pattern: ^[^\u0000-\u001F\u007F-\u009F]+$
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.stringConditionalNot specified
  • format: uri
  • maxLength: 2048
  • pattern: ^[Hh][Tt][Tt][Pp][Ss]?://[^/?#@\u005C\u0000-\u0020\u007F-\u00A0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]+([/?#][^\u005C\u0000-\u0020\u007F-\u00A0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]*)?$

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.

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/v1alpha1
kind: SchedulingRuntimeConfig

The 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.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.

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 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.

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.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.

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.

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.

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.

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-only

POST /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.

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-minutes

A 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-ca

Offline 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.unfinished and answers service.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 is optional.

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-key

Write 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.

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.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.

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 filesCheck command
Scheduling project
  • scheduling.yaml
schedulingctl check <project>
Scheduling supply records
  • records.yaml
schedulingctl check <project>
Scheduling fixture
  • fixtures/*.yaml
  • fixtures/*.yml
schedulingctl check <project>
Scheduling runtime configuration
  • runtime.yaml
  • runtime.example.yaml
schedulingctl check <project> --runtime-config <file>