⚠️ Важно: данный сайт не имеет отношения к владельцам schema.org, это всего лишь любительский (неофициальный) перевод. Сайт сделан для тех, кто плохо воспринимает технический английский. Оригинал текста можно найти тут: schema.org/TouristTrip.

TouristTrip

Тип schema.org ?

Этот термин находится в "новой" области — обратная связь по реализации и использование в приложениях и на веб-сайтах могут помочь улучшить определения.

Описание:

Туристическая поездка. Созданный маршрут посещений одного или нескольких мест интереса (TouristAttraction/TouristDestination), часто связанный общей темой, географической областью или интересом к определенному touristType. UNWTO определяет туристическую поездку как поездку, совершаемую посетителями. (См. примеры ниже.)

Тип Schema.org "TouristTrip" используется для структурирования информации о туристических поездках. Он помогает описать поездку, которая включает в себя посещение одного или нескольких мест, таких как туристические достопримечательности или туристические направления. Эти места могут быть связаны общей темой, географической областью или интересами определенного типа туристов.

Использование этого типа схемы позволяет веб-сайтам и приложениям лучше организовывать и представлять информацию о туристических маршрутах. Это может быть полезно для туристических агентств, компаний, предлагающих экскурсии, а также для платформ, предоставляющих информацию о путешествиях. Применение "TouristTrip" может улучшить видимость сайта в поисковых системах, так как структурированные данные помогают поисковым системам лучше понимать содержание страниц.

С помощью этого типа можно указать детали поездки, такие как места, которые будут посещены, их описание, а также тип туристов, для которых предназначена поездка. Это делает информацию более доступной и понятной для пользователей. В конечном итоге, "TouristTrip" служит для упрощения поиска и планирования поездок, а также для улучшения взаимодействия между туристами и поставщиками услуг.

Свойство Ожидаемый тип Описание
Свойство из TouristTrip
touristType Audience, Text Аттракцион, подходящий для типа(ов) туриста. Например, дети, посетители из определенной страны и т.д.
Свойство из Trip
arrivalTime DateTime, Time Ожидаемое время прибытия.
departureTime DateTime, Time Ожидаемое время отправления.
itinerary ItemList, Place Направление(я) ( Место ), которые составляют поездку. Для поездки, где порядок направлений важен, используйте ItemList, чтобы указать этот порядок (см. примеры).
offers Demand, Offer Предложение предоставить этот товар — например, предложение продать продукт, арендовать DVD фильма, выполнить услугу или раздать билеты на мероприятие. Используйте businessFunction, чтобы указать вид предлагаемой транзакции, т.е. продажу, аренду и т.д. Это свойство также может быть использовано для описания Demand. Хотя это свойство указано как ожидаемое для ряда общих типов, оно может быть использовано и в других. В этом случае использование второго типа, такого как Product или подтипа Product, может прояснить природу предложения.
partOfTrip Trip Указывает, что эта Поездка является частью другой Поездки. Например, День 1, День 2 и т.д. многодневной поездки.
provider Organization, Person Поставщик услуг, оператор услуг или исполнитель услуг; производитель товаров. Другая сторона (продавец) может предлагать эти услуги или товары от имени поставщика. Поставщик также может выступать в качестве продавца.
subTrip Trip Определяет Поездку, которая является подпоездкой этой Поездки. Например, День 1, День 2 и т.д. многодневной поездки.
tripOrigin Place Местоположение начала поездки, перед любыми пунктами назначения.
Свойство из Thing
additionalType URL, Text Дополнительный тип для элемента, обычно используемый для добавления более специфичных типов из внешних словарей в синтаксисе микроданных. Это отношение между чем-то и классом, к которому это что-то относится. Обычно значение является URI-идентифицированным классом RDF, и в этом случае соответствует использованию rdf:type в RDF. Текстовые значения могут использоваться экономно, в случаях, когда полезная информация может быть добавлена без наличия соответствующей схемы для ссылки. В случае текстовых значений, метка класса должна следовать руководству по стилю schema.org.
alternateName Text Псевдоним для элемента.
description Text, TextObject Описание предмета.
disambiguatingDescription Text Субсвойство описания. Краткое описание элемента, используемое для различения его от других, похожих элементов. Информация из других свойств (в частности, имени) может быть необходима для того, чтобы описание было полезным для различения.
identifier PropertyValue, Text, URL Свойство identifier представляет собой любой вид идентификатора для любого рода Thing, такого как ISBN, коды GTIN, UUID и т.д. Schema.org предоставляет специальные свойства для представления многих из них, как в виде текстовых строк, так и в виде ссылок URL (URI). См. фоновую информацию для получения дополнительных деталей.
image ImageObject, URL Изображение предмета. Это может быть URL или полностью описанный ImageObject.
mainEntityOfPage CreativeWork, URL Указывает на страницу (или другое творческое произведение), для которой этот объект является основным описываемым объектом. См. фоновую информацию для получения деталей.
name Text Название элемента.
potentialAction Action Указывает на потенциальное действие, которое описывает идеализированное действие, в котором этот объект будет играть роль 'объекта'.
sameAs URL URL страницы в Интернете, которая однозначно указывает на идентичность элемента. Например, URL страницы элемента в Википедии, запись в Викиданных или официальный сайт.
subjectOf CreativeWork, Event Творческое произведение или событие, связанное с этой вещью.
url URL URL предмета.

Благодарности

Лаборатория будущего Интернета, Институт информатики и телематических технологий

Этот элемент основан на работе Лаборатории веб-приложений для будущего Интернета, Института информатики и телематических технологий, Пиза, Италия.

Примеры

Пример 1

Пример заметки или HTML разметки.


<div class="tourist-trip-wrapper">
  <h1>
    Shakespeare's London
  </h1>
  <p>
    Follow in the footsteps of the world-renowned dramatist and discover the city he made his home. Note: for the sake of example only two stages are presented out of 19 in total, see url for details.
  </p>
  <ul class="tourist-audience">
    <li>Urban tourism</li>
    <li>Cultural tourism</li>
  </ul>
  <a href="https://www.cityoflondon.gov.England/things-to-do/visit-the-city/walks/Documents/Shakespeare_Walk_AA_accessible.pdf">
    All about the trip
  </a>
  <div class="itinerary-wrapper">
    <div>
      <h2>
        Shakespeare’s Gatehouse
      </h2>
      <p>
        The Cockpit pub marks the approximate site of Shakespeare’s gatehouse. On 10 March 1613, Shakespeare bought the old priory gatehouse from Henry Walker, ‘citizen and minstrel (musician)’ for £140. It was later bought at an auction in 1843 by the City of London Corporation for £145. The deed of purchase for the property still exists today and is housed at the London Metropolitan Archives; it contains one of only six “authenticated” examples of Shakespeare’s signature. The property is particularly significant because – although Shakespeare owned property in Stratford – it is the only property he is known to have owned in London. Given its convenient proximity to the Blackfriars Playhouse and The Globe, Shakespeare may have intended to make it his home, yet no evidence suggests he lived here in the four years prior to his death in 1616.
      </p>
    </div>
    <div>
      <h2>
        Blackfriars Playhouse
      </h2>
      <p>
        Shakespeare’s Blackfriars Playhouse stood in Playhouse Yard and is regarded as one of the most important sites in English theatre history. Richard Burbage formed a syndicate with Shakespeare, Henry Condell and John Heminge, among others, and together they purchased the playhouse in 1608; yet, due to the outbreak of plague, the opening was delayed until the winter of 1609. It is widely believed that The Winter’s Tale and Cymbeline were written with the Blackfriars Playhouse in mind, despite the fact both plays were also performed at The Globe theatre. The final show at Blackfriars Playhouse was performed in 1642, before it was pulled down in 1655.
      </p>
    </div>
  </div>
</div>

Пример, закодированный в формате Microdata, встроенный в HTML.


