Source: https://guides.developer.iata.org/docs/download-the-latest-standards

AffinityShoppingCriteria

A wide search defining a range of criteria such as specific interest, destination attributes, defined budget, date ranges or destination ranges.

Properties

Name Description Type Required Generic Enum Ignore
affinityOriginDest A set of Origin and Destination information supporting an affinity shopping request. array false AffinityOriginDest --- ${prop.ignore}
budgetAmount Total budget for all Passengers (Payers) for a journey request. Amount false ${prop.ignore}
journeyDistanceCriteria A shopping filter criteria based on total Journey distance. JourneyDistanceCriteria false ${prop.ignore}
journeyDurationCriteria A shopping filter criteria based on total Journey duration. This includes the sum of all flight durations as well as connection times. JourneyDurationCriteria false ${prop.ignore}
keywordPref Affinity query keyword(s) with optional preference level. array false KeyValueProperty --- ${prop.ignore}
{
  "affinityOriginDest" : [ {
    "affinityArrivalRequest" : { },
    "affinityDepRequest" : { },
    "affinityShoppingCriteria" : { },
    "connectionCriteria" : { }
  } ],
  "budgetAmount" : {
    "curCode" : "string",
    "value" : "number"
  },
  "journeyDistanceCriteria" : {
    "affinityShoppingCriteria" : { },
    "distanceMeasure" : { },
    "prefCode" : { }
  },
  "journeyDurationCriteria" : {
    "affinityShoppingCriteria" : { },
    "maximumTimeMeasure" : { },
    "originDest" : { },
    "prefCode" : { }
  },
  "keywordPref" : [ {
    "affinityShoppingCriteria" : { },
    "coupon" : { },
    "discount" : { },
    "keyText" : "string",
    "prefLevel" : { },
    "seatProfile" : { },
    "valueText" : "string"
  } ]
}