diff --git a/examples/models/posterEventTicketWithUpcomingEvents.pass/artwork.png b/examples/models/posterEventTicketWithUpcomingEvents.pass/artwork.png new file mode 100644 index 0000000..27a57ba Binary files /dev/null and b/examples/models/posterEventTicketWithUpcomingEvents.pass/artwork.png differ diff --git a/examples/models/posterEventTicketWithUpcomingEvents.pass/artwork@3x.png b/examples/models/posterEventTicketWithUpcomingEvents.pass/artwork@3x.png new file mode 100644 index 0000000..dccbc20 Binary files /dev/null and b/examples/models/posterEventTicketWithUpcomingEvents.pass/artwork@3x.png differ diff --git a/examples/models/posterEventTicketWithUpcomingEvents.pass/icon.png b/examples/models/posterEventTicketWithUpcomingEvents.pass/icon.png new file mode 100644 index 0000000..0d9892c Binary files /dev/null and b/examples/models/posterEventTicketWithUpcomingEvents.pass/icon.png differ diff --git a/examples/models/posterEventTicketWithUpcomingEvents.pass/logo.png b/examples/models/posterEventTicketWithUpcomingEvents.pass/logo.png new file mode 100644 index 0000000..a71b6f2 Binary files /dev/null and b/examples/models/posterEventTicketWithUpcomingEvents.pass/logo.png differ diff --git a/examples/models/posterEventTicketWithUpcomingEvents.pass/pass.json b/examples/models/posterEventTicketWithUpcomingEvents.pass/pass.json new file mode 100644 index 0000000..6c70857 --- /dev/null +++ b/examples/models/posterEventTicketWithUpcomingEvents.pass/pass.json @@ -0,0 +1,156 @@ +{ + "formatVersion": 1, + "passTypeIdentifier": "pass.com.passkitgenerator", + "teamIdentifier": "F53WB8AE67", + "groupingIdentifier": "ticket-demo-upcoming-events", + "description": "Description", + "organizationName": "A some kind of event happening tomorrow", + "backgroundColor": "#ffffff", + "foregroundColor": "#000000", + "labelColor": "#FF0000", + "logoText": "Demo", + "preferredStyleSchemes": ["posterEventTicket", "eventTicket"], + "eventTicket": { + "headerFields": [ + { + "key": "event_date", + "label": "event-date", + "value": "26.09.2024" + } + ], + "primaryFields": [ + { "key": "event_name", "label": "event-name", "value": "Dune" } + ], + "additionalInfoFields": [ + { + "key": "additionalInfo-1", + "label": "Additional Info 1", + "value": "The text to show" + }, + { + "key": "additionalInfo-2", + "label": "Additional Info 2", + "value": "The text to show 2" + }, + { + "key": "lineItem3", + "label": "Emergency Contact", + "value": "+1 8716 12736131", + "dataDetectorTypes": ["PKDataDetectorTypePhoneNumber"] + }, + { + "key": "lineItem4", + "label": "Test link", + "value": "https://apple.com", + "dataDetectorTypes": ["PKDataDetectorTypeLink"], + "attributedValue": "Used literally on iPhone, used correctly on Watch" + } + ] + }, + "semantics": { + "venueParkingLotsOpenDate": "2025-10-09T04:00:00+00:00", + "venueGatesOpenDate": "2025-10-09T06:00:00+00:00", + "eventLiveMessage": "This event is going to start soon! Try to relax your anus (cit.)", + "eventType": "PKEventTypeLivePerformance", + "eventName": "South Bay Jazz Festival", + "entranceDescription": "Event at The Stadium", + "venueLocation": { + "latitude": 51.555557, + "longitude": 0.238041 + }, + "venueName": "The Stadium", + "performerNames": ["Lady Gaga"], + "eventStartDate": "2025-10-08T22:00:00+00:00", + "eventEndDate": "2025-10-09T23:59:59+00:00", + "tailgatingAllowed": true, + "seats": [ + { + "seatNumber": "5", + "seatRow": "3", + "seatSection": "100", + "seatSectionColor": "#FFD700" + } + ], + "artistIDs": ["984117861"] + }, + "directionsInformationURL": "https://www.displaysomeinfoexample.com", + "contactVenueWebsite": "https://www.venueexample.com", + "relevantDates": [ + { + "startDate": "2025-10-09T17:00:00+01:00", + "endDate": "2025-10-09T23:59:59+01:00" + }, + { + "startDate": "2025-10-10T17:00:00+00:00", + "endDate": "2025-10-10T19:00:00+00:00" + }, + { + "startDate": "2025-10-11T17:00:00+00:00", + "endDate": "2025-10-11T19:00:00+00:00" + } + ], + "nfc": { + "message": "message", + "encryptionPublicKey": "MDkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDIgADwKMBv29ByaSLiGF0FctuyB+Hs2oZ1kDIYhTVllPexNE=" + }, + "upcomingPassInformation": [ + { + "type": "event", + "identifier": "dnb-event", + "isActive": true, + "name": "Drum'n'Bass Night", + "dateInformation": { + "date": "2025-09-18T00:00:00+01:00", + "timeZone": "Europe/Rome", + "isAllDay": true + }, + "semantics": { + "venueName": "The Stadium", + "venuePlaceID": "IB452E0A3979253B0", + "venueLocation": { + "latitude": 37.334859, + "longitude": -122.00904 + }, + "seats": [ + { + "seatNumber": "1", + "seatRow": "A", + "seatSection": "100" + } + ], + "performerNames": ["Maduk"], + "venueParkingLotsOpenDate": "2025-11-09T04:00:00+00:00", + "venueGatesOpenDate": "2025-11-09T06:00:00+00:00", + "eventType": "PKEventTypeLivePerformance", + "eventName": "South Bay Jazz Festival", + "entranceDescription": "Event at The Stadium", + "eventStartDate": "2025-11-08T22:00:00+00:00", + "eventEndDate": "2025-11-09T23:59:59+00:00" + }, + "additionalInfoFields": [ + { + "key": "huehueheu", + "label": "Line Item 1", + "value": "Value 1" + } + ], + "backFields": [ + { + "key": "huehueheu1", + "label": "Line Item 1", + "value": "Value 1" + } + ], + "URLs": { + "merchandiseURL": "https://www.example.com/merchandise", + "parkingInformationURL": "https://www.example.com/parking", + "transferURL": "https://www.example.com/transfer" + }, + "images": { + "venueMap": { + "reuseExisting": true + } + } + } + ] +} diff --git a/examples/models/posterEventTicketWithUpcomingEvents.pass/strip@3x.png b/examples/models/posterEventTicketWithUpcomingEvents.pass/strip@3x.png new file mode 100644 index 0000000..dccbc20 Binary files /dev/null and b/examples/models/posterEventTicketWithUpcomingEvents.pass/strip@3x.png differ diff --git a/examples/models/posterEventTicketWithUpcomingEvents.pass/venueMap.png b/examples/models/posterEventTicketWithUpcomingEvents.pass/venueMap.png new file mode 100644 index 0000000..32121bf Binary files /dev/null and b/examples/models/posterEventTicketWithUpcomingEvents.pass/venueMap.png differ