Created
August 13, 2017 16:17
-
-
Save a2/af0d4f801cff75c85cea9bc30331c672 to your computer and use it in GitHub Desktop.
Swiftly Passcards
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| // must be 1 | |
| "formatVersion": 1, | |
| // required for "dynamic" passes | |
| "authenticationToken": "<secret>", | |
| "serialNumber": "<secret>", | |
| "webServiceURL": "https://pass.a2.io/", | |
| // top-left "logo" text | |
| "logoText": "Alexsander Akers", | |
| // barcode data, handy for scanning with the Wallet app | |
| "barcode": { | |
| // PDF417 is a cool format but you can use QR or Aztec | |
| "format": "PKBarcodeFormatPDF417", | |
| "message": "https://pass.a2.io/.pkpass", | |
| "messageEncoding": "iso-8859-1" | |
| }, | |
| // optional metadata | |
| "description": "Alexsander Akers", | |
| "organizationName": "Alexsander Akers", | |
| // style colors as rgb strings | |
| "backgroundColor": "rgb(0, 168, 143)", // #00a88f | |
| "foregroundColor": "rgb(255, 255, 255)", // white | |
| "labelColor": "rgb(255, 255, 255)", // white | |
| // style key | |
| "storeCard": { | |
| // secondary fields are below the strip image | |
| "secondaryFields": [ | |
| { "key": "email", "label": "Email", "value": "[email protected]" }, | |
| { "key": "twitter", "label": "Twitter", "value": "@a2" } | |
| ], | |
| // back fields, interface revealed with (i) button | |
| "backFields": [ | |
| { "key": "email-back", "label": "Email", "value": "[email protected]" }, | |
| { "key": "facebook", "label": "Facebook", "value": "fb.com/a2" }, | |
| { "key": "github", "label": "GitHub", "value": "github.com/a2" }, | |
| { "key": "website", "label": "Website", "value": "a2.io" } | |
| ] | |
| }, | |
| // signing data | |
| "passTypeIdentifier": "<secret>", | |
| "teamIdentifier": "<secret>" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment