mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 13:25:19 +00:00
Added working examples for barcode, localization, fields and expiration with working pass models and webserver
This commit is contained in:
49
examples/models/examplePass.pass/pass.json
Normal file
49
examples/models/examplePass.pass/pass.json
Normal file
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"formatVersion": 1,
|
||||
"passTypeIdentifier": "pass.com.example.myapp",
|
||||
"serialNumber": "nmyuxofgna",
|
||||
"teamIdentifier": "F53WB8AE67",
|
||||
"webServiceURL": "https://192.168.1.254:80/",
|
||||
"authenticationToken": "vxwxd7J8AlNNFPS8k0a0FfUFtq0ewzFdc",
|
||||
"relevantDate": "2011-12-08T13:00-08:00",
|
||||
"locations": [
|
||||
{
|
||||
"longitude": -122.3748889,
|
||||
"latitude": 37.6189722
|
||||
},
|
||||
{
|
||||
"longitude": -122.03118,
|
||||
"latitude": 37.33182
|
||||
}
|
||||
],
|
||||
"barcodes": [{
|
||||
"message": "123456789",
|
||||
"format": "PKBarcodeFormatQR",
|
||||
"messageEncoding": "iso-8859-1"
|
||||
}],
|
||||
"barcode": {
|
||||
"message": "123456789",
|
||||
"format": "PKBarcodeFormatQR",
|
||||
"messageEncoding": "iso-8859-1"
|
||||
},
|
||||
"organizationName": "Apple Inc.",
|
||||
"description": "Apple Event Ticket",
|
||||
"foregroundColor": "rgb(255, 255, 255)",
|
||||
"backgroundColor": "rgb(60, 65, 76)",
|
||||
"eventTicket": {
|
||||
"primaryFields": [
|
||||
{
|
||||
"key": "event",
|
||||
"label": "EVENT",
|
||||
"value": "The Beat Goes On"
|
||||
}
|
||||
],
|
||||
"secondaryFields": [
|
||||
{
|
||||
"key": "loc",
|
||||
"label": "LOCATION",
|
||||
"value": "Moscone West"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user