Skip to content
AnswerWell geo Documentation

Research · 7 min read · Answerwell

Hotel Structured Data: Rooms, Offers, Amenities and Coordinates

How to mark up hotels with Schema.org Hotel and HotelRoom, room offers, amenities, check-in times, and geo coordinates.

This page summarises Schema.org guidance on marking up hotels and similar lodging: the business (Hotel), rentable units (HotelRoom and related types), and commercial terms on Offer nodes—not on the hotel or room themselves. The patterns apply to hostels, resorts, and campgrounds when you use the matching lodging types.

Hotel markup model: lodging business, accommodation, and offer

Section titled “Hotel markup model: lodging business, accommodation, and offer”

Schema.org models hotel-related web content with three core objects:

When modeling hotel-related information in Web content with schema.org, there are three core objects:

A lodging business, e.g. a hotel, hostel, resort, or a camping site): essentially the place and local business that houses the actual units of the establishment (e.g. hotel rooms). The lodging business can encompass multiple buildings but is in most cases a coherent place. An accommodation, i.e. the actually relevant units of the establishment (e.g. hotel rooms, suites, apartments, meeting rooms, camping pitches, etc.). These are the actual objects that are offered for rental. An offer to let a hotel room (or other forms of accommodations) for a particular amount of money and for a given type of usage (e.g. occupancy), typically further constrained by advance booking requirements and other terms and conditions.

— Schema.org, Markup for Hotels

In type terms, accommodation types (including HotelRoom) are subclasses of Place. Lodging businesses such as Hotel are subclasses of LocalBusiness (which is both Place and Organization). Prices, booking windows, and stay rules belong on Offer (and nested price types), not as direct properties of the hotel building or room description—unless you only publish a coarse summary such as priceRange on the hotel.

Section titled “containsPlace and makesOffer: how Hotel links to HotelRoom and Offer”

Rooms connect to the property with containsPlace (hotel → room) or containedInPlace (room → hotel). The hotel’s commercial relationship to rates uses makesOffer on the hotel, or offeredBy on the offer; a room product can expose offers pointing at the same Offer. Bundled rates (room plus breakfast, multiple nights) can use includesObject with TypeAndQuantityNode nodes, as described in Markup for Hotels.

Relationship From Property To
Property contains room Hotel containsPlace HotelRoom
Room belongs to property HotelRoom containedInPlace Hotel
Property publishes rate Hotel makesOffer Offer
Rate is for a room Offer itemsOffered HotelRoom (+ Product MTE)

Multi-Typed Entity (MTE): HotelRoom as Product for offers

Section titled “Multi-Typed Entity (MTE): HotelRoom as Product for offers”

A hotel room is not a subclass of Product or Service, but rental offers reuse commerce patterns only if the accommodation instance is also typed as Product:

When defining an instance of an Accommodation, that is offered by a LodgingBusiness, it is described as being both the appropriate Type for the accommodation and a Product. Thus for example a Hotel will make an Offer, or offers, for a HotelRoom, that is also identified as a Product. Prices and terms and conditions are thus not properties of the hotel or hotel room, but of the offer for a certain room or room category.

— Schema.org, Markup for Hotels

Markup differs by syntax but the idea is the same:

Syntax How to declare HotelRoom + Product
Microdata itemtype="https://schema.org/HotelRoom https://schema.org/Product"
RDFa typeof="HotelRoom Product"
JSON-LD "@type": ["HotelRoom","Product"]

For rental accommodations (not sale of the building), attach businessFunction with value LeaseOut on the offer (via the GoodRelations URI used in Schema.org examples). Omitting LeaseOut blurs rental offers with real-estate sale markup.

Minimal Hotel markup: identity, address, and priceRange

Section titled “Minimal Hotel markup: identity, address, and priceRange”

The smallest useful hotel graph often includes name, description, postal address, contact, imagery, star class, and a textual rate band—without per-room Offer objects:

In the most basic form, we can just model the hotel with basic information like photos and star rating and a price range, but without individual room rates and availability information

— Schema.org, Markup for Hotels

See the full Hotel type for additional properties. The same lodging patterns apply to Campground or MeetingRoom when you swap the specific lodging type.

starRating is typically a nested Rating with ratingValue (for example 4 for a four-star property). You may add author on the Rating when an organisation such as DEHOGA assigns the stars—see examples on starRating. priceRange is a human-readable span (for example $100 - $240), not a machine offer price.

logo and photo distinguish brand mark from property photography. numberOfRooms can be a plain number or one or more QuantitativeValue nodes with unitText (for example “45 double rooms” and “15 single rooms”)—see numberOfRooms.

geo, hasMap, and address: where the hotel is

