BusTrip
Канонический URL: http://schema.org/BusTrip
A trip on a commercial bus line.
Свойство | Ожидаемый тип | Описание |
---|---|---|
Свойства от BusTrip | ||
provider |
Person или Organization |
Лицо или организация, которые занимаются распространением, продажей CreativeWork. |
departureTime | DateTime | The expected departure time. |
arrivalTime | DateTime | The expected arrival time. |
busNumber | Text | The unique identifier for the bus. |
busName | Text | The name of the bus (e.g. Bolt Express). |
departureBusStop |
BusStation или BusStop |
The stop or station from which the bus departs. |
arrivalBusStop |
BusStation или BusStop |
The stop or station from which the bus arrives. |
Свойства от Thing | ||
additionalType | URL | Дополнительный тип для элемента, который обычно используется для добавления более конкретных типов от внешних словарей в синтаксис микроданных. Это отношения между чем-то и классом к которому он принадлежит. В синтаксисе RDFa, лучше использовать родной синтаксис RDF - аттрибут "TypeOf" для множественных типов. Инстументы Schema.org могут слабо понимать дополнительные типы, особенно те, которые определены извне. |
alternateName | Text | Любое альтернативное название медицинской сущности. |
description | Text | Короткое описание записи. |
image |
URL или ImageObject |
URL изображения записи. |
name | Text | Имя записи. |
sameAs | URL | Адрес веб-страницы, которая недвусмысленно указывает на идентичность элемента. Например, ссылка на страницу элемента на Википедии, Freebase страницу или на официальный сайт. |
url | URL | URL записи. |
potentialAction | Action | Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role. |
mainEntityOfPage |
CreativeWork или URL |
Указывает на страницу (или другую "CreativeWork"), для которой эта вещь является основной описываемой сущностью. Подробнее см. В [справочных материалах] (/docs/datamodel.html#mainEntityBackground). |
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 |
URL или Text или PropertyValue |
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](/docs/datamodel.html#identifierBg) for more details. |
Примеры
Original: Bolt NYC #123456 Departing: Port Authority, NYC 2017-01-04T12:30:00-05:00 Arriving: Boston South Station 2017-01-04T17:10:00-05:00 Passenger: John Smith
This example is JSON only.
This example is JSON only.
<script type="application/ld+json"> { "@context": "http://schema.org", "@type": "BusReservation", "reservationId": "123456", "underName": { "@type": "Person", "name": "John Smith" }, "reservationStatus": "http://schema.org/ReservationConfirmed", "reservationFor": { "@type": "BusTrip", "provider": { "@type": "Organization", "name": "Bolt NYC" }, "departureBusStop": { "@type": "BusStop", "name": "Port Authority, NYC" }, "departureTime": "2017-01-04T12:30:00-05:00", "arrivalBusStop": { "@type": "BusStop", "name": "Boston South Station" }, "arrivalTime": "2017-01-04T17:10:00-05:00" } } </script>
Schema Version 3.3