ChoiceOption

ChoiceOption
ChoiceOption

The ChoiceOption data object type defines a set of supported string values, a localizable description for each value, and the default value.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "valueIsReadonly": false,
    "choiceInfo": [
        {
            "_typeName": "string",
            "label": "string",
            "summary": "string",
            "key": "string"
        }
    ],
    "defaultIndex": 0
}
choiceInfo
Required

The set of possible selections and descriptions.

integer As int32 As int32
defaultIndex
Optional

The index in ChoiceOption.value that serves as the default value.