duck-creek · Schema
Invoice
Properties
| Name | Type | Description |
|---|---|---|
| invoiceId | string | |
| accountId | string | |
| invoiceDate | string | |
| dueDate | string | |
| amount | number | |
| status | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Invoice",
"title": "Invoice",
"type": "object",
"properties": {
"invoiceId": {
"type": "string"
},
"accountId": {
"type": "string"
},
"invoiceDate": {
"type": "string",
"format": "date"
},
"dueDate": {
"type": "string",
"format": "date"
},
"amount": {
"type": "number"
},
"status": {
"type": "string",
"enum": [
"DUE",
"PAID",
"OVERDUE",
"VOID"
]
}
}
}