Skip to content
Developer Preview

UserInputOption

One option offered for a question.

  • description
  • label
  • preview
Source

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

{
"description": "One option offered for a question.",
"properties": {
"description": {
"description": "An optional longer explanation of the option, at most 240 characters.",
"type": "string"
},
"label": {
"description": "The option's text, at most 80 characters and unique within its question;\nan answer selects the option by this exact label.",
"type": "string"
},
"preview": {
"$ref": "#/$defs/UserInputOptionPreview",
"description": "An optional rich preview of the option, present only on single-select\nquestions."
}
},
"required": [
"label"
],
"type": "object"
}