This module provides content types and views for creating hotel websites, including types for Hotels, Hotel Rooms, Persons, and Organizations. It also includes an Amenities vocabulary to describe hotel features and supports structured data markup for hotel information.
Introduction
The Schema.org Blueprints Starter Kit: Hotel module provides Schema.org types required to build a hotel website.
Features
- Provides Person (person), Organization (organization), Hotel (hotel) and HotelRoom (hotel_room) content types.
- Adds an Amenities vocabulary.
- Creates a /hotels view.
- Adds a default shortcut to view Hotels (/hotels).
Notes
Markup for Hotels
- Primary Schema.org types
- Booking Schema.org types
- A https://schema.org/HotelRoom can also be identified as a https://schema.org/Product.
- The https://schema.org/additionalType property allows indicating the exact type.
- Pricing should be a sub-module.
Hotel Price Structured Data Reference
- Primarily focused on understanding what is offered with pricing at the hotel.
- https://schema.org/amenityFeature is important.
- https://schema.org/identifier is recommended.
- https://schema.org/makesOffer and https://schema.org/priceSpecification is used for commerce.
Google Lodging Format Schema | Hotel Content
- Defines expected values for common amenities and services.
Examples
Below are examples of hotels considered while building this starter kit.
Types
- Amenities (taxonomy_term:LocationFeatureSpecification)
https://schema.org/LocationFeatureSpecification - Bed Details (paragraph:BedDetails)
https://schema.org/BedDetails - Contact Point (paragraph:ContactPoint)
https://schema.org/ContactPoint - Person (node:Person)
A person (alive, dead, undead, or fictional).
https://schema.org/Person - Organization (node:Organization)
An organization such as a school, NGO, corporation, club, etc.
https://schema.org/Organization - Hotel Room (node:HotelRoom)
A hotel room is a single room in a hotel.
https://schema.org/HotelRoom - Hotel (node:Hotel)
A hotel is an establishment that provides lodging paid on a short-term basis.
https://schema.org/Hotel