Skip to main content

Rating – Add Structured Ratings with schema.org

he Rating type from schema.org allows you to mark up numerical scores or evaluations – such as user ratings for products, recipes, or services. Rating defines a score within a scale, such as 1 to 5 stars or 0 to 10 points.

It is typically used within Review or AggregateRating, and helps enhance search snippets with visual rating stars.

Key Features of Rating:

  • Contains numeric values: ratingValue, bestRating, worstRating
  • Used directly or embedded within Review and AggregateRating
  • Supports clear evaluation of products, services, recipes, etc.
  • Improves visibility in Google results through rich snippets

Common Use Cases:

  • Customer reviews in online shops
  • Rating scores on recipes, tutorials, or apps
  • Structured service feedback
  • Star ratings on course, book, or product pages

Example: Rating (Review of Organic Rye Bread)

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Organic Rye Bread",
  "review": {
    "@type": "Review",
    "author": {
      "@type": "Person",
      "name": "Anna Flour"
    },
    "datePublished": "2025-11-15",
    "reviewBody": "A fantastic bread with a hearty crust and mild sour flavor.",
    "reviewRating": {
      "@type": "Rating",
      "ratingValue": "5",
      "bestRating": "5",
      "worstRating": "1"
    }
  }
}
</script>

Best Practices:

  • Always include bestRating and worstRating explicitly (default is not assumed)
  • Keep values consistent with the visible rating scale (e.g. 1–5 stars)
  • Use Rating within Review or Product, not in isolation
  • For average scores, use AggregateRating instead of individual Rating

Learn more about our services in structured data & technical SEO here.

Back
© FINK Brot