A flight — a specific leg of air travel. A flight IS a leg.
A nonstop itinerary has one flight. A connection has multiple flights.
| Metadata | Value |
|---|
| Plural | flights |
| Subtitle field | airline |
| Also | leg |
| Field | Type |
|---|
flightNumber | string |
departureTime | datetime |
arrivalTime | datetime |
durationMinutes | integer |
cabinClass | string |
stops | integer |
carbonEmissions | json |
From leg:
| Field | Type |
|---|
duration | string |
layoverMinutes | integer |
polyline | string |
sequence | integer |
trace | json |
tracePointCount | integer |
vehicleType | string |
External standards this shape draws from or aligns with. See Shape design principles for how prior art informs shape design.
- IATA Resolution 753 / Flight Codeshare — Our flightNumber follows IATA carrier-code + digits format (UA 1234). Canonical for cross-carrier flight identity.
- Duffel / IATA NDC Slice+Segment — NDC models a trip (slice) as multiple flights (segments). Our flight shape = NDC segment; our trip = NDC slice.
- schema.org/Flight — Our flightNumber = flightNumber; departsFrom/arrivesAt = departureAirport/arrivalAirport; departureTime/arrivalTime match directly; carbonEmissions ≈ estimatedFlightDuration + emissions extensions.