You can configure a boolean control. However, we recommend that you use a switch control instead.

Configuration description

FieldDescriptionData typeRequired?Remarks
nameThe name of the control.stringYesNone.
typeThe type of the control.stringYesNone.
defaultThe default value.booleanNoIf this field is not specified, the default value is true.

Value description

ConditionData typeExampleDefault value
Nonebooleantruetrue

Configuration examples

Configuration example of a boolean control
"boolean": {
   "type": "boolean",
   "name": "Show",
}