sample-process-models/misc/demo/admin-demo-1/Submit-the-invoice_JSONSche...

51 lines
983 B
JSON

{
"title": "Submit Invoice",
"description": "Information for submitting an invoice.",
"type": "object",
"required": [
"contributorName",
"contributorId",
"invoiceId",
"invoiceAmount",
"invoiceCurrency",
"dueDate"
],
"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": {
"type": "string",
"title": "Select Currency",
"enum": [
"Australian Dollar (AUD)",
"Euro (EUR)",
"US Dollar (USD)"
]
},
"dueDate": {
"type": "string",
"title": "Due Date"
},
"filesAccept": {
"type": "string",
"format": "data-url",
"title": "Upload Invoice PDF"
}
}
}