{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus-reservations/refs/heads/main/json-structure/hotel-booking-arrival-flight-details-structure.json", "name": "ArrivalFlightDetails", "description": "ArrivalFlightDetails schema", "type": "object", "properties": { "carrierCode": { "type": "string", "description": "Carrier code", "example": "LH" }, "number": { "type": "string", "description": "Flight segment number", "example": "1050" }, "departure": { "type": "object", "description": "Departure or arrival information", "name": "FlightSegment_Departure", "required": [ "iataCode" ], "properties": { "iataCode": { "description": "IATA Airport code", "type": "string", "example": "JFK" } } }, "arrival": { "type": "object", "description": "Departure or arrival information", "name": "FlightSegment_Arrival", "properties": { "iataCode": { "description": "IATA Airport code", "type": "string", "example": "JFK" }, "terminal": { "description": "Terminal name / number", "type": "string", "example": "T2" }, "at": { "description": "Local date and time at the arrival of the flight with the following format \"YYYY-MM-DD'T'HH:mm:ss\" (for example 2017-02-10T20:40:00 if the flight arrive 20h40 local time)", "type": "datetime", "example": "2017-10-23T20:00:00+02:00" } }, "required": [ "iataCode", "terminal", "at" ] } }, "required": [ "carrierCode", "number", "departure" ] }