41 lines
837 B
JSON
41 lines
837 B
JSON
|
{
|
||
|
"title": "Submit Invoice",
|
||
|
"description": "Information for submitting an invoice.",
|
||
|
"type": "object",
|
||
|
"required": [
|
||
|
"invoice.contributorName",
|
||
|
"invoice.contributorId",
|
||
|
"invoice.invoiceId",
|
||
|
"invoice.invoiceAmount",
|
||
|
"invoice.dueDate"
|
||
|
],
|
||
|
"properties": {
|
||
|
"invoice.contributorName": {
|
||
|
"type": "string",
|
||
|
"title": "Contributor Name"
|
||
|
},
|
||
|
"invoice.contributorId": {
|
||
|
"type": "integer",
|
||
|
"title": "Contributor Id",
|
||
|
"minLength": 2
|
||
|
},
|
||
|
"invoice.invoiceId": {
|
||
|
"type": "integer",
|
||
|
"title": "Invoice Id",
|
||
|
"minLength": 4
|
||
|
},
|
||
|
"invoice.invoiceAmount": {
|
||
|
"type": "string",
|
||
|
"title": "Invoice Amount"
|
||
|
},
|
||
|
"invoice.dueDate": {
|
||
|
"type": "string",
|
||
|
"title": "Due Date"
|
||
|
},
|
||
|
"filesAccept": {
|
||
|
"type": "string",
|
||
|
"format": "data-url",
|
||
|
"title": "Upload Invoice PDF"
|
||
|
}
|
||
|
}
|
||
|
}
|