https://github.com/schemaorg/schemaorg
Raw File
Tip revision: ae70d0a9dbab49c005fd8dd1fd522f7236b04be0 authored by Dan Brickley on 17 October 2023, 15:51:02 UTC
Version 23.0 release files
Tip revision: ae70d0a
sdo-trip-examples.txt
TYPES: #eg-0441 Trip, TouristTrip, itinerary

PRE-MARKUP:

<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:

<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:

<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:

{
    "@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"
        }
    ]
}

back to top