Skip to content

Instantly share code, notes, and snippets.

@oguzhanvarsak
Created August 24, 2021 14:08
Show Gist options
  • Save oguzhanvarsak/853e9819fdab94916f6628787178a2b8 to your computer and use it in GitHub Desktop.
Save oguzhanvarsak/853e9819fdab94916f6628787178a2b8 to your computer and use it in GitHub Desktop.
Birthday Party PKPass
{
"formatVersion" : 1,
"passTypeIdentifier" : "pass.com.oguzhanvarsak.event",
"serialNumber" : "nmyuxofgna",
"teamIdentifier" : "XXXXXXXXX",
"webServiceURL" : "https://example.com/passes/",
"authenticationToken" : "XXXXXXXXXXX",
"relevantDate" : "2021-08-28T00:00-18:00",
"locations" : [
{
"longitude" : 12.345678,
"latitude" : 12.345678,
"relevantText" : "You're near my home."
}
],
"barcode" : {
"message" : "https://goo.gl/maps/XXXXXXXXXXXX",
"format" : "PKBarcodeFormatQR",
"messageEncoding" : "iso-8859-1"
},
"organizationName" : "Oğuzhan Varsak",
"description" : "Event Ticket",
"foregroundColor" : "rgb(255, 255, 255)",
"backgroundColor" : "rgb(21, 21, 21)",
"labelColor" : "rgb(255, 255, 255)",
"eventTicket" : {
"headerFields" : [
{
"label" : "EVENT DATE",
"key" : "gate",
"value" : "28/08, 19:30"
}
],
"secondaryFields" : [
{
"key" : "event",
"label" : "EVENT",
"value" : "Oğuzhan's Birthday Party"
}
],
"auxiliaryFields" : [
{
"key" : "adress",
"label" : "ADRESS",
"value" : "Scan the barcode below or touch the button on top right corner."
}
],
"backFields" : [
{
"key" : "adress",
"label" : "Adress",
"value" : "Beşiktaş/İstanbul"
},
{
"key" : "maps",
"label" : "Google Maps",
"value" : "https://goo.gl/maps/XXXXXXXXXXXXx"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment