Skip to content

AdmissionChoice

Experimental

One server-minted admission choice: clients select, never construct. Choice ids are snake_case (the approval/request choice style); labels match the TUI card verbatim.

  • choiceId — Experimental
  • label — Experimental
  • scope — Experimental
Source

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

{
"description": "One server-minted admission choice: clients select, never\nconstruct. Choice ids are snake_case (the `approval/request` choice\nstyle); labels match the TUI card verbatim.",
"properties": {
"choiceId": {
"description": "`allow_once` | `reject_once` | `allow_connected` | `block_connected`.",
"type": "string"
},
"label": {
"description": "The card label verbatim (\"Allow once\", \"Reject once\",\n\"Allow for this session\", \"Block for this session\").",
"type": "string"
},
"scope": {
"description": "`once` | `session`: derives from the choice.",
"type": "string"
}
},
"required": [
"choiceId",
"label",
"scope"
],
"type": "object",
"x-msp-descriptor": "admission/request",
"x-msp-stability": "experimental"
}