From bb81af0b2bdf326c4e8bb685ae53d8c03cecb10c Mon Sep 17 00:00:00 2001 From: sartography-automated-committer Date: Wed, 21 Feb 2024 05:14:54 +0000 Subject: [PATCH] User: dan@sartography.com clicked save for examples/2-in-depth/events/escalation-events/choose-schema.json --- .../escalation-events/choose-schema.json | 22 ++++++++++++++++++- .../escalation-events/choose-uischema.json | 6 ++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/examples/2-in-depth/events/escalation-events/choose-schema.json b/examples/2-in-depth/events/escalation-events/choose-schema.json index 9e26dfee..76d3f374 100644 --- a/examples/2-in-depth/events/escalation-events/choose-schema.json +++ b/examples/2-in-depth/events/escalation-events/choose-schema.json @@ -1 +1,21 @@ -{} \ No newline at end of file +{ + "title": "Multiple Choice List", + "description": "Build a multiple choice list with a predefined list of options", + "type": "object", + "properties": { + "multipleChoicesList": { + "type": "array", + "title": "A multiple choices list", + "items": { + "type": "string", + "enum": [ + "foo", + "bar", + "fuzz", + "qux" + ] + }, + "uniqueItems": true + } + } +} \ No newline at end of file diff --git a/examples/2-in-depth/events/escalation-events/choose-uischema.json b/examples/2-in-depth/events/escalation-events/choose-uischema.json index 9e26dfee..fb75fa4e 100644 --- a/examples/2-in-depth/events/escalation-events/choose-uischema.json +++ b/examples/2-in-depth/events/escalation-events/choose-uischema.json @@ -1 +1,5 @@ -{} \ No newline at end of file +{ + "multipleChoicesList": { + "ui:widget": "checkboxes" + } +} \ No newline at end of file