{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amdocs/refs/heads/main/json-schema/connectx-invoice-schema.json", "title": "Invoice", "description": "Invoice schema from Amdocs API", "type": "object", "properties": { "invoiceId": { "type": "string" }, "invoiceNumber": { "type": "string" }, "customerId": { "type": "string" }, "status": { "type": "string", "enum": [ "Open", "Paid", "Overdue", "Cancelled" ] }, "invoiceDate": { "type": "string", "format": "date" }, "dueDate": { "type": "string", "format": "date" }, "totalAmount": { "type": "number" }, "taxAmount": { "type": "number" }, "currency": { "type": "string" }, "lineItems": { "type": "array", "items": { "$ref": "#/components/schemas/InvoiceLineItem" } } } }