View Source Passbook.Pass (Passbook v0.1.6)

The top level of the pass.json file is a dictionary.

More info at: https://developer.apple.com/library/archive/documentation/UserExperience/Reference/PassKit_Bundle/Chapters/TopLevel.html#//apple_ref/doc/uid/TP40012026-CH2-SW1

Link to this section Summary

Link to this section Types

@type t() :: %Passbook.Pass{
  background_color: String.t() | nil,
  barcode: Passbook.LowerLevel.Barcode.t() | nil,
  barcodes: [Passbook.LowerLevel.Barcode.t()] | nil,
  boarding_pass: Passbook.PassStructure.t() | nil,
  coupon: Passbook.PassStructure.t() | nil,
  description: String.t(),
  event_ticket: Passbook.PassStructure.t() | nil,
  expiration_date: String.t() | nil,
  foreground_color: String.t() | nil,
  format_version: integer(),
  generic: Passbook.PassStructure.t() | nil,
  label_color: String.t() | nil,
  location: Passbook.LowerLevel.Location.t() | nil,
  locations: [Passbook.LowerLevel.Location.t()] | nil,
  logo_text: String.t() | nil,
  organization_name: String.t(),
  pass_type_identifier: String.t(),
  relevant_date: String.t() | nil,
  serial_number: String.t(),
  store_card: Passbook.PassStructure.t() | nil,
  team_identifier: String.t()
}

Link to this section Functions