What does schema markup actually do?

Schema markup, also called structured data, is a machine-readable description of a page written in the schema.org vocabulary. It tells search engines and AI systems what the page is about: this is a hotel, here is its address, these are its check-in times, this page is a seven-day itinerary. Google recommends writing it as JSON-LD, a block of code that sits in the page's HTML apart from the visible text.

Markup does not make a weak page rank. It removes guesswork, so a crawler can be sure which business, place or offer the page describes, and it makes a page eligible for some of Google's rich results.

Which types should a hotel website use?

Start with one description of the property, using the most specific type that fits. Schema.org's LodgingBusiness has subtypes including Hotel, Resort, Hostel, Motel and BedAndBreakfast. The properties worth filling in, when the facts are confirmed, are:

  • name, url, logo, image and telephone, matching the website and the Google Business Profile exactly
  • address and geo coordinates for the entrance, not the town centre
  • checkinTime and checkoutTime, which travellers and assistants both ask about
  • amenityFeature for facilities such as parking, a restaurant or Wi-Fi, listing only what the hotel actually has
  • numberOfRooms and petsAllowed, when the hotel has confirmed them
  • starRating only for an official classification, never a self-awarded one
  • sameAs links to the hotel's own Google, social and listing profiles

A group with several properties can describe the company as an Organization and each property as its own Hotel or Resort, linked to the group. On floretresorts.in, structured data describes Floret Resorts as the organisation, with each of the three hotels as a member.

Which types should a travel agency use?

A travel agency is a business customers contact, so it should be described with schema.org's TravelAgency type, a kind of LocalBusiness, with its address, opening hours, telephone and map position. Its services, such as visas, forex, flights or destination weddings, can be described as Service items offered by the agency.

Itineraries and destinations have their own types. TouristTrip describes a package or itinerary, with the places visited in order, and TouristDestination describes a place a traveller might go. On the Orbitz Holidays rebuild, the business is described once as a TravelAgency, and each of the 29 destination pages carries TouristTrip and TouristDestination markup generated from the same data as the visible page.

Which markup does Google show as rich results?

Only some types change how a page looks in Google, and the list changes over time, so check Google's own documentation before promising a client a visual result. For hotel and travel sites today:

  • BreadcrumbList helps Google understand where a page sits in the site.
  • Organization and LocalBusiness markup feed Google's understanding of the business, including its logo and contact details.
  • Review stars are not shown for a business's reviews of itself. Since 2019 Google has not displayed review snippets for LocalBusiness or Organization markup when the business publishes them about itself.
  • FAQ rich results have been limited since August 2023 to well-known government and health websites, so FAQ markup on a hotel site will not produce expandable questions in Google. It still describes the questions and answers for other systems.
  • Hotel prices in Google come from Google Hotel Center, not from markup on the website.
  • TouristTrip and TouristDestination have no Google rich result, but they describe itineraries clearly to any system that reads schema.org.

What mistakes make markup a liability?

Markup becomes a problem when it says something the page does not. The common cases are:

  • prices, hours or room counts in the markup that differ from the visible page, usually because one was updated and the other was not
  • ratings or reviews in markup that visitors cannot see on the page
  • several conflicting Organization or LocalBusiness blocks, often added by different plugins or themes
  • the wrong type, such as Hotel on a travel agency's site, or a template's sample data left in place
  • claims nobody has verified, such as an award, a licence number or a star rating

The safest pattern is to generate the markup from the same source as the visible content, so the two cannot drift apart.

How do you check the markup?

Google's Rich Results Test shows which rich results a page is eligible for and flags errors in the types Google supports. The Schema Markup Validator at validator.schema.org checks any schema.org type, including TouristTrip. After launch, Google Search Console's enhancement reports show markup errors across the whole site. Check after every template change, because a broken theme update can strip markup from hundreds of pages at once.

Where this fits in the audit

Structured data is Layer 05 of the Visibility Playbook. It depends on Layer 01, verified business facts, and Layer 04, offer pages, because markup can only describe what the page already says. For hotels and travel companies, the Digital Footprint Audit tests the existing markup against the visible content and the business's confirmed facts before any new markup is added.