<div>
  <div itemtype="https://schema.org/TouristTrip" itemscope>
    <meta itemprop="name" content="Shakespeare's London" />
    <meta itemprop="description" content="Follow in the footsteps of the world-renowned dramatist and discover the city he made his home. Note: for the sake of example only two stages are presented out of 19 in total, see url for details." />
    <meta itemprop="touristType" content="Urban tourism" />
    <meta itemprop="touristType" content="Cultural tourism" />
    <div itemprop="subjectOf" itemtype="https://schema.org/CreativeWork" itemscope>
      <link itemprop="url" href="https://www.cityoflondon.gov.England/things-to-do/visit-the-city/walks/Documents/Shakespeare_Walk_AA_accessible.pdf" />
      <meta itemprop="name" content="All about the trip" />
    </div>
    <div itemprop="itinerary" itemtype="https://schema.org/ItemList" itemscope>
      <meta itemprop="numberOfItems" content="2" />
      <div itemprop="itemListElement" itemtype="https://schema.org/ListItem" itemscope>
        <meta itemprop="position" content="1" />
          <div itemtype="https://schema.org/TouristAttraction" itemscope>
            <meta itemprop="name" content="Shakespeare’s Gatehouse" />
            <meta itemprop="description" content="The Cockpit pub marks the approximate site of Shakespeare’s gatehouse. On 10 March 1613, Shakespeare bought the old priory gatehouse from Henry Walker, ‘citizen and minstrel (musician)’ for £140. It was later bought at an auction in 1843 by the City of London Corporation for £145. The deed of purchase for the property still exists today and is housed at the London Metropolitan Archives; it contains one of only six “authenticated” examples of Shakespeare’s signature. The property is particularly significant because – although Shakespeare owned property in Stratford – it is the only property he is known to have owned in London. Given its convenient proximity to the Blackfriars Playhouse and The Globe, Shakespeare may have intended to make it his home, yet no evidence suggests he lived here in the four years prior to his death in 1616." />
          </div>
      </div>
      <div itemprop="itemListElement" itemtype="https://schema.org/ListItem" itemscope>
        <meta itemprop="position" content="2" />
          <div itemtype="https://schema.org/TouristAttraction" itemscope>
            <meta itemprop="name" content="Blackfriars Playhouse" />
            <meta itemprop="description" content="Shakespeare’s Blackfriars Playhouse stood in Playhouse Yard and is regarded as one of the most important sites in English theatre history. Richard Burbage formed a syndicate with Shakespeare, Henry Condell and John Heminge, among others, and together they purchased the playhouse in 1608; yet, due to the outbreak of plague, the opening was delayed until the winter of 1609. It is widely believed that The Winter’s Tale and Cymbeline were written with the Blackfriars Playhouse in mind, despite the fact both plays were also performed at The Globe theatre. The final show at Blackfriars Playhouse was performed in 1642, before it was pulled down in 1655." />
          </div>
      </div>
    </div>
  </div>
</div>

Пример, закодированный в формате RDFa, встроенный в HTML.


<div>
  <div vocab="https://schema.org/" typeof="TouristTrip">
    <div property="name" content="Shakespeare's London"></div>
    <div property="description" content="Follow in the footsteps of the world-renowned dramatist and discover the city he made his home. Note: for the sake of example only two stages are presented out of 19 in total, see url for details."></div>
    <div property="touristType" content="Urban tourism"></div>
    <div property="touristType" content="Cultural tourism"></div>
    <div rel="subjectOf">
      <div typeof="CreativeWork">
        <div property="name" content="All about the trip"></div>
        <div rel="url" resource="https://www.cityoflondon.gov.England/things-to-do/visit-the-city/walks/Documents/Shakespeare_Walk_AA_accessible.pdf"></div>
      </div>
    </div>
    <div rel="itinerary">
      <div typeof="ItemList">
        <div property="numberOfItems" datatype="xsd:integer" content="2"></div>
        <div rel="itemListElement">
          <div typeof="ListItem">
            <div property="position" datatype="xsd:integer" content="1"></div>
            <div rel="item">
              <div typeof="TouristAttraction">
                <div property="name" content="Shakespeare’s Gatehouse"></div>
                <div property="description" content="The Cockpit pub marks the approximate site of Shakespeare’s gatehouse. On 10 March 1613, Shakespeare bought the old priory gatehouse from Henry Walker, ‘citizen and minstrel (musician)’ for £140. It was later bought at an auction in 1843 by the City of London Corporation for £145. The deed of purchase for the property still exists today and is housed at the London Metropolitan Archives; it contains one of only six “authenticated” examples of Shakespeare’s signature. The property is particularly significant because – although Shakespeare owned property in Stratford – it is the only property he is known to have owned in London. Given its convenient proximity to the Blackfriars Playhouse and The Globe, Shakespeare may have intended to make it his home, yet no evidence suggests he lived here in the four years prior to his death in 1616."></div>
              </div>
            </div>
          </div>
        </div>
        <div rel="itemListElement">
          <div typeof="ListItem">
            <div property="position" datatype="xsd:integer" content="2"></div>
            <div rel="item">
              <div typeof="TouristAttraction">
                <div property="name" content="Blackfriars Playhouse"></div>
                <div property="description" content="Shakespeare’s Blackfriars Playhouse stood in Playhouse Yard and is regarded as one of the most important sites in English theatre history. Richard Burbage formed a syndicate with Shakespeare, Henry Condell and John Heminge, among others, and together they purchased the playhouse in 1608; yet, due to the outbreak of plague, the opening was delayed until the winter of 1609. It is widely believed that The Winter’s Tale and Cymbeline were written with the Blackfriars Playhouse in mind, despite the fact both plays were also performed at The Globe theatre. The final show at Blackfriars Playhouse was performed in 1642, before it was pulled down in 1655."></div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

Пример, закодированный в формате JSON-LD в теге <script> HTML.


{
  "@context": "https://schema.org",
  "@type": "TouristTrip",
  "name": "Shakespeare's London",
  "description": "Follow in the footsteps of the world-renowned dramatist and discover the city he made his home. Note: for the sake of example only two stages are presented out of 19 in total, see url for details.",
  "touristType": [
    "Urban tourism",
    "Cultural tourism"
  ],
  "subjectOf": {
    "@type": "CreativeWork",
    "name": "All about the trip",
    "url": "https://www.cityoflondon.gov.England/things-to-do/visit-the-city/walks/Documents/Shakespeare_Walk_AA_accessible.pdf"
  },
  "itinerary": {
    "@type": "ItemList",
    "numberOfItems": 2,
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "item":
        {
          "@type": "TouristAttraction",
          "name": "Shakespeare’s Gatehouse",
          "description": "The Cockpit pub marks the approximate site of Shakespeare’s gatehouse. On 10 March 1613, Shakespeare bought the old priory gatehouse from Henry Walker, ‘citizen and minstrel (musician)’ for £140. It was later bought at an auction in 1843 by the City of London Corporation for £145. The deed of purchase for the property still exists today and is housed at the London Metropolitan Archives; it contains one of only six “authenticated” examples of Shakespeare’s signature. The property is particularly significant because – although Shakespeare owned property in Stratford – it is the only property he is known to have owned in London. Given its convenient proximity to the Blackfriars Playhouse and The Globe, Shakespeare may have intended to make it his home, yet no evidence suggests he lived here in the four years prior to his death in 1616."
        }
      },
      {
        "@type": "ListItem",
        "position": 2,
        "item":
        {
          "@type": "TouristAttraction",
          "name": "Blackfriars Playhouse",
          "description": "Shakespeare’s Blackfriars Playhouse stood in Playhouse Yard and is regarded as one of the most important sites in English theatre history. Richard Burbage formed a syndicate with Shakespeare, Henry Condell and John Heminge, among others, and together they purchased the playhouse in 1608; yet, due to the outbreak of plague, the opening was delayed until the winter of 1609. It is widely believed that The Winter’s Tale and Cymbeline were written with the Blackfriars Playhouse in mind, despite the fact both plays were also performed at The Globe theatre. The final show at Blackfriars Playhouse was performed in 1642, before it was pulled down in 1655."
        }
      }
    ]
  }
}

