Skip to main content

Ticket

A digital ticket represents an electronic ticket for an event, which includes details about the ticket type, validity period, admission, access, seat, QR code, barcode, and terms and conditions.

Data Structure

FieldTypeDescriptionMandatoryReference
eventCDIDThe associated eventYesEvent
typestringThe type of the ticket (e.g., VIP, General)Yes
validFromDateTimeThe date and time when the ticket becomes validYes
validUntilDateTimeThe date and time when the ticket expiresYes
admissionstringThe type of admission granted by the ticketYes
accessarrayArray of access areas or featuresNo
seat.sectionstringThe section where the seat is locatedNo
seat.rowstringThe row where the seat is locatedNo
seat.numberstringThe seat numberNo
qrCodestringThe QR code associated with the ticketNo
barcodestringThe barcode associated with the ticketNo
termsAndConditionsstringThe terms and conditions for the ticketNo

Example

{
"event": "e8a8d0f0-91c1-49a7-9e9f-92c9c23d1d23",
"type": "VIP",
"validFrom": "2023-06-20T18:00:00",
"validUntil": "2023-06-20T23:59:59",
"admission": "Concert",
"access": ["Backstage", "VIP Lounge"],
"seat": {
"section": "A",
"row": "1",
"number": "12"
},
"qrCode": "https://example.com/qrcode/123456",
"barcode": "123456789012",
"termsAndConditions": "Ticket is non-refundable and non-transferable."
}