FlightLegStateMetadata give extra information about FlightLegStateData, and not about the flight leg.


Event

Values used:

  • "CREATE"
    The flight leg has been created. Creation is alway from only one source, given in CreatedSource.
  • "UPDATE"
    The flight leg has been updated. Most common event. One update can include data from multiple sources.
    If no "CREATE" event has been received an "UPDATE" should be handled as a "CREATE".
  • "DELETE"
    The flight leg has been removed/deleted. It will never be reinstated and should just be remover/deleted in all systems.
  • "MERGE"
    This flight leg has been merged into another flight leg, identified by MergedIntoUniqueFlightLegId.
  • "REQUEST"
    The data set has been produced as a result of a request operation. This includes Avinor internal operations to force synchronization of systems.
CreatedSource

CreatedSource will be the first element in DataSources.

CreatedSourceOrganization

The organization that is the source of CreatedSource.

CreatedTimestamp


LastUpdatedTimestamp
DataSources

NB! As data comes from a new source, and is matched to one flight leg, the source is just added to the DataSources list regardless of the new data actually updating the flight leg or not. 

NB! In some cases DataSources can be longer than allowed by the type. In this case sources should be removed from the DataSources string until it is within the allowed length. Remove the sources starting with the oldest. The first source to be removed would then be the CreatedSource.

ReferenceDataStatus


ClassificationLevel

NB! ClassificationLevel = "PUBLIC" does not mean that all information, like passenger numbers, are public information, only that the flight leg itself is. 

Default value is "NON-PUBLIC".

MergedIntoUniqueFlightLegId
MessageTimestamp
Tminestamp indication when this FlightLegStateData dataset was created.
CorrelationId
Generated by the Avinor AODB. Used for distributed debugging.
  • No labels