Exactly one of: object; object; object; object; object; object; object; object; object
| Field | Required at this level | Type | Description and constraints |
|---|---|---|---|
oneOf[1].action |
Yes | Constant EDIT_DRAFT |
— |
oneOf[1].question |
Yes | string |
Min length: 3; Max length: 2000 |
oneOf[1].assumptions |
Yes | Array of string |
Max items: 10 |
oneOf[2].action |
Yes | Constant ATTACH_CANDIDATE_REVIEW |
— |
oneOf[2].runId |
Yes | string |
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9:_-]{2,159}$ |
oneOf[2].resultVersion |
Yes | string |
Pattern: ^0x[0-9a-f]{64}$ |
oneOf[3].action |
Yes | Constant ATTACH_TREASURY_PROJECTION |
— |
oneOf[3].projectionId |
Yes | string |
Pattern: ^treasury_projection_[0-9a-f]{32}$ |
oneOf[3].projectionResourceVersion |
Yes | string |
Pattern: ^0x[0-9a-f]{64}$ |
oneOf[4].action |
Yes | Constant ATTACH_HEALTH |
— |
oneOf[4].runId |
Yes | string |
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9:_-]{2,159}$ |
oneOf[4].resultVersion |
Yes | string |
Pattern: ^0x[0-9a-f]{64}$ |
oneOf[5].action |
Yes | Constant READY_FOR_REVIEW |
— |
oneOf[6].action |
Yes | Constant RECORD_DECISION |
— |
oneOf[6].choice |
Yes | string |
Allowed: DO_NOTHING, REQUEST_MORE_EVIDENCE, TAKE_TO_SEPARATE_APPROVAL |
oneOf[6].rationale |
Yes | string |
Min length: 1; Max length: 4000 |
oneOf[6].followUpAt |
Yes | At least one of: string; null |
— |
oneOf[7].action |
Yes | Constant MARK_FOLLOW_UP_DUE |
— |
oneOf[8].action |
Yes | Constant CLOSE |
— |
oneOf[8].note |
Yes | string |
Min length: 1; Max length: 4000 |
oneOf[9].action |
Yes | Constant SUPERSEDE |
— |
oneOf[9].replacementPackId |
Yes | string |
Pattern: ^decisionpack_[a-f0-9]{32}$ |
Nested required fields apply when their parent object or matching union branch is present. Named types link to their complete schema.
Exact definition: #/components/schemas/DecisionPackCommand in the OpenAPI contract.