AlmondTill/G3N API

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

FieldTypeNotes
idID ID!The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it.
sysIdString String!The human-readable id, shaped like PC-… — stable for the record’s life.
typeString String!The kind of record — always PolicyValueRecord here.
captionString String!The record’s display name — what people see it called.
statusString String!The record’s current state — one of active or doomed.
parentIdID ID!The scope anchor: an Organization or a LogicalFacility — validated live at create; rootId = the org group.
rootIdID ID!The id of your organization group — every record of yours carries the same one.
createdAtString String!When the record was created, as a UTC timestamp.
updatedAtString String!When the record last changed, as a UTC timestamp.
revisionNumInt Int!How many times this record has been edited; the first save is 0.
revisionID 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.
refCaptionsRefCaption [RefCaption!]!The captions of the records this one refers to, composed for you — one row per referenced id; see RefCaption.
levelString String!The resolution level this record binds. Stored explicit, validated against the real parent at create; immutable.
keyString String!The registry key. Immutable — a different key is a different sub-schedule.
valueIntInt Int!The value (INT — the no-floats discipline; registry-bounded per key: the v1 thresholds take 1..100). Immutable — supersede with a new window.
startAtString String!The window start (inclusive; UTC ISO-8601) — set at birth (absent in the create input = effective NOW, server-stamped), immutable thereafter.
endAtString String!The window end (exclusive; UTC ISO-8601; always present — far-future = the standing value). Moves only via the system splice trim.

Used by