VocalDocscontracts 1.65.0

PolicyVersion

An immutable snapshot of a Policy (1.47.0); every Agent version pins the version it runs, and every Call records the versions it ran. logic is the canonical document, with the reserved _rule output column that publish adds to every table so that a firing names the row that matched.

An object with 18 fields.

Fields

FieldTypeRequiredDescription
action_typePolicyActionTypeyes
activebooleanyesTrue for the active version: the one Agent version publish pins, or, for an organization-scoped Policy, the one dispatch resolves.
analysisPolicyAnalysisyes
compliance_tagComplianceTag or nullyes
engine_versionstringyesThe Zen engine version the version was published under; a worker refuses one it does not run with rules_engine_version_mismatch.
hookHookPointyes
logicJdmDocumentyes
logic_sha256stringyesThe SHA-256 of the canonical document, in lowercase hex.
notesstring or nullyes
object"policy_version"yes
policy_idPolicyIdyes
priorityintegeryes
profile_versionintegeryesThe Vocal JDM profile version the document was linted under.
published_atTimestampyes
published_byActorRefyes
source_revisionintegeryesThe draft revision this version was published from.
statusPolicyVersionStatusyes
versionintegeryesThe snapshot number, from 1.

Used by

The operations whose parameters, request body or responses name this shape directly.