sample-process-models/misc/qa/forms/test-radio-button-2/test-radio-button-2-schema.json
2024-07-15 10:51:00 -04:00

52 lines
1012 B
JSON

{
"title": "A Simple Form to test Radio Buttons",
"description": "Simple Radio button with multiple options",
"properties": {
"schoolyear": {
"title": "What is your school year? (Required*)",
"type": "number",
"oneOf": [
{
"const": 10,
"title": "Freshman"
},
{
"const": 20,
"title": "Sophomore"
},
{
"const": 30,
"title": "Junior"
},
{
"const": 40,
"title": "Senior"
}
]
},
"my_number": {
"title": "Select number? (Not Required)",
"type": "number",
"oneOf": [
{
"type": "number",
"title": "One",
"enum": [1]
},
{
"type": "number",
"title": "2",
"enum": [2]
},
{
"type": "number",
"title": "Num 3",
"enum": [3]
}
]
}
},
"required": [
"schoolyear"
]
}