2022-08-17 18:20:52 -04:00
|
|
|
{
|
2022-10-31 18:37:05 +00:00
|
|
|
"definitions": {
|
|
|
|
"currencyEnum": {
|
|
|
|
"title": "Currency",
|
|
|
|
"type": "string",
|
|
|
|
"anyOf": [
|
|
|
|
"options_from_task_data_var:enumerations_list"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"title": "Submit Invoice",
|
|
|
|
"description": "Information for submitting an invoice.",
|
|
|
|
"type": "object",
|
|
|
|
"required": [
|
2022-10-31 18:45:11 +00:00
|
|
|
"invoice.contributorName",
|
|
|
|
"invoice.contributorId",
|
|
|
|
"invoice.invoiceId",
|
|
|
|
"invoice.invoiceAmount",
|
|
|
|
"invoice.invoiceCurrency",
|
|
|
|
"invoice.dueDate"
|
2022-10-31 18:37:05 +00:00
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"invoice": {
|
2022-10-31 18:35:41 +00:00
|
|
|
"type": "object",
|
2022-10-31 18:37:05 +00:00
|
|
|
"title": "",
|
2022-10-31 18:35:41 +00:00
|
|
|
"properties": {
|
2022-10-31 18:37:05 +00:00
|
|
|
"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"
|
|
|
|
}
|
2022-10-31 18:35:41 +00:00
|
|
|
}
|
|
|
|
},
|
2022-10-31 18:37:05 +00:00
|
|
|
"filesAccept": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "data-url",
|
|
|
|
"title": "Upload Invoice PDF"
|
|
|
|
}
|
|
|
|
}
|
2022-08-17 18:20:52 -04:00
|
|
|
}
|