ChangeRequest
A governed change to one domain: what it touches, how far it has got, and which domain version it settled at.
- objectType: string
Resource type identifier
- slotsType: array of string
The parts of the domain this change holds while it runs. Another change touching any of the same parts is refused with 409 until this one settles.
- appliedType: integer
_version The domain version this change settled at, which is the version
GET /domains/{id}reports once it is visible. Null until the change lands; the highest when the change carried several mutations. - baseType: integer
_version The domain version the change was composed against, or 0 when the requester asserted nothing about what they had read.
- commentType: string
The requester's own note. Never interpreted.
- failureType: string
_code Why the change could not be applied. Present only in state
failed. - cancellationType: stringenum
_reason Why the change was retired. Present only in state
cancelled. One ofrequested,expired,superseded,feasibility_lost,stale_base_version.valuesrequestedexpiredsupersededfeasibility_loststale_base_version - cancellationType: string
_comment What whoever retired the change said about doing so, in their own words. Present only when a person cancelled it and chose to explain themselves; the reason beside it says which of the five endings this was.
- requestedType: Actor
_by Properties: 6Who asked for the change. Polymorphic by
method. - cancelledType: Actor
_by Properties: 6Who retired the change, in the same shape. Absent while the change is still open, and absent on one that ran to completion.
- expiresType: string
_at When the change stops waiting for a decision. Null when nothing gated it.
- idType: string
Change request typeid (prefix
chr_) - settledType: string
_at When the change reached a terminal state. Null while it is still running. On a cancelled change this is when it was cancelled.
- createdType: string
_at When the change was submitted
- updatedType: string
_at When the change last moved
- approvalType: ChangeApprovalProperties: 10
How far the change has got through the gates its organization's rules demanded. Absent when nothing gated it, which is every change with
outcome: allow. - viewerType: ChangeViewerProperties: 2
What you may do with this change. Render the action bar from it rather than deriving one.
- domainType: string
_id The domain this change acts on
- domainType: string
_name The domain's name at the time of reading. Empty when the domain is no longer readable, which a change outliving its domain produces.
- stateType: stringenum
Fine-grained lifecycle state. One of
draft,pending_approval,approved,executing,pending_registry,applied,failed,rejected,cancelled.valuesdraftpending_approvalapprovedexecutingpending_registryappliedfailedrejectedcancelled - displayType: stringenum
_status Coarse badge projected from
state. One ofdraft,awaiting_review,applying,applied,auto_applied,overridden,rejected,expired,cancelled,failed. Branch on this to render; branch onstateonly when you need the detail.valuesdraftawaiting_reviewapplyingappliedauto_appliedoverriddenrejectedexpiredcancelledfailed - outcomeType: "allow" or "review"enum
What the policy check decided when the change was submitted.
allowmeans nothing had to be reviewed. - evaluationType: integer
_pass Which judgement of this change the rest of the record belongs to, from 1. A change judged once and applied stays at 1. It climbs when the gate ran again before the change was applied and the world had moved: the signatures already given were given under an earlier pass, and
GET /changes/{id}/issuessays what the later one found. - kindsType: array of string
The classes of mutation this change carries, in the order they are applied. A change touching several fields carries several.