Skip to content
Developer Preview

ApprovalDecideResult

approval/decide result. Admission-ack rules still apply: the authoritative outcome is approval/resolved / approval/updated on the view stream.

  • approvalId
  • commandId
  • status
  • terminal
Source

schema/msp/experimental/msp.schema.json#/types/ApprovalDecideResult

{
"description": "`approval/decide` result. Admission-ack rules still apply: the\nauthoritative outcome is `approval/resolved` / `approval/updated` on the\nview stream.",
"properties": {
"approvalId": {
"description": "The approval this decision was applied to.",
"type": "string"
},
"commandId": {
"description": "Echoes the client's id.",
"type": "string"
},
"status": {
"$ref": "#/$defs/CommandStatus",
"description": "Admission status."
},
"terminal": {
"description": "`false` when the choice satisfied a stage but further requirements\nremain (the approval stays pending and an updated `approval/request`\nfollows); `true` when this decision produced the terminal\n`DecisionApplied`.",
"type": "boolean"
}
},
"required": [
"approvalId",
"commandId",
"status",
"terminal"
],
"type": "object"
}