Amadeus · Schema

AssociatedRecord

record associated to the order

TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights
View JSON Schema on GitHub

JSON Schema

flight-create-orders-associated-record-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/flight-create-orders-associated-record-schema.json",
  "title": "AssociatedRecord",
  "description": "record associated to the order",
  "allOf": [
    {
      "type": "object",
      "description": "describes the relation between the current reservation and another one",
      "properties": {
        "reference": {
          "type": "string",
          "description": "Record locator [Amadeus or OA] with which the current reservation is related. In case of a codeshare relation, it enables to identify the operating PNR.",
          "example": "string-value"
        },
        "creationDate": {
          "type": "string",
          "description": "Creation date of the referenced reservation. Date and time in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) YYYY-MM-ddThh:mm:ss.sss format, e.g. 2019-07-09T12:30:00.000",
          "example": "2019-07-09T12:30:00.000"
        },
        "originSystemCode": {
          "type": "string",
          "description": "Designates the system which has originated the referenced reservation.",
          "minLength": 2,
          "maxLength": 3,
          "example": "string-value"
        }
      }
    },
    {
      "type": "object",
      "properties": {
        "flightOfferId": {
          "type": "string",
          "description": "id of the impacted flight offer",
          "example": "1"
        }
      }
    }
  ]
}