mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-24 05:38:06 +00:00
55 lines
1.1 KiB
JSON
55 lines
1.1 KiB
JSON
{
|
|
"definitions": {
|
|
"currencyEnum": {
|
|
"title": "Currency",
|
|
"type": "string",
|
|
"anyOf": [
|
|
"options_from_task_data_var:currency_enum_options"
|
|
]
|
|
}
|
|
},
|
|
"title": "Submit Invoice",
|
|
"description": "Information for submitting an invoice.",
|
|
"type": "object",
|
|
"required": [
|
|
"invoice.contributorName",
|
|
"invoice.contributorId",
|
|
"invoice.invoiceId",
|
|
"invoice.invoiceAmount",
|
|
"invoice.invoiceCurrency",
|
|
"invoice.dueDate"
|
|
],
|
|
"properties": {
|
|
"invoice.contributorName": {
|
|
"type": "string",
|
|
"title": "Contributor Name"
|
|
},
|
|
"invoice.contributorId": {
|
|
"type": "integer",
|
|
"title": "Contributor Id",
|
|
"minLength": 2
|
|
},
|
|
"invoice.invoiceId": {
|
|
"type": "string",
|
|
"title": "Invoice Id",
|
|
"minLength": 4
|
|
},
|
|
"invoice.invoiceAmount": {
|
|
"type": "integer",
|
|
"title": "Invoice Amount"
|
|
},
|
|
"invoice.invoiceCurrency": {
|
|
"$ref": "#/definitions/currencyEnum",
|
|
"title": "Select Currency"
|
|
},
|
|
"invoice.dueDate": {
|
|
"type": "string",
|
|
"title": "Due Date"
|
|
},
|
|
"filesAccept": {
|
|
"type": "string",
|
|
"format": "data-url",
|
|
"title": "Upload Invoice PDF"
|
|
}
|
|
}
|
|
} |