tiramisu-api-python/test/data/choice1_master_slaves.json

90 lines
2.1 KiB
JSON

{
"schema": {
"options": {
"name": "options",
"properties": {
"options.choice1": {
"name": "options.choice1",
"properties": {
"options.choice1.choice1": {
"name": "options.choice1.choice1",
"title": "Choice description master",
"type": "choice",
"isMulti": true,
"enum": [
"choice 1",
"choice 2"
]
},
"options.choice1.choice2": {
"name": "options.choice1.choice2",
"title": "Choice description slave 1",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 3",
"choice 4"
]
},
"options.choice1.choice3": {
"name": "options.choice1.choice3",
"title": "Choice description slave 2",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 5",
"choice 6"
]
},
"options.choice1.choice4": {
"name": "options.choice1.choice4",
"title": "Choice description slave 3",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 7",
"choice 8"
]
}
},
"type": "array",
"title": "Common configuration 1"
}
},
"type": "object",
"title": "Common configuration 2"
}
},
"model": [
{
"key": "options.choice1.choice1",
"required": true
}
],
"form": [
{
"type": "choice",
"key": "options.choice1.choice1"
},
{
"type": "choice",
"key": "options.choice1.choice2"
},
{
"type": "choice",
"key": "options.choice1.choice3"
},
{
"type": "choice",
"key": "options.choice1.choice4"
},
{
"title": "Configurer",
"type": "submit"
}
]
}