PolicyValueRecord
object type
A PolicyValueRecord — ONE effective-dated value window in the tenant policy schedule, resolved LF → org → the registry default nearest-ancestor-with-value at every read. Keys are registry-defined. Doom cancels a not-yet-effective future record only (CONFLICT/IMMUTABLE otherwise — supersede instead). The window/key/value fields are wire-IMMUTABLE (the edit surface is caption only). The catalog ladder's zone rung is a named registry growth — no v1 key legally scopes there.
Fields
| Field | Type | Notes |
|---|---|---|
id | ID ID! | The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it. |
sysId | String String! | The human-readable id, shaped like PC-… — stable for the record’s life. |
type | String String! | The kind of record — always PolicyValueRecord here. |
caption | String String! | The record’s display name — what people see it called. |
status | String String! | The record’s current state — one of active or doomed. |
parentId | ID ID! | The scope anchor: an Organization or a LogicalFacility — validated live at create; rootId = the org group. |
rootId | ID ID! | The id of your organization group — every record of yours carries the same one. |
createdAt | String String! | When the record was created, as a UTC timestamp. |
updatedAt | String String! | When the record last changed, as a UTC timestamp. |
revisionNum | Int Int! | How many times this record has been edited; the first save is 0. |
revision | ID ID! | The id of the record’s current edit — send it back with a change so an edit made in the meantime is refused instead of overwritten. |
refCaptions | RefCaption [RefCaption!]! | The captions of the records this one refers to, composed for you — one row per referenced id; see RefCaption. |
level | String String! | The resolution level this record binds. Stored explicit, validated against the real parent at create; immutable. |
key | String String! | The registry key. Immutable — a different key is a different sub-schedule. |
valueInt | Int Int! | The value (INT — the no-floats discipline; registry-bounded per key: the v1 thresholds take 1..100). Immutable — supersede with a new window. |
startAt | String String! | The window start (inclusive; UTC ISO-8601) — set at birth (absent in the create input = effective NOW, server-stamped), immutable thereafter. |
endAt | String String! | The window end (exclusive; UTC ISO-8601; always present — far-future = the standing value). Moves only via the system splice trim. |