Структурированное представление примера JSON-LD.

@context
https://schema.org
@type
TouristTrip
name
Shakespeare's London
description
Follow in the footsteps of the world-renowned dramatist and discover the city he made his home. Note: for the sake of example only two stages are presented out of 19 in total, see url for details.
touristType
0
Urban tourism
1
Cultural tourism
subjectOf
@type
CreativeWork
name
All about the trip
url
https://www.cityoflondon.gov.England/things-to-do/visit-the-city/walks/Documents/Shakespeare_Walk_AA_accessible.pdf
itinerary
@type
ItemList
numberOfItems
2
itemListElement
0
@type
ListItem
position
1
item
@type
TouristAttraction
name
Shakespeare’s Gatehouse
description
The Cockpit pub marks the approximate site of Shakespeare’s gatehouse. On 10 March 1613, Shakespeare bought the old priory gatehouse from Henry Walker, ‘citizen and minstrel (musician)’ for £140. It was later bought at an auction in 1843 by the City of London Corporation for £145. The deed of purchase for the property still exists today and is housed at the London Metropolitan Archives; it contains one of only six “authenticated” examples of Shakespeare’s signature. The property is particularly significant because – although Shakespeare owned property in Stratford – it is the only property he is known to have owned in London. Given its convenient proximity to the Blackfriars Playhouse and The Globe, Shakespeare may have intended to make it his home, yet no evidence suggests he lived here in the four years prior to his death in 1616.
1
@type
ListItem
position
2
item
@type
TouristAttraction
name
Blackfriars Playhouse
description
Shakespeare’s Blackfriars Playhouse stood in Playhouse Yard and is regarded as one of the most important sites in English theatre history. Richard Burbage formed a syndicate with Shakespeare, Henry Condell and John Heminge, among others, and together they purchased the playhouse in 1608; yet, due to the outbreak of plague, the opening was delayed until the winter of 1609. It is widely believed that The Winter’s Tale and Cymbeline were written with the Blackfriars Playhouse in mind, despite the fact both plays were also performed at The Globe theatre. The final show at Blackfriars Playhouse was performed in 1642, before it was pulled down in 1655.

Пример 2

Пример заметки или HTML разметки.


<div class="tourist-trip-wrapper">
  <h1>
    Australia and New Zealand
  </h1>
  <p>
    This trip is modeled as two distinct Tourist Trips using the subTrip property.
  </p>
  <div class="has-part-wrapper">
    <div>
      <h2>
        Australia
      </h2>
      <p>
        This is a trip on its own.
      </p>
    </div>
    <div>
      <h2>
        New Zealand
      </h2>
      <p>
        This is another trip nested inside the main one.
      </p>
    </div>
  </div>
</div>

Пример, закодированный в формате Microdata, встроенный в HTML.


<div>
  <div itemtype="https://schema.org/TouristTrip" itemscope>
    <meta itemprop="name" content="Australia and New Zealand" />
    <meta itemprop="description" content="This trip is modeled as two distinct Tourist Trips using the subTrip property." />
    <div itemprop="subTrip" itemtype="https://schema.org/TouristTrip" itemscope>
      <meta itemprop="name" content="Australia" />
      <meta itemprop="description" content="This is a trip on its own." />
    </div>
    <div itemprop="subTrip" itemtype="https://schema.org/TouristTrip" itemscope>
      <meta itemprop="name" content="New Zealand" />
      <meta itemprop="description" content="This is another trip nested inside the main one." />
    </div>
  </div>
</div>

Пример, закодированный в формате RDFa, встроенный в HTML.


<div>
  <div vocab="https://schema.org/" typeof="TouristTrip">
    <div property="name" content="Australia and New Zealand"></div>
    <div property="description" content="This trip is modeled as two distinct Tourist Trips using the subTrip property."></div>
    <div rel="subTrip">
      <div typeof="TouristTrip">
        <div property="name" content="Australia"></div>
        <div property="description" content="This is a trip on its own."></div>
      </div>
    </div>
    <div rel="subTrip">
      <div typeof="TouristTrip">
        <div property="description" content="This is another trip nested inside the main one."></div>
        <div property="name" content="New Zealand"></div>
      </div>
    </div>
  </div>
</div>

Пример, закодированный в формате JSON-LD в теге <script> HTML.


{
  "@context": "https://schema.org",
  "@type": "TouristTrip",
  "name": "Australia and New Zealand",
  "description": "This trip is modeled as two distinct Tourist Trips using the subTrip property.",
  "subTrip": [
      {
        "@type": "TouristTrip",
        "name": "Australia",
        "description": "This is a trip on its own."
      },
      {
        "@type": "TouristTrip",
        "name": "New Zealand",
        "description": "This is another trip nested inside the main one."
      }
    ]
}

Структурированное представление примера JSON-LD.

@context
https://schema.org
@type
TouristTrip
name
Australia and New Zealand
description
This trip is modeled as two distinct Tourist Trips using the subTrip property.
subTrip
0
@type
TouristTrip
name
Australia
description
This is a trip on its own.
1
@type
TouristTrip
name
New Zealand
description
This is another trip nested inside the main one.

Пример 3

Пример заметки или HTML разметки.


<div class="tourist-trip-wrapper">
  <h1>
    Weekend in San Francisco
  </h1>
  <p>
    Short trip to San Francisco for first-time visitors.
  </p>
  <ul class="tourist-audience-wrapper">
    <li>Urban tourism</li>
    <li>Nightlife tourism</li>
    <li>Shopping tourism</li>
  </ul>
  <div class="offer-wrapper">
    <h2>
      Trip proposed by MyTripco for tourists located in the USA.
    </h2>
    <p>
      The price includes two hotel nights in a 4 star hotel. Plane tickets not included.
    </p>
    <p>
      Price: 500 USD
      Available until: Octobre 31, 2017
    </p>
    <a href="https://mytripco.com/trip/12345">
      Booking Website
    </a>
    <a href="https://mytripco.com">
      MyTripco Website
    </a>
  </div>
  <div class="itinerary-wrapper">
    <div class="item-list-wrapper">
      <h2>
        Saturday
      </h2>
      <div>
        <h3>
          Morning
        </h3>
        <p>
          Pedestrian visit of the Golden Gate Bridge.
        </p>
        <div class="tourist-attraction-wrapper">
          <h4>
            Golden Gate Bridge
          </h4>
          <p>
            Very popular suspension bridge. The bridge is one of the most internationally recognized symbols of San Francisco, California, and the United States. It has been declared one of the Wonders of the Modern World by the American Society of Civil Engineers.
          </p>
          <a href="https://en.wikipedia.org/wiki/Golden_Gate_Bridge">
            Wikipedia Article
          </a>
          <p>
            Location: lat 37.8199286, lon -122.4804438
          </p>
        </div>
      </div>
      <div>
        <h3>
          Afternoon
        </h3>
        <p>
          Visit of the famous SF Chinatown.
        </p>
        <div class="tourist-attraction-wrapper">
          <h4>
            Chinatown
          </h4>
          <p>
            Oldest Chinatown in North America and the largest Chinese enclave outside Asia. Visit its exotic shops, food markets, restaurants, and temples.
          </p>
          <p>
            Address: Stockton St and Clay St, San Francisco CA
          </p>
        </div>
      </div>
      <div>
        <h3>
          Night
        </h3>
        <p>
          Enjoy the SF nightlife.
        </p>
        <div class="tourist-attraction-wrapper">
          <h4>
            The Mission
          </h4>
          <p>
            The Mission District offers visitors an unparalleled menu of food and flavors as well as venues for fans of underground indie rock, funk, soul and jazz.
          </p>
          <p>
            Address: Mission St and 19th St, San Francisco CA
          </p>
        </div>
      </div>
    </div>
    <div class="item-list-wrapper">
      <h2>
        Sunday
      </h2>
      <div>
        <h3>
          Morning
        </h3>
        <p>
          Spend your morning shopping in one of the best spots in America.
        </p>
        <div class="tourist-attraction-wrapper">
          <h4>
            Union Street Area
          </h4>
          <p>
            Union Street is the major commercial hub of San Francisco. You will find most fashion labels there.
          </p>
          <p>
            Address: Union St and Buchanan St, San Francisco CA
          </p>
        </div>
      </div>
      <div>
        <h3>
          Afternoon
        </h3>
        <p>
          Take your plane back home.
        </p>
        <p>
          Location: San Francisco Airport.
        </p>
      </div>
    </div>
  </div>
