Schema: Rating
Schema: Rating Example Markup
The following are examples of markup written in json+ld that include the correct usage for Schema: Rating.
An in-depth JSON-LD example for Recipe markup, wired into the Xoo universe as the specific nutritional formula from Jane Xoo's 1945 clinical framework. Learn HowToStep composition, NutritionInformation, ISO 8601 durations, recipeYield as QuantitativeValue, and how a Recipe can be derived from and cross-referenced with an Article.
Review JSON-LD example for a standalone product review with author, rating, review body, date published, and item reviewed. The individual review structure used inside Product, LocalBusiness, Recipe, Book, and Movie.
Movie JSON-LD example for a documentary about Jane Xoo's pediatric work. Covers director, actor, duration in ISO 8601, contentRating, releasedEvent for premiere details, aggregateRating, review with nested Rating, and the WatchAction pattern for streaming links that Google uses to build the movie knowledge panel.
ClaimReview JSON-LD example for a fact-check of the claim that Jane Xoo's pediatric framework reduced infant mortality by 60%. Covers claimReviewed, reviewRating with the textual verdict scale, itemReviewed as a Claim with firstAppearance, and how Google uses ClaimReview for the fact-check rich result and label in search results.
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.
DietarySupplement JSON-LD example for a vitamin product. DietarySupplement has 10 unique properties covering active ingredients, dosage, safety, and legal status for supplements taken orally.
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.
AssessAction JSON-LD example for evaluating a product. AssessAction is the parent of ReviewAction, ChooseAction, and ReactAction for actions that evaluate or judge something.
ReviewNewsArticle JSON-LD stub for news reviews (restaurant reviews, film reviews, product reviews as news pieces). Pending NewsArticle subtype; for a standalone Review without the news wrapper, use the Review type directly.
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.
Resort JSON-LD stub for destination resorts and leisure properties. Direct LodgingBusiness subtype with no unique properties.
Rating JSON-LD example for the parent type behind AggregateRating and EndorsementRating. Adds 6 direct properties: ratingValue, bestRating, worstRating, ratingExplanation, reviewAspect, author.
EndorsementRating JSON-LD stub for formal endorsements and pledges. Direct Rating subtype with no unique properties.
CriticReview JSON-LD stub for professional critic reviews. Direct Review subtype with no unique properties. Signals professional vs amateur reviewer.
UserReview JSON-LD stub for end-user reviews (consumers, purchasers, attendees). Direct Review subtype with no unique properties. Contrasts with CriticReview for professional reviews.
EmployerReview JSON-LD example for reviews of an Organization in its role as an employer (Glassdoor-style reviews). Pending Review subtype with no unique properties.
ReviewAction JSON-LD reference — AssessAction subtype with resultReview. Producing a Review.