Skip to content

Instantly share code, notes, and snippets.

@oguzhanvarsak
Created August 24, 2021 12:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oguzhanvarsak/8e1eeb93abf71f1b089132d58f03259b to your computer and use it in GitHub Desktop.
Save oguzhanvarsak/8e1eeb93abf71f1b089132d58f03259b to your computer and use it in GitHub Desktop.
Template pass
{
"description" : "Boarding pass for October 4, San Francisco to London",
"formatVersion" : 1,
"passTypeIdentifier" : "pass.com.example.boarding-pass",
"serialNumber" : "123456",
"boardingPass" : {
"primaryFields" : [
{
"key" : "origin",
"label" : "San Francisco",
"value" : "SFO"
},
{
"key" : "destination",
"label" : "London",
"value" : "LHR"
}
],
"secondaryFields" : [
{
"key" : "boarding-gate",
"label" : "Gate",
"value" : "F12"
}
],
"auxiliaryFields" : [
{
"key" : "seat",
"label" : "Seat",
"value" : "7A"
},
{
"key" : "passenger-name",
"label" : "Passenger",
"value" : "John Appleseed"
}
],
"transitType" : "PKTransitTypeAir"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment