Flight
A Schema.org Type
- Canonical URL: https://schema.org/Flight
- Check for open issues.
An airline flight.
Property | Expected Type | Description |
---|---|---|
Properties from Flight | ||
aircraft |
Text or Vehicle |
The kind of aircraft (e.g., "Boeing 747"). |
arrivalAirport |
Airport | The airport where the flight terminates. |
arrivalGate |
Text | Identifier of the flight's arrival gate. |
arrivalTerminal |
Text | Identifier of the flight's arrival terminal. |
boardingPolicy |
BoardingPolicyType | The type of boarding policy used by the airline (e.g. zone-based or group-based). |
departureAirport |
Airport | The airport where the flight originates. |
departureGate |
Text | Identifier of the flight's departure gate. |
departureTerminal |
Text | Identifier of the flight's departure terminal. |
estimatedFlightDuration |
Duration or Text |
The estimated time the flight will take. |
flightDistance |
Distance or Text |
The distance of the flight. |
flightNumber |
Text | The unique identifier for a flight including the airline IATA code. For example, if describing United flight 110, where the IATA code for United is 'UA', the flightNumber is 'UA110'. |
mealService |
Text | Description of the meals that will be provided or available for purchase. |
seller |
Organization or Person |
An entity which offers (sells / leases / lends / loans) the services / goods. A seller may also be a provider. Supersedes merchant, vendor. |
webCheckinTime |
DateTime | The time when a passenger can check into the flight online. |
Properties from Trip | ||
arrivalTime |
DateTime or Time |
The expected arrival time. |
departureTime |
DateTime or Time |
The expected departure time. |
itinerary |
ItemList or Place |
Destination(s) ( Place ) that make up a trip. For a trip where destination order is important use ItemList to specify that order (see examples). |
offers |
Demand or Offer |
An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use businessFunction to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a Demand. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.
Inverse property: itemOffered |
partOfTrip |
Trip | Identifies that this Trip is a subTrip of another Trip. For example Day 1, Day 2, etc. of a multi-day trip.
Inverse property: subTrip |
provider |
Organization or Person |
The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller. Supersedes carrier. |
subTrip |
Trip | Identifies a Trip that is a subTrip of this Trip. For example Day 1, Day 2, etc. of a multi-day trip.
Inverse property: partOfTrip |
tripOrigin |
Place | The location of origin of the trip, prior to any destination(s). |
Properties from Thing | ||
additionalType |
Text or URL |
An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide. |
alternateName |
Text | An alias for the item. |
description |
Text or TextObject |
A description of the item. |
disambiguatingDescription |
Text | A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation. |
identifier |
PropertyValue or Text or URL |
The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details. |
image |
ImageObject or URL |
An image of the item. This can be a URL or a fully described ImageObject. |
mainEntityOfPage |
CreativeWork or URL |
Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See background notes for details.
Inverse property: mainEntity |
name |
Text | The name of the item. |
potentialAction |
Action | Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role. |
sameAs |
URL | URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website. |
subjectOf |
CreativeWork or Event |
A CreativeWork or Event about this Thing.
Inverse property: about |
url |
URL | URL of the item. |
Examples
Example 1
Copied
Example notes or example HTML without markup.
Reservation #RXJ34P Passenger: Eva Green Flight: United Airlines Flight 110 Operated By: Continental Airlines Departing: San Francisco Airport (SFO) 2017-03-04T20:15:00-08:00 Arriving: John F. Kennedy International Airport (JFK) 2017-03-05T06:30:00-05:00 Passenger Sequence Number: ABC123 Boarding priority: FastTrack Boarding policy: zone-based Security screening: TSA PreCheck
Example encoded as JSON-LD in a HTML script tag.
<script type="application/ld+json"> { "@context": "https://schema.org", "@type": "FlightReservation", "reservationId": "RXJ34P", "reservationStatus": "https://schema.org/ReservationConfirmed", "passengerPriorityStatus": "Fast Track", "passengerSequenceNumber": "ABC123", "securityScreening": "TSA PreCheck", "underName": { "@type": "Person", "name": "Eva Green" }, "reservationFor": { "@type": "Flight", "flightNumber": "UA110", "provider": { "@type": "Airline", "name": "Continental", "iataCode": "CO", "boardingPolicy": "https://schema.org/ZoneBoardingPolicy" }, "seller": { "@type": "Airline", "name": "United", "iataCode": "UA" }, "departureAirport": { "@type": "Airport", "name": "San Francisco Airport", "iataCode": "SFO" }, "departureTime": "2017-03-04T20:15:00-08:00", "arrivalAirport": { "@type": "Airport", "name": "John F. Kennedy International Airport", "iataCode": "JFK" }, "arrivalTime": "2017-03-05T06:30:00-05:00" } } </script>
Structured representation of the JSON-LD example.