37 lines
659 B
JSON
37 lines
659 B
JSON
{
|
|
"schema": {
|
|
"options": {
|
|
"name": "options",
|
|
"properties": {
|
|
"options.choice": {
|
|
"name": "options.choice",
|
|
"title": "Choice description",
|
|
"type": "choice",
|
|
"enum": [
|
|
"",
|
|
"choice 1",
|
|
"choice 2"
|
|
]
|
|
}
|
|
},
|
|
"type": "object",
|
|
"title": "Common configuration"
|
|
}
|
|
},
|
|
"model": [],
|
|
"form": [
|
|
{
|
|
"type": "choice",
|
|
"key": "options.choice",
|
|
"displayed": {
|
|
"choice 1": "renamed 1",
|
|
"choice 2": "renamed 2"
|
|
}
|
|
},
|
|
{
|
|
"title": "Configurer",
|
|
"type": "submit"
|
|
}
|
|
]
|
|
}
|