TrainTrip

schema:Thing > schema:Intangible > schema:TrainTrip

A trip on a commercial train line.
PropertyExpected TypeDescription
Properties from schema:TrainTrip
schema:arrivalPlatform schema:Text The platform where the train arrives.
schema:arrivalStation schema:TrainStation The station where the train trip ends.
schema:arrivalTime schema:DateTime The expected arrival time.
schema:departurePlatform schema:Text The platform from which the train departs.
schema:departureStation schema:TrainStation The station from which the train departs.
schema:departureTime schema:DateTime The expected departure time.
schema:provider schema:Person  or
schema:Organization 
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 schema:carrier.
schema:trainName schema:Text The name of the train (e.g. The Orient Express).
schema:trainNumber schema:Text The unique identifier for the train.
Properties from schema:Thing
schema:additionalType schema: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. 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.
schema:alternateName schema:Text An alias for the item.
schema:description schema:Text A short description of the item.
schema:image schema:URL  or
schema:ImageObject 
An image of the item. This can be a URL or a fully described ImageObject.
schema:name schema:Text The name of the item.
schema:potentialAction schema:Action Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.
schema:sameAs schema:URL URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Freebase page, or official website.
schema:url schema:URL URL of the item.

Prefixes used:

  • schema: http://schema.org/
  • Examples

    Original:
    Train Reservation #AB3XY2
    Departing: Munich Central 2017-01-04T10:30:00+01:00
    Arriving: Paris Gare De Lyon 2017-01-04T03:10:00+01:00
    Passenger: Eva Green
    Seat: 27B
    Seating: 1st Class
    Ticket: 123XYZ
    Ticket Token: aztecCode:AB34
    We recommend that you arrive at the station at least 30 minutes prior to your scheduled departure. Allow additional time if you need help with baggage or tickets."
    
    This example is JSON only.
    
    This example is JSON only.
    
    <script type="application/ld+json">
    {
      "@context": "http://schema.org",
      "@type": "TrainReservation",
      "reservationId": "AB3XY2",
      "reservationStatus": "http://schema.org/ReservationConfirmed",
      "reservationFor": {
        "@type": "TrainTrip",
        "departureStation": {
          "@type": "TrainStation",
          "name": "Munich Central"
        },
        "departureTime": "2017-01-04T10:30:00+01:00",
        "arrivalStation": {
          "@type": "TrainStation",
          "name": "Paris Gare De Lyon"
        },
        "arrivalTime": "2017-01-04T03:10:00+01:00"
      },
      "reservedTicket": {
        "@type": "Ticket",
        "underName": "Eva Green",
        "ticketedSeat": {
          "@type": "Seat",
          "seatNumber": "27B",
          "seatingType": "1st Class"
        },
        "ticketNumber": "123XYZ",
        "ticketToken": "aztecCode:AB34",
        "description": "We recommend that you arrive at the station at least 30 minutes prior to your scheduled departure. Allow additional time if you need help with baggage or tickets."
      }
    }
    </script>
    

    Schema.org Version 1.93
    BiblioGraph.net Version 1.1
    Code Version 1.1