Schedule Event Sample - Flight Info Alerts

Please note that the sample below contains fictional data meant to illustrate the schema of the JSON event.

Real schedule updates might not contain every information within the body. E.g. A flight would not contain information on both comment050 and comments010 at the same time because it can only be either an operating flight or a marketing flight and not both.

{
  "documentType" : "ScheduleInstance",
  "status" : "deleted",
  "updatedAt" : "2022-03-22 14:52:53.000",
  "carrierCode" : {
    "iata" : "QG",
    "icao" : "CTV"
  },
  "serviceSuffix" : "servsuf",
  "flightNumber" : 916,
  "sequenceNumber" : 1,
  "departure" : {
    "airport" : {
      "iata" : "CGK"
    },
    "terminal" : "1",
    "passengerLocalTime" : "15:40",
    "date" : "2023-12-01"
  },
  "arrival" : {
    "airport" : {
      "iata" : "KNO"
    },
    "passengerLocalTime" : "18:10",
    "date" : "2023-12-01"
  },
  "aircraftType" : {
    "iata" : "320"
  },
  "serviceTypeCode" : {
    "iata" : "J"
  },
  "arrivalIntervalDays" : 0,
  "legArrivalIntervalDays" : 0,
  "segmentInfo" : {
    "numberOfStops" : 0,
    "intermediateAirports" : {
      "iata" : [ {
        "SequenceNumber" : 0,
        "Station" : "AMS"
      }, {
        "SequenceNumber" : 1,
        "Station" : "SMA"
      } ]
    }
  },
  "oagFingerprint" : "b29c5add20ae1a94a3b8448346c2197f09c492ec6f595e74ab1840d457c31cbf",
  "codeshare" : {
    "operatingAirlineDisclosure" : [ {
      "Code" : "AA",
      "Name" : "l",
      "Num" : "2"
    } ],
    "aircraftOwner" : [ {
      "Code" : "AF",
      "Name" : "ao"
    } ],
    "cockpitCrewEmployer" : {
      "Code" : "AA",
      "Name" : "c",
      "Num" : "4"
    },
    "cabinCrewEmployer" : {
      "Code" : "AA",
      "Name" : "c",
      "Num" : "4"
    },
    "jointOperationAirlineDesignators" : [ {
      "Code" : "RH",
      "Name" : "i",
      "Num" : "1R"
    }, {
      "Code" : "AA",
      "Name" : "j",
      "Num" : "1A"
    } ],
    "comments010" : [ {
      "Code" : "B6",
      "ServiceNumber" : "4031",
      "Suffix" : "d"
    }, {
      "Code" : "QF",
      "ServiceNumber" : "3010",
      "Suffix" : "e"
    }, {
      "Code" : "TN",
      "ServiceNumber" : "1243",
      "Suffix" : "f"
    } ],
    "comment050" : {
      "Code" : "TP",
      "ServiceNumber" : "672",
      "Suffix" : "g"
    }
  },
  "bookingClasses" : [ {
    "Code" : "Y",
    "Meals" : "a",
    "Modifier" : "b",
    "Quantity" : "0"
  }, {
    "Code" : "A",
    "Meals" : "R",
    "Modifier" : "bb",
    "Quantity" : "10"
  } ],
  "freightClasses" : [ {
    "Code" : "LL",
    "Quantity" : "22"
  }, {
    "Code" : "PP",
    "Quantity" : "33"
  } ],
  "restrictions" : [ {
    "BoardPoint" : false,
    "Cargo" : true,
    "Code" : "Y",
    "Mail" : true,
    "Num" : 8,
    "OffPoint" : false,
    "Pax" : true
  }, {
    "BoardPoint" : true,
    "Cargo" : false,
    "Code" : "N",
    "Mail" : false,
    "Num" : 2,
    "OffPoint" : true,
    "Pax" : false
  } ],
  "planeChangeWithoutAircraftChange" : false,
  "onTimePerformance" : {
    "indicator" : {
      "OtpMonth" : "MAY21",
      "OtpValue" : "N"
    },
    "delaysAndCancellationsIndicator" : {
      "Otp15" : "mi15",
      "Otp30" : "mi30",
      "Otp30Warning" : "mi30w",
      "OtpCancel" : "can",
      "OtpMonth" : "m"
    }
  },
  "inFlightServices" : [ "1", "7", "9" ],
  "automatedCheckIn" : false,
  "electronicTicketing" : true,
  "secureFlightIndicator" : false,
  "governmentApproval" : false,
  "scheduleInstanceKey" : "ad2b3f15dd6ca3f35836bed71227b87e9c25c64dfaa6c0232eadfb8e108b9ae7",
  "statusKey" : "50a359db98fdef461c21f9cb1e2cccb48e4a8c7b396c63215f5ad0b0afa21cec",
  "premiumContent" : {
    "seatingCapacity" : {
      "firstClass" : 0,
      "businessClass" : 0,
      "premiumEconomyClass" : 0,
      "economyPlusClass" : 0,
      "economyClass" : 180,
      "totalSeats" : 180
    }
  },
  "rowNum" : 1,
  "fileName" : "fullSchedMsg_0_0_0_28.json.gz"
}

For more information on the fields and what they mean, please refer to this page.