</div>

Пример, закодированный в формате Microdata, встроенный в HTML.


<div>
  <div itemtype="https://schema.org/TouristTrip" itemscope>
    <meta itemprop="name" content="Weekend in San Francisco" />
    <meta itemprop="description" content="Short trip to San Francisco for first-time visitors." />
    <meta itemprop="touristType" content="Urban tourism" />
    <meta itemprop="touristType" content="Nightlife tourism" />
    <meta itemprop="touristType" content="Shopping tourism" />
    <div itemprop="offers" itemtype="https://schema.org/Offer" itemscope>
      <meta itemprop="name" content="Trip proposed by MyTripco for tourists located in the USA." />
      <meta itemprop="description" content="The price includes two hotel nights in a 4 star hotel. Plane tickets not included." />
      <meta itemprop="price" content="500" />
      <meta itemprop="priceCurrency" content="USD" />
      <meta itemprop="availabilityEnds" content="2017-10-31" />
      <link itemprop="url" href="https://mytripco.com/trip/12345" />
      <div itemprop="eligibleRegion" itemtype="https://schema.org/Country" itemscope>
        <meta itemprop="name" content="USA" />
      </div>
      <div itemprop="offeredBy" itemtype="https://schema.org/Organization" itemscope>
        <meta itemprop="name" content="MyTripCo" />
        <link itemprop="url" href="https://mytripco.com/" />
      </div>
    </div>
    <div itemprop="itinerary" itemtype="https://schema.org/ItemList" itemscope>
      <meta itemprop="numberOfItems" content="2" />
      <div itemprop="itemListElement" itemtype="https://schema.org/ListItem" itemscope>
        <link itemprop="additionalType" href="https://schema.org/ItemList" />
        <meta itemprop="name" content="Saturday" />
        <meta itemprop="position" content="1" />
        <meta itemprop="numberOfItems" content="3" />
          <div itemtype="https://schema.org/ListItem" itemscope>
            <meta itemprop="name" content="Morning" />
            <meta itemprop="description" content="Pedestrian visit of the Golden Gate Bridge." />
            <meta itemprop="position" content="1" />
              <div itemtype="https://schema.org/Bridge" itemscope>
                <link itemprop="additionalType" href="https://schema.org/TouristAttraction" />
                <meta itemprop="name" content="Golden Gate Bridge" />
                <meta itemprop="description" content="Very popular suspension bridge. The bridge is one of the most internationally recognized symbols of San Francisco, California, and the United States. It has been declared one of the Wonders of the Modern World by the American Society of Civil Engineers." />
                <link itemprop="url" href="https://en.wikipedia.org/wiki/Golden_Gate_Bridge" />
                  <div itemtype="https://schema.org/GeoCoordinates" itemscope>
                    <meta itemprop="latitude" content="37.8199286" />
                    <meta itemprop="longitude" content="-122.4804438" />
                  </div>
              </div>
          </div>
          <div itemtype="https://schema.org/ListItem" itemscope>
            <meta itemprop="name" content="Afternoon" />
            <meta itemprop="description" content="Visit of the famous SF Chinatown." />
            <meta itemprop="position" content="2" />
              <div itemtype="https://schema.org/TouristAttraction" itemscope>
                <meta itemprop="name" content="Chinatown" />
                <meta itemprop="description" content="Oldest Chinatown in North America and the largest Chinese enclave outside Asia. Visit its exotic shops, food markets, restaurants, and temples." />
                <meta itemprop="address" content="Stockton St and Clay St, San Francisco CA" />
              </div>
          </div>
          <div itemtype="https://schema.org/ListItem" itemscope>
            <meta itemprop="name" content="Night" />
            <meta itemprop="description" content="Enjoy the SF nightlife" />
            <meta itemprop="position" content="3" />
              <div itemtype="https://schema.org/TouristAttraction" itemscope>
                <meta itemprop="name" content="The Mission" />
                <meta itemprop="description" content="The Mission District offers visitors an unparalleled menu of food and flavors as well as venues for fans of underground indie rock, funk, soul and jazz." />
                <meta itemprop="address" content="Mission St and 19th St, San Francisco CA" />
              </div>
          </div>
      </div>
      <div itemprop="itemListElement" itemtype="https://schema.org/ListItem" itemscope>
        <link itemprop="additionalType" href="https://schema.org/ItemList" />
        <meta itemprop="name" content="Sunday" />
        <meta itemprop="position" content="2" />
        <meta itemprop="numberOfItems" content="2" />
          <div itemtype="https://schema.org/ListItem" itemscope>
            <meta itemprop="name" content="Morning" />
            <meta itemprop="description" content="Spend your morning shopping in one of the best spots in America." />
            <meta itemprop="position" content="1" />
              <div itemtype="https://schema.org/TouristAttraction" itemscope>
                <meta itemprop="name" content="Union Street Area" />
                <meta itemprop="description" content="Union Street is the major commercial hub of San Francisco. You will find most fashion labels there." />
                <meta itemprop="address" content="Union St and Buchanan St, San Francisco CA" />
              </div>
          </div>
          <div itemtype="https://schema.org/ListItem" itemscope>
            <meta itemprop="name" content="Afternoon" />
            <meta itemprop="description" content="Take your plane back home." />
            <meta itemprop="position" content="2" />
              <div itemtype="https://schema.org/Airport" itemscope>
                <meta itemprop="name" content="San Francisco Airport" />
              </div>
          </div>
      </div>
    </div>
  </div>
</div>

Пример, закодированный в формате RDFa, встроенный в HTML.


