64 lines
1.1 KiB
JSON
64 lines
1.1 KiB
JSON
{
|
|
"definitions": {
|
|
"currencyEnum": {
|
|
"title": "Currency",
|
|
"type": "string",
|
|
"anyOf": [
|
|
"options_from_task_data_var:enumerations_list"
|
|
]
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"filesAccept"
|
|
],
|
|
"properties": {
|
|
"invoice": {
|
|
"type": "object",
|
|
"required": [
|
|
"contributorName",
|
|
"contributorId",
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"filesAccept": {
|
|
"type": "string",
|
|
"format": "data-url",
|
|
"title": "Upload Invoice PDF"
|
|
}
|
|
}
|
|
} |