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

itinerary

Свойство schema.org ?

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

Описание:

Направление(я) ( Место ), которые составляют поездку. Для поездки, где порядок направлений важен, используйте ItemList, чтобы указать этот порядок (см. примеры).

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

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

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

В целом, использование свойства itinerary способствует улучшению качества информации о путешествиях, облегчает планирование для пользователей и помогает в организации данных для поисковых систем.

Ожидается, что значения будут одного из этих типов

Используется в этих типах

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

Сообщество по структурированным данным в области туризма

Этот элемент основан на работе Сообщества по структурированным данным в области туризма.

Примеры

Пример 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>
    <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
Комментарии
Новые материалы на сайте