demo-process-models/playground/matplus/thies-marwitz/create-part-information-schema.json

58 lines
1.2 KiB
JSON
Raw Normal View History

{
"title": "Nested Form / Repeating Section",
"description": "Allow the form submitter to add multiple entries for a set of fields.",
"type": "object",
"required": [
"partNumber",
"serialNumber"
],
"properties": {
"partNumber": {
"type": "string",
"title": "Part Number",
"default": "12345"
},
"serialNumber": {
"type": "string",
"title": "Serial Number",
"default": "01"
},
"confirmationNumber": {
"type": "string",
"title": "Confirmation Number",
"default": "1234"
},
"partDesignation": {
"type": "string",
"title": "Part Designation",
"default": "Test Part"
},
"city": {
"type": "string",
"format": "date",
"title": "Select a city"
},
"tasks": {
"type": "array",
"title": "Tasks",
"items": {
"type": "object",
"required": [
"title"
],
"properties": {
"title": {
"type": "string",
"title": "Title",
"description": "Please describe the task to complete"
},
"done": {
"type": "boolean",
"title": "Done?",
"default": false
}
}
}
}
}
}