sample-process-models/misc/test/e2e-8/upload-document-schema.json

61 lines
1.0 KiB
JSON
Raw Normal View History

{
"definitions": {
"currencyEnum": {
"title": "Currency",
"type": "string",
"anyOf": [
"options_from_task_data_var:enumerations_list"
]
}
},
"type": "object",
"required": [
"filesAccept"
],
"properties": {
"invoice": {
"type": "object",
"required": [
"invoiceId",
"invoiceAmount",
"invoiceCurrency",
"dueDate"
],
"title": "",
"properties": {
"contributorName": {
"type": "string",
"title": "Contributor Name"
},
"contributorId": {
"type": "integer",
"title": "Contributor Id",
"minLength": 2
},
"invoiceId": {
"type": "integer",
"title": "Invoice Id",
"minLength": 4
},
"invoiceAmount": {
"type": "number",
"title": "Invoice Amount"
},
"dueDate": {
"type": "string",
"title": "Due Date"
},
"commentSubmitter": {
"type": "string",
"title": "Comment"
}
}
},
"filesAccept": {
"type": "string",
"format": "data-url",
"title": "Upload Invoice PDF"
}
}
}