# 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](/types/#scalars) `ID!` | The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it. |
| `sysId` | [String](/types/#scalars) `String!` | The group-scoped human-facing system id (PC-…). |
| `type` | [String](/types/#scalars) `String!` | The kind of record — always `PolicyValueRecord` here. |
| `caption` | [String](/types/#scalars) `String!` | The record’s display name — what people see it called. |
| `status` | [String](/types/#scalars) `String!` | The FSM state: active \| doomed. |
| `parentId` | [ID](/types/#scalars) `ID!` | The scope anchor: an Organization or a LogicalFacility — validated live at create; rootId = the org group. |
| `rootId` | [ID](/types/#scalars) `ID!` | The org-group family root. |
| `createdAt` | [String](/types/#scalars) `String!` | When the record was created, as a UTC timestamp. |
| `updatedAt` | [String](/types/#scalars) `String!` | When the record last changed, as a UTC timestamp. |
| `revisionNum` | [Int](/types/#scalars) `Int!` | How many times this record has been edited; the first save is 0. |
| `revision` | [ID](/types/#scalars) `ID!` | The OCC revision token — supply it on every mutation of this record; rotates on every write. |
| `refCaptions` | [RefCaption](/types/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](/types/#scalars) `String!` | The resolution level this record binds (org \| lf — most-specific-wins). Stored explicit, validated against the REAL parent at create; IMMUTABLE. |
| `key` | [String](/types/#scalars) `String!` | The registry key. IMMUTABLE — a different key is a different sub-schedule. |
| `valueInt` | [Int](/types/#scalars) `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](/types/#scalars) `String!` | The window start (INCLUSIVE; UTC ISO-8601) — set at birth (absent in the create input = effective NOW, server-stamped), IMMUTABLE thereafter. |
| `endAt` | [String](/types/#scalars) `String!` | The window end (EXCLUSIVE; UTC ISO-8601; ALWAYS present — far-future = the standing value). Moves ONLY via the system splice trim. |

## Used by

- [createPolicyValueRecord](/reference/policy-value-record/createPolicyValueRecord/)
- [doomPolicyValueRecord](/reference/policy-value-record/doomPolicyValueRecord/)
- [policyValue](/reference/policy-value-record/policyValue/)
- [updatePolicyValueRecord](/reference/policy-value-record/updatePolicyValueRecord/)
