mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-25 14:15:14 +00:00
48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
|
{
|
||
|
"title": "Nested Form / Repeating Section",
|
||
|
"description": "Allow the form submitter to add multiple entries for a set of fields.",
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"tasks": {
|
||
|
"type": "array",
|
||
|
"title": "Tasks",
|
||
|
"items": {
|
||
|
"type": "object",
|
||
|
"required": [
|
||
|
"name","description",
|
||
|
"start_date",
|
||
|
"amount","url"
|
||
|
],
|
||
|
"properties": {
|
||
|
"name": {
|
||
|
"type": "string",
|
||
|
"title": "Name",
|
||
|
"description": "Your name"
|
||
|
},
|
||
|
"description": {
|
||
|
"type": "string",
|
||
|
"title": "Description",
|
||
|
"description": "Please describe the task to complete"
|
||
|
},
|
||
|
"done": {
|
||
|
"type": "boolean",
|
||
|
"title": "Done?",
|
||
|
"default": false
|
||
|
},
|
||
|
"start_date": {
|
||
|
"type": "string",
|
||
|
"title": "Start Date"
|
||
|
},
|
||
|
"amount": {
|
||
|
"type": "number",
|
||
|
"title": "Amount"
|
||
|
},
|
||
|
"url": {
|
||
|
"type": "string",
|
||
|
"title": "URL"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|