tiramisu/tests/dict/data/choice1_leadership_hidden.json

93 lines
2.2 KiB
JSON
Raw Normal View History

{
"schema": {
"options": {
"name": "options",
"properties": {
"options.choice1": {
"name": "options.choice1",
"properties": {
"options.choice1.choice1": {
"name": "options.choice1.choice1",
"type": "choice",
"isMulti": true,
"enum": [
"choice 1",
"choice 2"
],
"title": "Choice description leader"
},
"options.choice1.choice2": {
"name": "options.choice1.choice2",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 3",
"choice 4"
],
"title": "Choice description follower 1"
},
"options.choice1.choice3": {
"name": "options.choice1.choice3",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 5",
"choice 6"
],
"title": "Choice description follower 2 hidden"
},
"options.choice1.choice4": {
"name": "options.choice1.choice4",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 7",
"choice 8"
],
"title": "Choice description follower 3"
}
},
"type": "array",
"title": "Slave 2 is hidden"
}
},
"type": "object",
"title": "Common configuration 2"
}
},
"model": {
"options.choice1.choice1": {
"required": true
},
"options.choice1.choice3": {
"null": {
"display": false,
"hidden": true
}
}
},
"form": {
"options.choice1.choice1": {
"type": "choice"
},
"options.choice1.choice2": {
"type": "choice"
},
"options.choice1.choice3": {
"type": "choice"
},
"options.choice1.choice4": {
"type": "choice"
},
"null": [
{
"title": "Configurer",
"type": "submit"
}
]
},
"version": "1.0"
}