Skip to content

Instantly share code, notes, and snippets.

@grundyoso
Created August 20, 2020 13:59
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/a15debcab85ec6c25f7409da6bd343d1 to your computer and use it in GitHub Desktop.
Save grundyoso/a15debcab85ec6c25f7409da6bd343d1 to your computer and use it in GitHub Desktop.
PassNinja loyalty pass template - Google
{
"kind": "walletobjects#offerClass",
"title": "{{organizationName}}",
"redemptionChannel": "both",
"provider": "PassNinja",
"titleImage": {
"kind": "walletobjects#image",
"sourceUri": {
"uri": "https://s3.amazonaws.com/www.passninja.com-artifacts/passes/demo.loyaltyCard/template/ninji.png"
}
},
"id": "3175895186863635130.demo.loyaltyCard",
"version": "1",
"issuerName": "{{logoText}}",
"allowMultipleUsersPerObject": true,
"locations": [
{
"kind": "walletobjects#latLongPoint",
"latitude": 37.424015499999996,
"longitude": -122.09259560000001
},
{
"kind": "walletobjects#latLongPoint",
"latitude": 37.424354,
"longitude": -122.09508869999999
},
{
"kind": "walletobjects#latLongPoint",
"latitude": 40.7406578,
"longitude": -74.00208940000002
},
{
"kind": "walletobjects#latLongPoint",
"latitude": 37.7901435,
"longitude": -122.39026709999997
}
],
"reviewStatus": "approved",
"linksModuleData": {
"uris": [
{
"kind": "walletobjects#uri",
"uri": "http://maps.google.com/?q=google",
"description": "Nearby Locations"
},
{
"kind": "walletobjects#uri",
"uri": "tel:6505555555",
"description": "Call Customer Service"
}
]
},
"redemptionIssuers": [
"3175895186863635130"
],
"heroImage": {
"kind": "walletobjects#image",
"sourceUri": {
"uri": "https://s3.amazonaws.com/www.passninja.com-artifacts/passes/demo.loyaltyCard/template/google_offer_hero.png"
}
},
"enableSmartTap": true,
"hexBackgroundColor": "#1a1126",
"multipleDevicesAndHoldersAllowedStatus": "multipleHolders"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment