UserInputSelection
How many options the user may pick for a question.
Fields and variants
Section titled “Fields and variants”maxSelectionsminSelectionsmode
Source
schema/msp/experimental/msp.schema.json#/types/UserInputSelection
{ "description": "How many options the user may pick for a question.", "properties": { "maxSelections": { "description": "The most options the user may pick. Sent only in `multiple` mode; when\nabsent the maximum is the number of options.", "type": "integer" }, "minSelections": { "description": "The minimum selection count for a `multiple` answer. Sent only in\n`multiple` mode; when absent the minimum is 1.", "type": "integer" }, "mode": { "$ref": "#/$defs/UserInputSelectionMode", "description": "`single` or `multiple`: whether an answer selects one option or several." } }, "required": [ "mode" ], "type": "object"}