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 (appointment.lead_time_minutes · appointment.max_advance_days · appointment.no_show_window_minutes · appointment.overbook_allowed · fraud.threshold.cash_over_short · fraud.threshold.discount_override_abuse · fraud.threshold.dispute_chargeback · fraud.threshold.override_pattern · fraud.threshold.return_refund_abuse · fraud.threshold.void_no_sale · training.score_visibility — an unknown key refuses naming the roster; v1 = the fraud-alert thresholds, one per signal kind, default 0 on the 0..100 score scale; future keys join by registry row). 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 group-scoped human-facing system id (PC-…). |
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 FSM state: active | doomed. |
parentId | ID ID! | The scope anchor: an Organization or a LogicalFacility — validated live at create; rootId = the org group. |
rootId | ID ID! | The org-group family root. |
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 OCC revision token — supply it on every mutation of this record; rotates on every write. |
refCaptions | RefCaption [RefCaption!]! | The server-composed captions of this record's declared references (the referenced-caption rule) — one row per referenced id; see RefCaption. |
level | String String! | The resolution level this record binds (org | lf — most-specific-wins). 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. |