50 lines
1.1 KiB
JSON
Raw Normal View History

2022-08-17 18:20:52 -04:00
{
2022-10-03 12:42:47 -04:00
"definitions": {
"currencyEnum": {
"title":"Currency"
2022-10-03 12:42:47 -04:00
"type": "string",
"anyOf": [{
"options_from_task_data_var:currency_enum_options"
2022-10-03 12:42:47 -04:00
]
}
},
"title": "Submit Invoice",
"description": "Information for submitting an invoice.",
2022-08-17 18:20:52 -04:00
"type": "object",
"required": [
2022-10-03 12:42:47 -04:00
"invoice.contributorName",
"invoice.contributorId",
"invoice.invoiceId",
"invoice.invoiceAmount",
"invoice.invoiceCurrency",
"invoice.dueDate"
2022-08-17 18:20:52 -04:00
],
"properties": {
2022-10-03 12:42:47 -04:00
"invoice.contributorName": {
2022-08-17 18:20:52 -04:00
"type": "string",
"title": "Contributor Name"
2022-08-17 18:20:52 -04:00
},
2022-10-03 12:42:47 -04:00
"invoice.contributorId": {
"type": "integer",
"title": "Contributor Id",
2022-10-03 12:42:47 -04:00
"minLength": 2
},
2022-10-03 12:42:47 -04:00
"invoice.invoiceId": {
"type": "integer",
"title": "Invoice Id",
"minLength": 4
},
2022-10-03 12:42:47 -04:00
"invoice.invoiceAmount": {
"type": "number",
"title": "Invoice Amount"
2022-08-17 18:20:52 -04:00
},
2022-10-03 12:42:47 -04:00
"invoice.invoiceCurrency": {
"$ref": "#/definitions/currencyEnum",
"title": "Select Currency"
},
"invoice.dueDate": {
2022-08-17 18:20:52 -04:00
"type": "string",
"title": "Due Date"
2022-08-17 18:20:52 -04:00
}
}
}