Section titled “geo, hasMap, and address: where the hotel is”

Postal address belongs in a nested PostalAddress on the hotel. Precise coordinates use geo as a GeoCoordinates object with latitude and longitude (decimal values in content or JSON-LD fields work in the official examples). A map link on the hotel uses hasMap with the URL of a map page—Schema.org’s hasMap example attaches the property to a maps URL on the anchor’s href.

For a standalone place example (same coordinate pattern), see GeoCoordinates.

checkinTime and checkoutTime: guest arrival and departure

Section titled “checkinTime and checkoutTime: guest arrival and departure”

Front-desk policy times use checkinTime and checkoutTime on the Hotel. Microdata examples store ISO-like times in meta content (for example 14:00:00 check-in and 11:00:00 check-out) while showing friendly text on the page. Vacation rental structured data documentation uses the same properties on VacationRental listings with timezone offsets (for example 18:00:00+08:00); the property names match even when the primary type is not Hotel.

Reception opening hours (when the desk is staffed) are separate: use openingHours or openingHoursSpecification on the hotel, as in Markup for Hotels—do not confuse them with guest check-in/out times.

amenityFeature and hoursAvailable: hotel and room facilities

Section titled “amenityFeature and hoursAvailable: hotel and room facilities”

Hotel-wide features (sauna, gym, languages spoken) use amenityFeature pointing at LocationFeatureSpecification nodes with a name and a value (often boolean True in microdata). Room-level amenities (mini-bar, Wi‑Fi) use the same pattern on HotelRoom.

When an amenity is only available part of the week, nest hoursAvailable as OpeningHoursSpecification under the feature—hoursAvailable and amenityFeature examples show a sauna open Thursdays with opens / closes times.

HotelRoom details: beds, occupancy, and room offers

Section titled “HotelRoom details: beds, occupancy, and room offers”

Describe categories with name, description, and photo under containsPlace. Optional fields include bed, occupancy as QuantitativeValue (value, maxValue, unitCode IE for persons), and room amenityFeature.

Offer pricing: per night, per person, ranges, and stay rules

Section titled “Offer pricing: per night, per person, ranges, and stay rules”

On the MTE room product, commercial data lives under offers → Offer → UnitPriceSpecification:

  • Per room per night: unitCode DAY, price, priceCurrency.
  • Per person: unitCode IE and occupancy on the room; document base occupancy in prose when required.
  • Range: minPrice and maxPrice on the unit price specification.
  • Booking and stay windows: validFrom / validThrough on the price specification, availabilityStarts / availabilityEnds on the offer for eligible stay dates, advanceBookingRequirement, eligibleDuration for minimum nights.

A hotel may also expose a rate via makesOffer on the parent Hotel with itemsOffered pointing at the room product—see the HotelRoom example with flex-rate and validThrough.

validFrom and price validity on Offer (Google merchant rules)

Section titled “validFrom and price validity on Offer (Google merchant rules)”

When an active sale price sits on the Offer node itself, Google’s Merchant listing structured data documentation places validFrom and validThrough or priceValidUntil on that Offer. When the selling price is only inside a PriceSpecification / UnitPriceSpecification (typical for many hotel room examples), put validFrom and validThrough on the price specification that carries the sale price, not on unrelated strike-through rows. priceValidUntil applies to Offer, not to PriceSpecification.

That aligns with Schema.org’s pattern of dating UnitPriceSpecification for promotional room rates in Markup for Hotels.

  • Putting nightly prices on Hotel or HotelRoom instead of on an Offer / UnitPriceSpecification.
  • Publishing HotelRoom offers without the Product MTE, so commerce properties have no defined subject.
  • Omitting businessFunction LeaseOut on rental room offers.
  • Using priceRange on the hotel as if it were an offer price with currency and validity dates.
  • Mixing guest checkinTime / checkoutTime with reception openingHours.
  • Marking amenities without LocationFeatureSpecification or boolean value, or listing timed amenities without hoursAvailable.
  1. Compare your Hotel graph to the patterns in Markup for Hotels and type reference pages such as Hotel, HotelRoom, geo, checkinTime, and amenityFeature.

  2. For each bookable room rate, confirm the room is typed as both accommodation and Product, the Offer uses LeaseOut, and price and date fields sit on the Offer or UnitPriceSpecification as in Markup for Hotels and Merchant listing structured data.

  3. If you publish vacation-style listings, cross-check guest-facing fields against Vacation rental structured data for overlapping properties (checkinTime, checkoutTime, amenityFeature, coordinates).

  4. Re-fetch the live HTML or JSON-LD after deploy and ensure visible page text still matches embedded content values (times, prices, addresses).

  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact wording you are asking about, and we will correct or clarify it.