type alias PassData

Data needed to generate a pass — maps to existing ticket/event data

Properties

Unique token identifying this ticket

Platform/domain name shown on the pass header

VoiceOver accessibility description for the pass

eventName: string

Event name displayed in the primary field

eventDate: string

ISO 8601 date used for relevantDate and secondary field

Venue shown in secondary field

attendeeDate: string | null

Selected date for daily/recurring events (null for one-off events)

quantity: number

Ticket quantity and price (in minor units, e.g. pence)

pricePaid: number
checkinUrl: string

Full URL encoded in the QR barcode

optional
foregroundColor: string

Optional pass colors (CSS rgb() format)

optional
backgroundColor: string
optional
labelColor: string