<div>
  <div vocab="https://schema.org/" typeof="TouristTrip">
    <div property="name" content="Weekend in San Francisco"></div>
    <div property="description" content="Short trip to San Francisco for first-time visitors."></div>
    <div property="touristType" content="Nightlife tourism"></div>
    <div property="touristType" content="Urban tourism"></div>
    <div property="touristType" content="Shopping tourism"></div>
    <div rel="offers">
      <div typeof="Offer">
        <div property="name" content="Trip proposed by MyTripco for tourists located in the USA."></div>
        <div property="description" content="The price includes two hotel nights in a 4 star hotel. Plane tickets not included."></div>
        <div property="price" content="500"></div>
        <div property="priceCurrency" content="USD"></div>
        <div property="availabilityEnds" datatype="DateTime" content="2017-10-31"></div>
        <div rel="url" resource="https://mytripco.com/trip/12345"></div>
        <div rel="eligibleRegion">
          <div typeof="Country">
            <div property="name" content="USA"></div>
          </div>
        </div>
        <div rel="offeredBy">
          <div typeof="Organization">
            <div rel="url" resource="https://mytripco.com/"></div>
            <div property="name" content="MyTripCo"></div>
          </div>
        </div>
      </div>
    </div>
    <div rel="itinerary">
      <div typeof="ItemList">
        <div property="numberOfItems" datatype="xsd:integer" content="2"></div>

        <div rel="itemListElement">
          <div typeof="ListItem">
            <div rel="rdf:type" resource="https://schema.org/ItemList"></div>
            <div property="name" content="Saturday"></div>
            <div property="position" datatype="xsd:integer" content="1"></div>
            <div property="numberOfItems" datatype="xsd:integer" content="3"></div>

            <div rel="itemListElement">
              <div typeof="ListItem">
                <div property="name" content="Morning"></div>
                <div property="description" content="Pedestrian visit of the Golden Gate Bridge."></div>
                <div property="position" datatype="xsd:integer" content="1"></div>
                <div rel="item">
                  <div typeof="Bridge">
                    <div rel="rdf:type" resource="https://schema.org/TouristAttraction"></div>
                    <div property="name" content="Golden Gate Bridge"></div>
                    <div property="description" content="Very popular suspension bridge. The bridge is one of the most internationally recognized symbols of San Francisco, California, and the United States. It has been declared one of the Wonders of the Modern World by the American Society of Civil Engineers."></div>
                    <div rel="url" resource="https://en.wikipedia.org/wiki/Golden_Gate_Bridge"></div>
                    <div rel="geo">
                      <div typeof="GeoCoordinates">
                        <div property="latitude" datatype="xsd:double" content="37.8199286"></div>
                        <div property="longitude" datatype="xsd:double" content="-122.4804438"></div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <div rel="itemListElement">
              <div typeof="ListItem">
                <div property="name" content="Afternoon"></div>
                <div property="description" content="Visit of the famous SF Chinatown."></div>
                <div property="position" datatype="xsd:integer" content="2"></div>
                <div rel="item">
                  <div typeof="TouristAttraction">
                    <div property="name" content="Chinatown"></div>
                    <div property="address" content="Stockton St and Clay St, San Francisco CA"></div>
                    <div property="description" content="Oldest Chinatown in North America and the largest Chinese enclave outside Asia. Visit its exotic shops, food markets, restaurants, and temples."></div>
                  </div>
                </div>
              </div>
            </div>
            <div rel="itemListElement">
              <div typeof="ListItem">
                <div property="name" content="Night"></div>
                <div property="description" content="Enjoy the SF nightlife"></div>
                <div property="position" datatype="xsd:integer" content="3"></div>
                <div rel="item">
                  <div typeof="TouristAttraction">
                    <div property="name" content="The Mission"></div>
                    <div property="description" content="The Mission District offers visitors an unparalleled menu of food and flavors as well as venues for fans of underground indie rock, funk, soul and jazz."></div>
                    <div property="address" content="Mission St and 19th St, San Francisco CA"></div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div rel="itemListElement">
          <div typeof="ListItem">
            <div rel="rdf:type" resource="https://schema.org/ItemList"></div>
            <div property="name" content="Sunday"></div>
            <div property="position" datatype="xsd:integer" content="2"></div>
            <div property="numberOfItems" datatype="xsd:integer" content="2"></div>

            <div rel="itemListElement">
              <div typeof="ListItem">
                <div property="name" content="Morning"></div>
                <div property="description" content="Spend your morning shopping in one of the best spots in America."></div>
                <div property="position" datatype="xsd:integer" content="1"></div>
                <div rel="item">
                  <div typeof="TouristAttraction">
                    <div property="description" content="Union Street is the major commercial hub of San Francisco. You will find most fashion labels there."></div>
                    <div property="address" content="Union St and Buchanan St, San Francisco CA"></div>
                    <div property="name" content="Union Street Area"></div>
                  </div>
                </div>
              </div>
            </div>
            <div rel="itemListElement">
              <div typeof="ListItem">
                <div property="name" content="Afternoon"></div>
                <div property="description" content="Take your plane back home."></div>
                <div rel="item">
                  <div typeof="Airport">
                    <div property="name" content="San Francisco Airport"></div>
                  </div>
                </div>
                <div property="position" datatype="xsd:integer" content="2"></div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

Пример, закодированный в формате JSON-LD в теге <script> HTML.


{
  "@context": "https://schema.org",
  "@type": "TouristTrip",
  "name": "Weekend in San Francisco",
  "description": "Short trip to San Francisco for first-time visitors.",
  "touristType": [
    "Urban tourism",
    "Nightlife tourism",
    "Shopping tourism"
  ],
  "offers": {
    "@type": "Offer",
    "name": "Trip proposed by MyTripco for tourists located in the USA.",
    "description": "The price includes two hotel nights in a 4 star hotel. Plane tickets not included.",
    "price": "500",
    "priceCurrency": "USD",
    "availabilityEnds": "2017-10-31",
    "url": "https://mytripco.com/trip/12345",
    "eligibleRegion": {
      "@type": "Country",
      "name": "USA"
    },
    "offeredBy": {
      "@type": "Organization",
      "name": "MyTripCo",
      "url": "https://mytripco.com"
    }
  },
  "itinerary": {
    "@type": "ItemList",
    "numberOfItems": 2,
    "itemListElement": [
      {
        "@type": ["ItemList","ListItem"],
        "name": "Saturday",
        "position": 1,
        "numberOfItems": 3,
        "itemListElement": [
          {
            "@type": "ListItem",
            "name": "Morning",
            "description": "Pedestrian visit of the Golden Gate Bridge.",
            "position": 1,
            "item": {
              "@type": [
                "TouristAttraction",
                "Bridge"
              ],
              "name": "Golden Gate Bridge",
              "description": "Very popular suspension bridge. The bridge is one of the most internationally recognized symbols of San Francisco, California, and the United States. It has been declared one of the Wonders of the Modern World by the American Society of Civil Engineers.",
              "url": "https://en.wikipedia.org/wiki/Golden_Gate_Bridge",
              "geo": {
                "@type":"GeoCoordinates",
                "latitude": 37.8199286,
                "longitude": -122.4804438
              }
            }
          },
          {
            "@type": "ListItem",
            "name": "Afternoon",
            "description": "Visit of the famous SF Chinatown.",
            "position": 2,
            "item": {
              "@type": [
                "TouristAttraction"
              ],
              "name": "Chinatown",
              "description": "Oldest Chinatown in North America and the largest Chinese enclave outside Asia. Visit its exotic shops, food markets, restaurants, and temples.",
              "address": "Stockton St and Clay St, San Francisco CA"
            }
          },
          {
            "@type": "ListItem",
            "name": "Night",
            "description": "Enjoy the SF nightlife",
            "position": 3,
            "item": {
              "@type": [
                "TouristAttraction"
              ],
              "name": "The Mission",
              "description": "The Mission District offers visitors an unparalleled menu of food and flavors as well as venues for fans of underground indie rock, funk, soul and jazz.",
              "address": "Mission St and 19th St, San Francisco CA"
            }
          }
        ]
      },
      {
        "@type": ["ItemList","ListItem"],
        "name": "Sunday",
        "position":2,
        "numberOfItems": 2,
        "itemListElement": [
          {
            "@type": "ListItem",
            "name": "Morning",
            "description":"Spend your morning shopping in one of the best spots in America.",
            "position": 1,
            "item": {
              "@type": [
                "TouristAttraction"
              ],
              "name": "Union Street Area",
              "description": "Union Street is the major commercial hub of San Francisco. You will find most fashion labels there.",
              "address":"Union St and Buchanan St, San Francisco CA"
            }
          },
          {
            "@type": "ListItem",
            "name": "Afternoon",
            "description": "Take your plane back home.",
            "position": 2,
            "item": {
              "@type": [
                "Airport"
              ],
              "name": "San Francisco Airport"
            }
          }
        ]
      }
    ]
  }
}

Структурированное представление примера JSON-LD.

