-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add template format versions (#5)
Add folders for storing pass template versions
- Loading branch information
1 parent
1f12d3a
commit ab72a49
Showing
7 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"organizationName": "Nation3", | ||
"passTypeIdentifier": "pass.org.passport.nation3", | ||
"description": "Nation3 passports for Nation3 citizens.", | ||
"teamIdentifier": "6GU2F645A4", | ||
"backgroundColor": "rgb(255,255,255)", | ||
"foregroundColor": "rgb(34, 64, 89)", | ||
"labelColor": "rgb(115, 149, 178)", | ||
"formatVersion": 1, | ||
"storeCard": { | ||
"headerFields": [ | ||
{ "value": "not yet :)", "label": "Passport ID", "key": "id" } | ||
], | ||
"primaryFields": [], | ||
"secondaryFields": [ | ||
{ | ||
"fieldUUID": "526c80c0-c579-11ec-b5fd-e93a006cb46d", | ||
"value": "luisc.eth", | ||
"label": "Holder", | ||
"key": "holder" | ||
} | ||
] | ||
}, | ||
"barcodes": [ | ||
{ | ||
"message": "123456789", | ||
"format": "PKBarcodeFormatQR", | ||
"messageEncoding": "iso-8859-1" | ||
} | ||
] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"genericType": "GENERIC_TYPE_UNSPECIFIED", | ||
"hexBackgroundColor": "#4285f4", | ||
"logo": { | ||
"sourceUri": { | ||
"uri": "https://storage.googleapis.com/wallet-lab-tools-codelab-artifacts-public/pass_google_logo.jpg" | ||
} | ||
}, | ||
"cardTitle": { | ||
"defaultValue": { | ||
"language": "en", | ||
"value": "Google I/O '22 [DEMO ONLY]" | ||
} | ||
}, | ||
"subheader": { | ||
"defaultValue": { | ||
"language": "en", | ||
"value": "Attendee" | ||
} | ||
}, | ||
"header": { | ||
"defaultValue": { | ||
"language": "en", | ||
"value": "Alex McJacobs" | ||
} | ||
}, | ||
"barcode": { | ||
"type": "QR_CODE", | ||
"value": "12345" | ||
}, | ||
"heroImage": { | ||
"sourceUri": { | ||
"uri": "https://storage.googleapis.com/wallet-lab-tools-codelab-artifacts-public/google-io-hero-demo-only-2.png" | ||
} | ||
}, | ||
"textModulesData": [ | ||
{ | ||
"header": "POINTS", | ||
"body": "99", | ||
"id": "points" | ||
}, | ||
{ | ||
"header": "CONTACTS", | ||
"body": "99", | ||
"id": "contacts" | ||
} | ||
] | ||
} | ||
|