Trip
A Schema.org Type
- Canonical URL: https://schema.org/Trip
- Check for open issues.
A trip or journey. An itinerary of visits to one or more places.
Property | Expected Type | Description |
---|---|---|
Properties from Trip | ||
arrivalTime |
DateTime or Time |
The expected arrival time. |
departureTime |
DateTime or Time |
The expected departure time. |
itinerary |
ItemList or Place |
Destination(s) ( Place ) that make up a trip. For a trip where destination order is important use ItemList to specify that order (see examples). |
offers |
Demand or Offer |
An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use businessFunction to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a Demand. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.
Inverse property: itemOffered |
partOfTrip |
Trip | Identifies that this Trip is a subTrip of another Trip. For example Day 1, Day 2, etc. of a multi-day trip.
Inverse property: subTrip |
provider |
Organization or Person |
The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller. Supersedes carrier. |
subTrip |
Trip | Identifies a Trip that is a subTrip of this Trip. For example Day 1, Day 2, etc. of a multi-day trip.
Inverse property: partOfTrip |
tripOrigin |
Place | The location of origin of the trip, prior to any destination(s). |
Properties from Thing | ||
additionalType |
Text or URL |
An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide. |
alternateName |
Text | An alias for the item. |
description |
Text or TextObject |
A description of the item. |
disambiguatingDescription |
Text | A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation. |
identifier |
PropertyValue or Text or URL |
The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details. |
image |
ImageObject or URL |
An image of the item. This can be a URL or a fully described ImageObject. |
mainEntityOfPage |
CreativeWork or URL |
Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See background notes for details.
Inverse property: mainEntity |
name |
Text | The name of the item. |
potentialAction |
Action | Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role. |
sameAs |
URL | URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website. |
subjectOf |
CreativeWork or Event |
A CreativeWork or Event about this Thing.
Inverse property: about |
url |
URL | URL of the item. |
Instances of
Trip may appear as a value for the following properties
Property | On Types | Description |
---|---|---|
itemOffered |
Demand or Offer |
An item being offered (or demanded). The transactional nature of the offer or demand is documented using businessFunction, e.g. sell, lease etc. While several common expected types are listed explicitly in this definition, others can be used. Using a second type, such as Product or a subtype of Product, can clarify the nature of the offer. |
partOfTrip | Trip | Identifies that this Trip is a subTrip of another Trip. For example Day 1, Day 2, etc. of a multi-day trip. |
subTrip | Trip | Identifies a Trip that is a subTrip of this Trip. For example Day 1, Day 2, etc. of a multi-day trip. |
More specific Types
Acknowledgements
Tourism Structured Web Data Community Group
Examples
Example 1
Copied
Example notes or example HTML without markup.
<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>
Example encoded as Microdata embedded in 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>
Example encoded as RDFa embedded in 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>
Example encoded as JSON-LD in a HTML script tag.
{ "@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." } ] }
Structured representation of the JSON-LD example.
Example 2
Copied
Example notes or example HTML without 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>: <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>: <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>: <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>: <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>: <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>: <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>: <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>: <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>: <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>: <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>: <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>: <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>
Example encoded as Microdata embedded in 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>: <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>: <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>: <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>: <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>: <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>: <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>: <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>: <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>: <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>: <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>: <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>: <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>
Example encoded as RDFa embedded in 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>: <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>: <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>: <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>: <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>: <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>: <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>: <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>: <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>: <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>: <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>: <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>: <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>
Example encoded as JSON-LD in a HTML script tag.
{ "@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" } ] }
Structured representation of the JSON-LD example.