demo-process-models/potentially-promote-to-exam.../form-with-nested-items/form_with_nested_items_sche...

52 lines
1.1 KiB
JSON

{
"title": "A list of tasks",
"type": "object",
"required": [
"title"
],
"properties": {
"title": {
"type": "string",
"title": "Task list title"
},
"tasks": {
"type": "array",
"title": "Tasks",
"items": {
"type": "object",
"required": [
"title"
],
"properties": {
"title": {
"type": "string",
"title": "Title",
"description": "A sample title"
},
"details": {
"type": "string",
"title": "Task details",
"description": "Enter the task details"
},
"start_date": {
"type": "string",
"title": "start date",
"format": "date",
"minimumDate": "today"
},
"end_date": {
"type": "string",
"title": "end date",
"format": "date",
"minimumDate": "field:start_date"
},
"done": {
"type": "boolean",
"title": "Done?",
"default": false
}
}
}
}
}
}