mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-24 13:48:10 +00:00
User: admin@spiffworkflow.org clicked save for misc/test/e2e-8/upload-document-schema.json
This commit is contained in:
parent
ab4cd85be3
commit
87ff7046ff
@ -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": []
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user