XooCode(){

Schema: starRating

Schema: starRating Example Markup

The following are examples of markup written in json+ld that include the correct usage for Schema: starRating.

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.

LodgingBusiness

LodgingBusiness JSON-LD overview. LodgingBusiness is the parent type for Hotel, Motel, Hostel, and other accommodation businesses. For a complete example, see the Hotel page.

FoodEstablishment

FoodEstablishment JSON-LD example for the parent type behind Restaurant, CafeOrCoffeeShop, Bakery, BarOrPub, Brewery, Distillery, FastFoodRestaurant, IceCreamShop, and Winery. Adds 4 direct properties: acceptsReservations, hasMenu, servesCuisine, starRating.

BedAndBreakfast

BedAndBreakfast JSON-LD stub for B&Bs and small inns. Direct LodgingBusiness subtype with no unique properties.

Resort

Resort JSON-LD stub for destination resorts and leisure properties. Direct LodgingBusiness subtype with no unique properties.