38 lines
644 B
JSON
38 lines
644 B
JSON
{
|
|
"schema": {
|
|
"options": {
|
|
"name": "options",
|
|
"properties": {
|
|
"options.choice": {
|
|
"name": "options.choice",
|
|
"title": "Choice description",
|
|
"type": "choice",
|
|
"isMulti": true,
|
|
"enum": [
|
|
"choice 1",
|
|
"choice 2"
|
|
]
|
|
}
|
|
},
|
|
"type": "object",
|
|
"title": "Common configuration"
|
|
}
|
|
},
|
|
"model": [
|
|
{
|
|
"key": "options.choice",
|
|
"required": true
|
|
}
|
|
],
|
|
"form": [
|
|
{
|
|
"type": "choice",
|
|
"key": "options.choice"
|
|
},
|
|
{
|
|
"title": "Configurer",
|
|
"type": "submit"
|
|
}
|
|
]
|
|
}
|