{ "version": 1, "title": "Poll Booth", "root": { "type": "panel", "id": "poll", "children": [ { "type": "text", "id": "prompt", "text": "Where should we go for lunch?" }, { "type": "select", "id": "choice", "name": "choice", "label": "Your vote", "options": [ { "label": "Ramen", "value": "ramen" }, { "label": "Pizza", "value": "pizza" }, { "label": "Salad", "value": "salad" } ], "value": "ramen" }, { "type": "button", "id": "vote", "label": "Submit vote", "action": "vote", "variant": "Primary" } ] } }