UserInputQuestion
One question in a user-input prompt.
Fields and variants
Section titled “Fields and variants”headeridoptionsquestionselection
Source
schema/msp/experimental/msp.schema.json#/types/UserInputQuestion
{ "description": "One question in a user-input prompt.", "properties": { "header": { "description": "A short title for the question, at most 12 characters.", "type": "string" }, "id": { "description": "The question's id, unique within the prompt and at most 64 characters.\nAn answer names it in `questionId`.", "type": "string" }, "options": { "description": "The options offered, two or three, in order.", "items": { "$ref": "#/$defs/UserInputOption" }, "type": "array" }, "question": { "description": "The full question text to show the user.", "type": "string" }, "selection": { "$ref": "#/$defs/UserInputSelection", "description": "Whether the user picks one option or several." } }, "required": [ "header", "id", "options", "question", "selection" ], "type": "object"}