{ "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 hidden", "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": "Slave 2 is hidden" } }, "type": "object", "title": "Common configuration 2" } }, "model": [ { "key": "options.choice1.choice1", "required": true }, { "key": "options.choice1.choice3", "hidden": true, "display": false } ], "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" } ] }