@context
https://schema.org
@type
TouristTrip
name
Weekend in San Francisco
description
Short trip to San Francisco for first-time visitors.
touristType
0
Urban tourism
1
Nightlife tourism
2
Shopping tourism
offers
@type
Offer
name
Trip proposed by MyTripco for tourists located in the USA.
description
The price includes two hotel nights in a 4 star hotel. Plane tickets not included.
price
500
priceCurrency
USD
availabilityEnds
2017-10-31
url
https://mytripco.com/trip/12345
eligibleRegion
@type
Country
name
USA
offeredBy
@type
Organization
name
MyTripCo
url
https://mytripco.com
itinerary
@type
ItemList
numberOfItems
2
itemListElement
0
@type
0
ItemList
1
ListItem
name
Saturday
position
1
numberOfItems
3
itemListElement
0
@type
ListItem
name
Morning
description
Pedestrian visit of the Golden Gate Bridge.
position
1
item
@type
0
TouristAttraction
1
Bridge
name
Golden Gate Bridge
description
Very popular suspension bridge. The bridge is one of the most internationally recognized symbols of San Francisco, California, and the United States. It has been declared one of the Wonders of the Modern World by the American Society of Civil Engineers.
url
https://en.wikipedia.org/wiki/Golden_Gate_Bridge
geo
@type
GeoCoordinates
latitude
37.8199286
longitude
-122.4804438
1
@type
ListItem
name
Afternoon
description
Visit of the famous SF Chinatown.
position
2
item
@type
0
TouristAttraction
name
Chinatown
description
Oldest Chinatown in North America and the largest Chinese enclave outside Asia. Visit its exotic shops, food markets, restaurants, and temples.
address
Stockton St and Clay St, San Francisco CA
2
@type
ListItem
name
Night
description
Enjoy the SF nightlife
position
3
item
@type
0
TouristAttraction
name
The Mission
description
The Mission District offers visitors an unparalleled menu of food and flavors as well as venues for fans of underground indie rock, funk, soul and jazz.
address
Mission St and 19th St, San Francisco CA
1
@type
0
ItemList
1
ListItem
name
Sunday
position
2
numberOfItems
2
itemListElement
0
@type
ListItem
name
Morning
description
Spend your morning shopping in one of the best spots in America.
position
1
item
@type
0
TouristAttraction
name
Union Street Area
description
Union Street is the major commercial hub of San Francisco. You will find most fashion labels there.
address
Union St and Buchanan St, San Francisco CA
1
@type
ListItem
name
Afternoon
description
Take your plane back home.
position
2
item
@type
0
Airport
name
San Francisco Airport

Пример 4

Пример заметки или HTML разметки.


