User: admin@spiffworkflow.org clicked save for misc/test/e2e-8/upload-document-schema.json

This commit is contained in:
sartography-automated-committer 2023-01-20 21:15:28 +00:00
parent ab4cd85be3
commit 87ff7046ff

View File

@ -1,13 +1,65 @@
{
"title": "Upload Document",
"description": "",
"properties": {
"filesAccept": {
"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"
},
"invoiceCurrency": {
"$ref": "#/definitions/currencyEnum",
"title": "Select Currency"
},
"dueDate": {
"type": "string",
"title": "Due Date"
},
"commentSubmitter": {
"type": "string",
"title": "Comment"
}
}
},
"filesAccept": {
"type": "string",
"format": "data-url",
"title": "Upload Invoice PDF"
}
},
"required": []
}
}