ApprovalRequirementRef
Identifies one requirement of an approval: for a shell approval, one
stage. A client sends it back as requirementId in approval/decide, and a
stale-requirement error names the current one.
Fields and variants
Section titled “Fields and variants”approvalIdsourceIndex
Source
schema/msp/experimental/msp.schema.json#/types/ApprovalRequirementRef
{ "description": "Identifies one requirement of an approval: for a `shell` approval, one\nstage. A client sends it back as `requirementId` in `approval/decide`, and a\nstale-requirement error names the current one.", "properties": { "approvalId": { "description": "The approval this requirement belongs to.", "type": "string" }, "sourceIndex": { "description": "The requirement's index within the approval, counting from 0; an\napproval with a single requirement uses 0.", "type": "integer" } }, "required": [ "approvalId", "sourceIndex" ], "type": "object"}