Skip to content

Instantly share code, notes, and snippets.

@grundyoso
Created April 27, 2019 21:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grundyoso/b26be5a9a5698dd0eafc4ecbc0ef56ba to your computer and use it in GitHub Desktop.
Save grundyoso/b26be5a9a5698dd0eafc4ecbc0ef56ba to your computer and use it in GitHub Desktop.
{
"formatVersion" : 1,
"passTypeIdentifier" : "pass.com.ndudfield.nfc",
"serialNumber" : "8j23fm3",
"webServiceURL" : "https://passninja.com/passes/",
"authenticationToken" : "vxwxd7J8AlNNFPS8k0a0FfUFtq0ewzFdc",
"teamIdentifier" : "Q338UYGFZ8",
"barcode" : {
"message" : "123456789",
"format" : "PKBarcodeFormatPDF417",
"messageEncoding" : "iso-8859-1"
},
"organizationName" : "Nissan",
"description" : "Vehicle digital key",
"foregroundColor" : "rgb(255, 255, 255)",
"backgroundColor" : "rgb(0, 0, 0)",
"labelColor" : "rgb(230, 204, 122)",
"generic" : {
"primaryFields" : [
{
"key" : "member",
"value" : "Vehicle Key"
}
],
"secondaryFields" : [
{
"key" : "subtitle",
"label" : "MODEL",
"value" : "2014 Juke"
},
{
"key" : "subtitle",
"label" : "LICENSE PLATE",
"value" : "ET8412"
}
],
"auxiliaryFields" : [
{
"key" : "owner",
"label" : "OWNER",
"value" : "Richard Grundy"
},
{
"key" : "expires",
"label" : "EXPIRES",
"value" : "21:20 EST"
}
],
"backFields" : [
{
"key" : "announcement",
"label" : "",
"value" : "This pass is powered by PassNinja and is intended for demonstration purposes only. To learn more, email info@passninja.com."
},
{
"key" : "website",
"label" : "Web",
"value" : "http://passninja.com/"
},
],
},
"nfc" : {
"message" : "80550101",
"encryptionPublicKey" : "MDkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDIgADK5Eqz4qz1/jWpk0EeehgIShMWFzr+iBT28lEaO4ZUBc="
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment