{ "$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" ] } } }