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
| Field | Type | Required | Description |
|---|---|---|---|
action_type | PolicyActionType | yes | The one action type the document may output; its legality at hook is checked at save. |
compliance_tag | ComplianceTag or null | yes | |
description | string or null | yes | For reviewers; never sent to the model. |
enabled | boolean | yes | The kill switch, read at dispatch and effective from the next Call; not part of any version. |
hook | HookPoint | yes | |
logic | JdmDocument | yes | |
name | PolicyName | yes | |
priority | integer | yes | Lower runs first; ties go to organization scope, then to the id. |
scope | PolicyScope | yes |