2023-01-24 23:02:12 +00:00

29 lines
557 B
JSON

{
"definitions": {
"categoryEnum": {
"title": "Category",
"type": "string",
"anyOf": [
"options_from_task_data_var:category_enum_list"
]
},
"title": "Form",
"description": "Testing validations",
"type": "object",
"required": [
"AnyText"
],
"properties": {
"AnyText": {
"type": "string",
"title": "Enter text:",
"minLength": 5,
"maxLength": 8
},
"category": {
"$ref": "#/definitions/categoryEnum",
"title": "Category",
"default": "equip"
}
}
}