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

1 line
1.8 KiB
JSON

{"schema": {"choice1_leadership_hidden.options": {"name": "choice1_leadership_hidden.options", "properties": {"choice1_leadership_hidden.options.choice1": {"name": "choice1_leadership_hidden.options.choice1", "properties": {"choice1_leadership_hidden.options.choice1.choice1": {"name": "choice1_leadership_hidden.options.choice1.choice1", "type": "choice", "isMulti": true, "enum": ["choice 1", "choice 2"], "title": "Choice description leader"}, "choice1_leadership_hidden.options.choice1.choice2": {"name": "choice1_leadership_hidden.options.choice1.choice2", "type": "choice", "isMulti": true, "enum": ["", "choice 3", "choice 4"], "title": "Choice description follower 1"}, "choice1_leadership_hidden.options.choice1.choice3": {"name": "choice1_leadership_hidden.options.choice1.choice3", "type": "choice", "isMulti": true, "enum": ["", "choice 5", "choice 6"], "title": "Choice description follower 2 hidden"}, "choice1_leadership_hidden.options.choice1.choice4": {"name": "choice1_leadership_hidden.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": [{"key": "choice1_leadership_hidden.options.choice1.choice1", "required": true}, {"key": "choice1_leadership_hidden.options.choice1.choice3", "display": false, "hidden": true}], "form": [{"key": "choice1_leadership_hidden.options.choice1.choice1", "type": "choice"}, {"key": "choice1_leadership_hidden.options.choice1.choice2", "type": "choice"}, {"key": "choice1_leadership_hidden.options.choice1.choice3", "type": "choice"}, {"key": "choice1_leadership_hidden.options.choice1.choice4", "type": "choice"}, {"title": "Configurer", "type": "submit"}]}