tiramisu-api-python/test/data/choice1_master_slaves_value...

100 lines
2.2 KiB
JSON

{
"schema": {
"options": {
"name": "options",
"properties": {
"options.choice1": {
"name": "options.choice1",
"properties": {
"options.choice1.choice1": {
"name": "options.choice1.choice1",
"title": "Choice master",
"type": "choice",
"isMulti": true,
"enum": [
"choice 1",
"choice 2"
]
},
"options.choice1.choice2": {
"name": "options.choice1.choice2",
"title": "Choice slave 1",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 3",
"choice 4"
]
},
"options.choice1.choice3": {
"name": "options.choice1.choice3",
"title": "Choice slave 2",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 5",
"choice 6"
]
},
"options.choice1.choice4": {
"name": "options.choice1.choice4",
"title": "Choice 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,
"value": [
"choice 2"
],
"owner": "user"
},
{
"key": "options.choice1.choice2",
"index": 0,
"value": "choice 4",
"owner": "user"
}
],
"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"
}
]
}