<div>
    <div>
        <h1>
            Your ideal trip to England
        </h1>
        <div>
            The dozen best places and areas that should be on you list when visiting England.
            Choose you own order but visit as many as you can.
        </div>
        <ul>
            <li>
                <a href="https://en.wikipedia.org/wiki/London">
                 <span style="font-weight:bold;">London</span></a>:&nbsp;
                 <span>While it's not impossible to plan a trip to England without visiting London,
                 it's certainly not to be advised, as the nation's sprawling capital boasts plenty of attractions to keep you busy.</span>
            </li>
            <li>
                <a href="https://en.wikipedia.org/wiki/Edinburgh">
                 <span style="font-weight:bold;">Edinburgh</span></a>:&nbsp;
                 <span>One of Scotland's most attractive cities, the capital city of Edinburgh
                 is also one of England's most visited destinations.</span>
            </li>
            <li>
                <a href="https://en.wikipedia.org/wiki/Bath,_Somerset">
                 <span style="font-weight:bold;">Bath</span></a>:&nbsp;
                 <span>Although one of England's smaller cities, Bath more than makes up for its diminutive size
                 with a multitude of things to see and do.</span>
            </li>
            <li>
                <a href="https://en.wikipedia.org/wiki/Stonehenge">
                 <span style="font-weight:bold;">Stonehenge</span></a>:&nbsp;
                 <span>One of the planet's oldest World Heritage Sites, Stonehenge has been a place of pilgrimage
                 for more than 4,500 years.</span>
            </li>
            <li>
                <a href="https://en.wikipedia.org/wiki/Windsor,_Berkshire">
                 <span style="font-weight:bold;">Windsor</span></a>:&nbsp;
                 <span>The historic town of Windsor, conveniently located a short train ride west of London,
                 offers plenty of fun things for tourists to do.</span>
            </li>
            <li>
                <a href="https://en.wikipedia.org/wiki/Cotswolds">
                 <span style="font-weight:bold;">The Cotswolds</span></a>:&nbsp;
                 <span>Covering almost 1,287 square kilometers of pristine countryside, the beautiful Cotswolds
                 is undoubtedly one of the most photographed corners of England.</span>
            </li>
            <li>
                <a href="https://en.wikipedia.org/wiki/Lake_District_National_Park">
                 <span style="font-weight:bold;">The Lake District</span></a>:&nbsp;
                 <span>In the north west of England and covering an area of 1,448 square kilometers is more of
                 England's most beautiful scenery: the Lake District National Park.</span>
            </li>
            <li>
                <a href="https://en.wikipedia.org/wiki/York">
                 <span style="font-weight:bold;">York</span></a>:&nbsp;
                 <span>One of northern England's most popular tourist destinations, the medieval city of York,
                 long the ecclesiastical capital of the Church of England, boasts one of the country's most magnificent cathedrals.</span>
            </li>
            <li>
                <a href="https://en.wikipedia.org/wiki/Oxford">
                 <span style="font-weight:bold;">Oxford</span></a>:&nbsp;
                 <span>England has long been a center of learning, with Oxford being one of the two most famous
                 university towns also ranking highly as tourist destinations.</span>
            </li>
            <li>
                <a href="https://en.wikipedia.org/wiki/Cambridge">
                 <span style="font-weight:bold;">Cambridge</span></a>:&nbsp;
                 <span>England has long been a center of learning, with Cambridge being one of the two most famous
                 university towns also ranking highly as tourist destinations.</span>
            </li>
            <li>
                <a href="https://en.wikipedia.org/wiki/Canterbury">
                 <span style="font-weight:bold;">Canterbury</span></a>:&nbsp;
                 <span>Pay a visit to historic Canterbury, and you'll soon discover why this beautiful city continues
                 to be such a draw for visitors to England.</span>
            </li>
            <li>
                <a href="https://en.wikipedia.org/wiki/Loch_Ness">
                 <span style="font-weight:bold;">York</span></a>:&nbsp;
                 <span>Despite the fact that the legends of mythical monsters have largely been debunked
                 (just don't tell the locals), spectacular Loch Ness remains an extremely popular tourist attraction for
                 travelers heading to Scotland."</span>
            </li>
        </ul>
    </div>
</div>

Пример, закодированный в формате Microdata, встроенный в HTML.


<div>
    <div itemtype="https://schema.org/Trip" itemscope="">
        <h1 itemprop="name">
            Your ideal trip to England
        </h1>
        <div itemprop="description">
            The dozen best places and areas that should be on you list when visiting England.
            Choose you own order but visit as many as you can.
        </div>
        <ul>
            <li itemprop="itinerary" itemtype="https://schema.org/City" itemscope="">
                <a href="https://en.wikipedia.org/wiki/London">
                 <span itemprop="name" style="font-weight:bold;">London</span></a>:&nbsp;
                 <span itemprop="description">While it's not impossible to plan a trip to England without visiting London,
                 it's certainly not to be advised, as the nation's sprawling capital boasts plenty of attractions to keep you busy.</span>
            </li>
            <li itemprop="itinerary" itemtype="https://schema.org/City" itemscope="">
                <a href="https://en.wikipedia.org/wiki/Edinburgh">
                 <span itemprop="name" style="font-weight:bold;">Edinburgh</span></a>:&nbsp;
                 <span itemprop="description">One of Scotland's most attractive cities, the capital city of Edinburgh
                 is also one of England's most visited destinations.</span>
            </li>
            <li itemprop="itinerary" itemtype="https://schema.org/City" itemscope="">
                <a href="https://en.wikipedia.org/wiki/Bath,_Somerset">
                 <span itemprop="name" style="font-weight:bold;">Bath</span></a>:&nbsp;
                 <span itemprop="description">Although one of England's smaller cities, Bath more than makes up for its diminutive size
                 with a multitude of things to see and do.</span>
            </li>
            <li itemprop="itinerary" itemtype="https://schema.org/LandmarksOrHistoricalBuildings" itemscope="">
                <a href="https://en.wikipedia.org/wiki/Stonehenge">
                 <span itemprop="name" style="font-weight:bold;">Stonehenge</span></a>:&nbsp;
                 <span itemprop="description">One of the planet's oldest World Heritage Sites, Stonehenge has been a place of pilgrimage
                 for more than 4,500 years.</span>
            </li>
            <li itemprop="itinerary" itemtype="https://schema.org/AdministrativeArea" itemscope="">
                <a href="https://en.wikipedia.org/wiki/Windsor,_Berkshire">
                 <span itemprop="name" style="font-weight:bold;">Windsor</span></a>:&nbsp;
                 <span itemprop="description">The historic town of Windsor, conveniently located a short train ride west of London,
                 offers plenty of fun things for tourists to do.</span>
            </li>
            <li itemprop="itinerary" itemtype="https://schema.org/AdministrativeArea" itemscope="">
                <a href="https://en.wikipedia.org/wiki/Cotswolds">
                 <span itemprop="name" style="font-weight:bold;">The Cotswolds</span></a>:&nbsp;
                 <span itemprop="description">Covering almost 1,287 square kilometers of pristine countryside, the beautiful Cotswolds
                 is undoubtedly one of the most photographed corners of England.</span>
            </li>
            <li itemprop="itinerary" itemtype="https://schema.org/AdministrativeArea" itemscope="">
                <a href="https://en.wikipedia.org/wiki/Lake_District_National_Park">
                 <span itemprop="name" style="font-weight:bold;">The Lake District</span></a>:&nbsp;
                 <span itemprop="description">In the north west of England and covering an area of 1,448 square kilometers is
                 more of England's most beautiful scenery: the Lake District National Park.</span>
            </li>
            <li itemprop="itinerary" itemtype="https://schema.org/City" itemscope="">
                <a href="https://en.wikipedia.org/wiki/York">
                 <span itemprop="name" style="font-weight:bold;">York</span></a>:&nbsp;
                 <span itemprop="description">One of northern England's most popular tourist destinations, the medieval city of York,
                 long the ecclesiastical capital of the Church of England, boasts one of the country's most magnificent cathedrals.</span>
            </li>
            <li itemprop="itinerary" itemtype="https://schema.org/City" itemscope="">
                <a href="https://en.wikipedia.org/wiki/Oxford">
                 <span itemprop="name" style="font-weight:bold;">Oxford</span></a>:&nbsp;
                 <span itemprop="description">England has long been a center of learning, with Oxford being one of the two most famous
                 university towns also ranking highly as tourist destinations.</span>
            </li>
            <li itemprop="itinerary" itemtype="https://schema.org/City" itemscope="">
                <a href="https://en.wikipedia.org/wiki/Cambridge">
                 <span itemprop="name" style="font-weight:bold;">Cambridge</span></a>:&nbsp;
                 <span itemprop="description">England has long been a center of learning, with Cambridge being one of the two most famous
                 university towns also ranking highly as tourist destinations.</span>
            </li>
            <li itemprop="itinerary" itemtype="https://schema.org/City" itemscope="">
                <a href="https://en.wikipedia.org/wiki/Canterbury">
                 <span itemprop="name" style="font-weight:bold;">Canterbury</span></a>:&nbsp;
                 <span itemprop="description">Pay a visit to historic Canterbury, and you'll soon discover why this beautiful city
                 continues to be such a draw for visitors to England.</span>
            </li>
            <li itemprop="itinerary" itemtype="https://schema.org/LakeBodyOfWater" itemscope="">
                <a href="https://en.wikipedia.org/wiki/Loch_Ness">
                 <span itemprop="name" style="font-weight:bold;">York</span></a>:&nbsp;
                 <span itemprop="description">Despite the fact that the legends of mythical monsters have largely been debunked
                 (just don't tell the locals), spectacular Loch Ness remains an extremely popular tourist attraction for travelers
                 heading to Scotland."</span>
            </li>
        </ul>
    </div>
</div>

Пример, закодированный в формате RDFa, встроенный в HTML.


<div>
    <div vocab="https://schema.org/" typeof="Trip">
        <h1 property="name">
            Your ideal trip to England
        </h1>
        <div property="description">
            The dozen best places and areas that should be on you list when visiting England.
            Choose you own order but visit as many as you can.
        </div>
        <ul>
            <li property="itinerary" typeof="City">
                <a href="https://en.wikipedia.org/wiki/London">
                 <span property="name" style="font-weight:bold;">London</span></a>:&nbsp;
                 <span property="description">While it's not impossible to plan a trip to England without visiting London,
                 it's certainly not to be advised, as the nation's sprawling capital boasts plenty of attractions to keep you busy.</span>
            </li>
            <li property="itinerary" typeof="City">
                <a href="https://en.wikipedia.org/wiki/Edinburgh">
                 <span property="name" style="font-weight:bold;">Edinburgh</span></a>:&nbsp;
                 <span property="description">One of Scotland's most attractive cities, the capital city of Edinburgh
                 is also one of England's most visited destinations.</span>
            </li>
            <li property="itinerary" typeof="City">
                <a href="https://en.wikipedia.org/wiki/Bath,_Somerset">
                 <span property="name" style="font-weight:bold;">Bath</span></a>:&nbsp;
                 <span property="description">Although one of England's smaller cities, Bath more than makes up for its diminutive size
                 with a multitude of things to see and do.</span>
            </li>
            <li property="itinerary" typeof="LandmarksOrHistoricalBuildings">
                <a href="https://en.wikipedia.org/wiki/Stonehenge">
                 <span property="name" style="font-weight:bold;">Stonehenge</span></a>:&nbsp;
                 <span property="description">One of the planet's oldest World Heritage Sites, Stonehenge has been a place of pilgrimage
                 for more than 4,500 years.</span>
            </li>
            <li property="itinerary" typeof="AdministrativeArea">
                <a href="https://en.wikipedia.org/wiki/Windsor,_Berkshire">
                 <span property="name" style="font-weight:bold;">Windsor</span></a>:&nbsp;
                 <span property="description">The historic town of Windsor, conveniently located a short train ride west of London,
                 offers plenty of fun things for tourists to do.</span>
            </li>
            <li property="itinerary" typeof="AdministrativeArea">
                <a href="https://en.wikipedia.org/wiki/Cotswolds">
                 <span property="name" style="font-weight:bold;">The Cotswolds</span></a>:&nbsp;
                 <span property="description">Covering almost 1,287 square kilometers of pristine countryside, the beautiful Cotswolds
                 is undoubtedly one of the most photographed corners of England.</span>
            </li>
            <li property="itinerary" typeof="AdministrativeArea">
                <a href="https://en.wikipedia.org/wiki/Lake_District_National_Park">
                 <span property="name" style="font-weight:bold;">The Lake District</span></a>:&nbsp;
                 <span property="description">In the north west of England and covering an area of 1,448 square kilometers is more
                 of England's most beautiful scenery: the Lake District National Park.</span>
            </li>
            <li property="itinerary" typeof="City">
                <a href="https://en.wikipedia.org/wiki/York">
                 <span property="name" style="font-weight:bold;">York</span></a>:&nbsp;
                 <span property="description">One of northern England's most popular tourist destinations, the medieval city of York,
                 long the ecclesiastical capital of the Church of England, boasts one of the country's most magnificent cathedrals.</span>
            </li>
            <li property="itinerary" typeof="City">
                <a href="https://en.wikipedia.org/wiki/Oxford">
                 <span property="name" style="font-weight:bold;">Oxford</span></a>:&nbsp;
                 <span property="description">England has long been a center of learning, with Oxford being one of the two most famous
                 university towns also ranking highly as tourist destinations.</span>
            </li>
            <li property="itinerary" typeof="City">
                <a href="https://en.wikipedia.org/wiki/Cambridge">
                 <span property="name" style="font-weight:bold;">Cambridge</span></a>:&nbsp;
                 <span property="description">England has long been a center of learning, with Cambridge being one of the two most famous
                 university towns also ranking highly as tourist destinations.</span>
            </li>
            <li property="itinerary" typeof="City">
                <a href="https://en.wikipedia.org/wiki/Canterbury">
                 <span property="name" style="font-weight:bold;">Canterbury</span></a>:&nbsp;
                 <span property="description">Pay a visit to historic Canterbury, and you'll soon discover why this beautiful city continues
                 to be such a draw for visitors to England.</span>
            </li>
            <li property="itinerary" typeof="LakeBodyOfWater">
                <a href="https://en.wikipedia.org/wiki/Loch_Ness">
                 <span property="name" style="font-weight:bold;">York</span></a>:&nbsp;
                 <span property="description">Despite the fact that the legends of mythical monsters have largely been debunked
                 (just don't tell the locals), spectacular Loch Ness remains an extremely popular tourist attraction for travelers
                 heading to Scotland."</span>
            </li>
        </ul>
    </div>
</div>

Пример, закодированный в формате JSON-LD в теге <script> HTML.


{
    "@context": "https://schema.org",
    "@type": "Trip",
    "name": "Your ideal trip to England",
    "description": "The dozen best places and areas that should be on you list when visiting England.  Choose you own order but visit as many as you can",
    "itinerary": [
        {
            "@type": "City",
            "name": "London",
            "description": "While it's not impossible to plan a trip to England without visiting London, it's certainly not to be advised, as the nation's sprawling capital boasts plenty of attractions to keep you busy",
            "url": "https://en.wikipedia.org/wiki/London"
        },
        {
            "@type": "City",
            "name": "Edinburgh",
            "description": "One of Scotland's most attractive cities, the capital city of Edinburgh is also one of England's most visited destinations.",
            "url": "https://en.wikipedia.org/wiki/Edinburgh"
        },
        {
            "@type": "City",
            "name": "Bath",
            "description": "Although one of England's smaller cities, Bath more than makes up for its diminutive size with a multitude of things to see and do.",
            "url": "https://en.wikipedia.org/wiki/Bath,_Somerset"
        },
        {
            "@type": "LandmarksOrHistoricalBuildings",
            "name": "Stonehenge",
            "description": "One of the planet's oldest World Heritage Sites, Stonehenge has been a place of pilgrimage for more than 4,500 years.",
            "url": "https://en.wikipedia.org/wiki/Stonehenge"
        },
        {
            "@type": "AdministrativeArea",
            "name": "Windsor",
            "description": "The historic town of Windsor, conveniently located a short train ride west of London, offers plenty of fun things for tourists to do.",
            "url": "https://en.wikipedia.org/wiki/Windsor,_Berkshire"
        },
        {
            "@type": "AdministrativeArea",
            "name": "The Cotswolds",
            "description": "Covering almost 1,287 square kilometers of pristine countryside, the beautiful Cotswolds is undoubtedly one of the most photographed corners of England.",
            "url": "https://en.wikipedia.org/wiki/Cotswolds"
        },
        {
            "@type": "AdministrativeArea",
            "name": "The Lake District",
            "description": "In the north west of England and covering an area of 1,448 square kilometers is more of England's most beautiful scenery: the Lake District National Park.",
            "url": "https://en.wikipedia.org/wiki/Lake_District_National_Park"
        },
        {
            "@type": "City",
            "name": "York",
            "description": "One of northern England's most popular tourist destinations, the medieval city of York, long the ecclesiastical capital of the Church of England, boasts one of the country's most magnificent cathedrals.",
            "url": "https://en.wikipedia.org/wiki/York"
        },
        {
            "@type": "City",
            "name": "Oxford",
            "description": "England has long been a center of learning, with Oxford being one of the two most famous university towns also ranking highly as tourist destinations.",
            "url": "https://en.wikipedia.org/wiki/Oxford"
        },
        {
            "@type": "City",
            "name": "Cambridge",
            "description": "England has long been a center of learning, with Cambridge being one of the two most famous university towns also ranking highly as tourist destinations.",
            "url": "https://en.wikipedia.org/wiki/Cambridge"
        },
        {
            "@type": "City",
            "name": "Canterbury",
            "description": "Pay a visit to historic Canterbury, and you'll soon discover why this beautiful city continues to be such a draw for visitors to England.",
            "url": "https://en.wikipedia.org/wiki/Canterbury"
        },
        {
            "@type": "LakeBodyOfWater",
            "name": "Loch Ness",
            "description": "Despite the fact that the legends of mythical monsters have largely been debunked (just don't tell the locals), spectacular Loch Ness remains an extremely popular tourist attraction for travelers heading to Scotland.",
            "url": "https://en.wikipedia.org/wiki/Loch_Ness"
        }
    ]
}

Структурированное представление примера JSON-LD.

@context
https://schema.org
@type
Trip
name
Your ideal trip to England
description
The dozen best places and areas that should be on you list when visiting England. Choose you own order but visit as many as you can
itinerary
0
@type
City
name
London
description
While it's not impossible to plan a trip to England without visiting London, it's certainly not to be advised, as the nation's sprawling capital boasts plenty of attractions to keep you busy
url
https://en.wikipedia.org/wiki/London
1
@type
City
name
Edinburgh
description
One of Scotland's most attractive cities, the capital city of Edinburgh is also one of England's most visited destinations.
url
https://en.wikipedia.org/wiki/Edinburgh
2
@type
City
name
Bath
description
Although one of England's smaller cities, Bath more than makes up for its diminutive size with a multitude of things to see and do.
url
https://en.wikipedia.org/wiki/Bath,_Somerset
3
@type
LandmarksOrHistoricalBuildings
name
Stonehenge
description
One of the planet's oldest World Heritage Sites, Stonehenge has been a place of pilgrimage for more than 4,500 years.
url
https://en.wikipedia.org/wiki/Stonehenge
4
@type
AdministrativeArea
name
Windsor
description
The historic town of Windsor, conveniently located a short train ride west of London, offers plenty of fun things for tourists to do.
url
https://en.wikipedia.org/wiki/Windsor,_Berkshire
5
@type
AdministrativeArea
name
The Cotswolds
description
Covering almost 1,287 square kilometers of pristine countryside, the beautiful Cotswolds is undoubtedly one of the most photographed corners of England.
url
https://en.wikipedia.org/wiki/Cotswolds
6
@type
AdministrativeArea
name
The Lake District
description
In the north west of England and covering an area of 1,448 square kilometers is more of England's most beautiful scenery: the Lake District National Park.
url
https://en.wikipedia.org/wiki/Lake_District_National_Park
7
@type
City
name
York
description
One of northern England's most popular tourist destinations, the medieval city of York, long the ecclesiastical capital of the Church of England, boasts one of the country's most magnificent cathedrals.
url
https://en.wikipedia.org/wiki/York
8
@type
City
name
Oxford
description
England has long been a center of learning, with Oxford being one of the two most famous university towns also ranking highly as tourist destinations.
url
https://en.wikipedia.org/wiki/Oxford
9
@type
City
name
Cambridge
description
England has long been a center of learning, with Cambridge being one of the two most famous university towns also ranking highly as tourist destinations.
url
https://en.wikipedia.org/wiki/Cambridge
10
@type
City
name
Canterbury
description
Pay a visit to historic Canterbury, and you'll soon discover why this beautiful city continues to be such a draw for visitors to England.
url
https://en.wikipedia.org/wiki/Canterbury
11
@type
LakeBodyOfWater
name
Loch Ness
description
Despite the fact that the legends of mythical monsters have largely been debunked (just don't tell the locals), spectacular Loch Ness remains an extremely popular tourist attraction for travelers heading to Scotland.
url
https://en.wikipedia.org/wiki/Loch_Ness
Автор: Семён Авдосов [schema.su]
Дата публикации: 16.11.2024
Дата обновления: 20.11.2024
Комментарии
Новые материалы на сайте