segmentType
required
TravelSegmentTypeThe means of travel. The possible values are according to the following table:

RAIL - The passenger is travelling via railway for this segment.
AIR - The passenger is travelling via airplane for this segment.
departureDate
required
stringThe scheduled departure date for this segment, in the format YYYY-MM-DD.

Example: "2016-11-23"
departureTime
required
stringThe scheduled departure time for this segment, in the format HH:MM, using the 24-hour time format.

Example: "19:55"
departureCountryCode
required
string(2-3)The country in which the departure station/airport for this segment is in. This may be the two-letter (alpha-2), three-letter (alpha-3) code or the ISO country number as per ISO 3166-1.

Example: "SWE", "SE"
departureStationCode
conditional
stringThe identifier for the rail station which this segment is departing from.

Conditions:
> Only applicable to and required for RAIL segments.
departureAirportCode
conditional
stringThe IATA or ICAO airport or city code of the departure airport for this segment, in the format <authority>:<code>.
For example, if you were sending the code for Arlanda airport in Stockholm, Sweden, you would send:
For IATA you would send: "IATA:ARN"
For ICAO you would send: "ICAO:ESSA"
Note: Only applicable to and required for AIR segments.
arrivalDate
required
stringThe scheduled arrival time for this segment, in the format HH:MM, using the 24-hour time format.

Example: "19:55"
arrivalCountryCode
required
stringThe country in which the destination station/airport for this segment is in. This may be the two-letter (alpha-2), three-letter (alpha-3) code or the ISO country number as per ISO 3166-1.

Examples:
"SE","SWE"
arrivalStationCode
conditional
stringThe identifier for the arrival rail station of this segment.

Conditions:
> Only applicable to and required for RAIL segments.
arrivalAirportCode
conditional
stringThe IATA or ICAO airport or city code of the arrival airport for this segment, in the format <authority>:<code>.

Examples
If you are sending the code for Arlanda airport in Stockholm, Sweden:
For IATA send: "IATA:ARN"
For ICAO send: "ICAO:ESSA"

Conditions:
> Only applicable to and required for AIR segments.
carrierDesignatorstringThe IATA or ICAO airline code

Examples:
(AIR Segments) If you are sending the code for Scandinavian Airlines (SAS):
For IATA send: "IATA:SK"
For ICAO send: "ICAO:SAS"

(RAIL Segments) If you were sending the code for Swedish Railway (SJ) and UIC send "UIC:1174"
tickets
required
travelticketThe tickets which were issued for this segment of travel.