API Docs for: 1.3.12
Show:

Flight Class

Schema.org/Flight An airline flight.

Methods

getDescription

() String

Returns the description of the thing

Returns:

String:

description of Thing

getName

() String

Returns the name of the thing

Returns:

String:

name of Thing

setDescription

(
  • description
)

Method to set Thing description

Parameters:

  • description String

    Description to set for its Thing

setName

(
  • name
)

Method to set Thing name

Parameters:

  • name String

    Name to set for this Thing

Properties

additionalType

URL

Schema.org/additionalType 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. In RDFa syntax, it is better to use the native RDFa syntax - the 'typeof' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.

aircraft

Vehicle

Schema.org/aircraft The kind of aircraft (e.g., "Boeing 747").

alternateName

Text

Schema.org/alternateName An alias for the item.

arrivalAirport

Airport

Schema.org/arrivalAirport The airport where the flight terminates.

arrivalGate

Text

Schema.org/arrivalGate Identifier of the flight's arrival gate.

arrivalTerminal

Text

Schema.org/arrivalTerminal Identifier of the flight's arrival terminal.

arrivalTime

DateTime

Schema.org/arrivalTime The expected arrival time.

boardingPolicy

BoardingPolicyType

Schema.org/boardingPolicy The type of boarding policy used by the airline (e.g. zone-based or group-based).

carrier

Organization

Schema.org/carrier 'carrier' is an out-dated term indicating the 'provider' for parcel delivery and flights.

departureAirport

Airport

Schema.org/departureAirport The airport where the flight originates.

departureGate

Text

Schema.org/departureGate Identifier of the flight's departure gate.

departureTerminal

Text

Schema.org/departureTerminal Identifier of the flight's departure terminal.

departureTime

DateTime

Schema.org/departureTime The expected departure time.

description

Text

Schema.org/description A description of the item.

disambiguatingDescription

Text

Schema.org/disambiguatingDescription 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.

estimatedFlightDuration

Text

Schema.org/estimatedFlightDuration The estimated time the flight will take.

flightDistance

Distance

Schema.org/flightDistance The distance of the flight.

flightNumber

Text

Schema.org/flightNumber 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'.

identifier

Schema, URL | schema,Text | schema,PropertyValue

Schema.org/identifier 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

Schema, URL | schema,ImageObject

Schema.org/image An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].

mainEntityOfPage

Schema, URL | schema,CreativeWork

Schema.org/mainEntityOfPage Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See background notes for details.

mealService

Text

Schema.org/mealService Description of the meals that will be provided or available for purchase.

name

Text

Schema.org/name The name of the item.

potentialAction

Action

Schema.org/potentialAction Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.

provider

Person

Schema.org/provider 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.

sameAs

URL

Schema.org/sameAs 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.

seller

Person

Schema.org/seller An entity which offers (sells / leases / lends / loans) the services / goods. A seller may also be a provider.

url

URL

Schema.org/url URL of the item.

webCheckinTime

DateTime

Schema.org/webCheckinTime The time when a passenger can check into the flight online.