Schema: Hotel
Schema: Hotel Example Markup
The following are examples of markup written in json+ld that include the correct usage for Schema: Hotel.
Hotel JSON-LD example for a boutique hotel in Dunmore hosting XooCon attendees. Covers starRating, amenityFeature with LocationFeatureSpecification, checkinTime/checkoutTime, numberOfRooms, petsAllowed, and the LodgingBusiness property set for hospitality search.
LodgingReservation JSON-LD example for a hotel booking at Hotel Dunmore. Covers checkinTime, checkoutTime, lodgingUnitType, numAdults, numChildren, and lodgingUnitDescription (the 6 properties unique to LodgingReservation).
ReservationPackage JSON-LD example for a bundled travel package. ReservationPackage adds one property (subReservation) to group multiple bookings under one confirmation.
Suite JSON-LD example for the Hotel Dunmore Presidential Suite. Covers bed (with BedDetails), numberOfRooms, and occupancy (re-declared on Suite), plus inherited Accommodation amenities and floor size.
HotelRoom JSON-LD example for a standard king room at Hotel Dunmore. Covers bed and occupancy (re-declared on HotelRoom), plus inherited Accommodation amenities and how HotelRoom fits inside a Hotel via containedInPlace.
LocationFeatureSpecification JSON-LD example for the amenityFeature of a Place, Accommodation, or LodgingBusiness. PropertyValue subtype adding hoursAvailable, validFrom, and validThrough for time-scoped amenities.