{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/checkout-econtext-voucher-details-schema.json", "title": "EcontextVoucherDetails", "description": "EcontextVoucherDetails schema from Adyen API", "type": "object", "properties": { "checkoutAttemptId": { "x-addedInVersion": "68", "description": "The checkout attempt identifier.", "type": "string" }, "firstName": { "description": "The shopper's first name.", "type": "string" }, "lastName": { "description": "The shopper's last name.", "type": "string" }, "shopperEmail": { "description": "The shopper's email.", "type": "string" }, "telephoneNumber": { "description": "The shopper's contact number. It must have an international number format, for example **+31 20 779 1846**. Formats like **+31 (0)20 779 1846** or **0031 20 779 1846** are not accepted.", "type": "string" }, "type": { "description": "**econtextvoucher**", "enum": [ "econtext_seveneleven", "econtext_stores" ], "type": "string" } }, "required": [ "type", "firstName", "lastName", "shopperEmail", "telephoneNumber" ], "additionalProperties": false }