Advertisement
Guest User

SamplePassData

a guest
Oct 11th, 2015
938
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.67 KB | None | 0 0
  1. {
  2.   "barcode": {
  3.     "format": "PKBarcodeFormatPDF417",
  4.     "altText": "ABC1208",
  5.     "message": "ABC1208",
  6.     "messageEncoding": "iso-8859-1"
  7.   },
  8.   "labelColor": "rgb(255, 255, 255)",
  9.   "description": "Ticket",
  10.   "eventTicket": {
  11.     "backFields": [
  12.       {
  13.         "key": "ticketID",
  14.         "label": "TICKET ID",
  15.         "value": "ABC1208"
  16.       },
  17.       {
  18.         "key": "details",
  19.         "label": "SAVING PRIVATE RYAN",
  20.         "value": "R • English \nTime:  12 Aug 2012, 14:05 \nScreen: Screen 2 \nTheatre: The Theatre Name \nAddress: Address"
  21.       },
  22.       {
  23.         "key": "seatID",
  24.         "label": "SEATS BOOKED",
  25.         "value": "Luxury - A01"
  26.       },
  27.       {
  28.         "key": "amount",
  29.         "label": "TOTAL PRICE: $5.99",
  30.         "value": "Booking and Other Related Charges: $0.99 \nLuxury Rs $3.00 x 1 \n \nTax: $2.00"
  31.       },
  32.       {
  33.         "key": "terms",
  34.         "label": "PRIVACY POLICY",
  35.         "value": "http://example.com/privacy"
  36.       }
  37.     ],
  38.     "headerFields": [
  39.       {
  40.         "key": "time",
  41.         "label": "14:05",
  42.         "value": " 12 Aug 2012",
  43.         "changeMessage": "Movie Time changed %@."
  44.       }
  45.     ],
  46.     "primaryFields": [
  47.       {
  48.         "key": "movie",
  49.         "label": "Movie",
  50.         "value": "SAVING PRIVATE RYAN",
  51.         "changeMessage": "Movie has been changed to %@.",
  52.         "textAlignment": "PKTextAlignmentLeft"
  53.       }
  54.     ],
  55.     "auxiliaryFields": [
  56.       {
  57.         "key": "seats",
  58.         "label": "Seats",
  59.         "value": "Luxury - D01",
  60.         "textAlignment": "PKTextAlignmentLeft"
  61.       },
  62.       {
  63.         "key": "experiences",
  64.         "label": "Experiences",
  65.         "value": "3D",
  66.         "textAlignment": "PKTextAlignmentRight"
  67.       }
  68.     ],
  69.     "secondaryFields": [
  70.       {
  71.         "key": "theatre",
  72.         "label": "Theatre",
  73.         "value": "The Theatre Name",
  74.         "changeMessage": "Theatre the movie scheduled has been changed to %@.",
  75.         "textAlignment": "PKTextAlignmentLeft"
  76.       },
  77.       {
  78.         "key": "screen",
  79.         "label": "Screen",
  80.         "value": "Screen 2",
  81.         "changeMessage": "Screen the movie scheduled has been changed to %@.",
  82.         "textAlignment": "PKTextAlignmentRight"
  83.       }
  84.     ]
  85.   },
  86.   "relevantDate": "2015-10-07T21:15:00+05:30",
  87.   "serialNumber": "ABC1208",
  88.   "formatVersion": 1,
  89.   "webServiceURL": "http://our-web-url.com",
  90.   "teamIdentifier": "IEPKP1289",
  91.   "backgroundColor": "rgb(123, 254, 64)",
  92.   "foregroundColor": "rgb(255, 255, 255)",
  93.   "organizationName": "Ticket Booking Corp",
  94.   "passTypeIdentifier": "pass.com.example.passbook",
  95.   "authenticationToken": "a740102d5fce4b71aad73772395d421f"
  96. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement