VocalDocscontracts 1.65.0

PolicyDraft

The editable fields of a Policy, as the draft holds them: what the next publish snapshots, beside the scope, the name and the kill switch, which stay on the Policy.

An object with 9 fields.

Fields

FieldTypeRequiredDescription
action_typePolicyActionTypeyesThe one action type the document may output; its legality at hook is checked at save.
compliance_tagComplianceTag or nullyes
descriptionstring or nullyesFor reviewers; never sent to the model.
enabledbooleanyesThe kill switch, read at dispatch and effective from the next Call; not part of any version.
hookHookPointyes
logicJdmDocumentyes
namePolicyNameyes
priorityintegeryesLower runs first; ties go to organization scope, then to the id.
scopePolicyScopeyes