Group
Group controls together to create a section of related controls.
Schema
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"title": "Group Control",
"description": "Renders related controls together in a group.",
"type": "object",
"required": [
"label",
"children"
],
"properties": {
"control": {
"const": "group"
},
"label": {
"title": "Label",
"description": "Group label",
"type": "string"
},
"children": {
"description": "List of contained controls",
"type": "array",
"items": {
"type": "object"
}
}
}
}
Example
{
"control": "group",
"label": "Banner",
"children": [
{
"option": "input",
"label": "Text",
"value": {
"$ref": "#/schema/header"
}
},
{
"option": "checkbox",
"label": "Visible",
"value": {
"$ref": "#/schema/showHeader"
}
}
]
}