Review Schema Markup: Copyable JSON LD, No Star Guarantees
Review Schema Markup: Copyable JSON LD, No Star Guarantees

Review schema markup is structured data that tells search engines which review and rating information on your page is real, using the Review and AggregateRating types. Add it as JSON-LD, and make sure the rating, the count, and the review text are visible on the page and match the markup. Doing so makes you eligible for review snippets, but it never guarantees them.
TL;DR:
- Use Review for an individual review with a named author, AggregateRating for a displayed average and count, and both when product pages show both.
- For AggregateRating, use reviewCount when people wrote reviews and ratingCount for scores alone; declare bestRating and worstRating whenever the scale differs from one to five.
- Choose the separate script format for easier maintenance, nest ratings inside the reviewed item, and match its visible name, score, count, and variant exactly.
- Validate the rendered live page with Google’s tools, monitor Search Console after updates, and remember that passing validation does not guarantee stars in results.
- For editorial product reviews, include at least two genuine statements across positive and negative notes, or omit those fields entirely.
Table of Contents
- What review schema is and when to use each type
- Required and recommended properties for Review and AggregateRating
- Markup formats with copy-paste examples: JSON-LD, Microdata, RDFa
- Nesting reviews in Product and matching identity
- Best practices and common pitfalls to avoid
- Testing, validation, and monitoring workflow
- Author perspective and practical tips from implementation experience
- Accessibility considerations for review content marked up with schema
- Practical wrap-up: when to invest in structured review data
- A fast way to show the reviews your markup describes
- FAQ
- Sources
What review schema is and when to use each type
Review schema markup is a block of code, usually JSON-LD, that labels the review content on your page so a crawler does not have to guess. Two types do the work. A Review describes one review written by one reviewer about one item. An AggregateRating describes the overall score drawn from a collection of ratings or reviews. Google’s documentation treats Review, Rating, and AggregateRating as the core concepts, and Schema.org defines them as a shared vocabulary.
Which one you use depends on what visitors can actually see:
- Use a single Review when you publish an editorial review you wrote, or a customer review shown in full, with a named author and a score.
- Use AggregateRating when the page displays an average and a count, such as an average score and a review count.
- Use both on a product page that shows an average at the top and individual reviews below, with each type matching what appears on screen.
- Use neither when the page shows no verifiable rating at all. Markup cannot create content that is not there.
The reviewed item can be a product, recipe, movie, book, software application, local business, or another eligible type. The review is always about something specific, so the markup needs to say what.
Eligibility and appearance are different things. Structured data communicates meaning, and it makes a page eligible for features, but Google’s documentation is clear that it does not force a particular search appearance or give a ranking boost. Treat the markup as honest labeling. Whether stars appear is Google’s decision, and the best way to earn them is accurate, visible, current review data.
Required and recommended properties for Review and AggregateRating
Valid markup starts with a checklist. Google’s review snippet documentation and the Schema.org vocabulary agree on the essentials, and the Review type lists the full set of properties you can choose from.
Review properties
- @type: must be
Review. - author: the reviewer, as a Person or Team with a real name.
- itemReviewed: the thing being reviewed, identified clearly.
- reviewRating: a Rating object containing
ratingValue. - reviewBody (recommended): the review text itself.
- name (recommended): the review title or headline.
- datePublished (recommended): when the review went live, in ISO 8601 format.
- positiveNotes and negativeNotes (editorial reviews): the pros and cons of a product you reviewed yourself.
AggregateRating properties
- ratingValue: the average score.
- reviewCount or ratingCount: how many reviews or ratings produced that average. Use
reviewCountwhen people wrote reviews andratingCountwhen they only left scores. - bestRating and worstRating: include these whenever your scale is not the default 1 to 5. A scale with no declared maximum can make a score look misleading to a parser.
The most common failures are not syntax errors. They are semantic mismatches: the wrong scale, a missing count, an invalid author name, or markup describing information visitors never see. A review is a relationship between an identifiable reviewer, a specific item, and a rating on a defined scale, and a complete relationship is far sturdier than a stray rating field.
A valid test result is not a promise. Google states that eligibility does not guarantee a rich result, so a clean validation only means your markup is ready for consideration.
For editorial product reviews, the pros and cons feature has its own rule. If you supply positiveNotes and negativeNotes, Google’s product documentation asks for at least two statements in total. One lonely bullet will not trigger the display, so either write enough genuine pros and cons or skip those fields.
Markup formats with copy-paste examples: JSON-LD, Microdata, RDFa
You can write structured data in three syntaxes. JSON-LD sits in a script tag and stays separate from your visible HTML, which is why it is the least invasive option and the one most teams choose. Microdata and RDFa weave attributes directly into your page elements. They work, but any template change risks breaking them.

Here is a single editorial review in JSON-LD:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Review",
"author": { "@type": "Person", "name": "Dana Whitfield" },
"datePublished": "<review date>",
"name": "A reliable weekday espresso machine",
"reviewBody": "Heats up quickly and the steam wand is easy to control.",
"reviewRating": {
"@type": "Rating",
"ratingValue": "<score>",
"bestRating": "<maximum score>",
"worstRating": "<minimum score>"
},
"itemReviewed": {
"@type": "Product",
"name": "Brewline Compact Espresso Machine"
}
}
</script>
Now a Product with a nested AggregateRating and two Review objects:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Brewline Compact Espresso Machine",
"sku": "<product identifier>",
"brand": { "@type": "Brand", "name": "Brewline" },
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "<average score>",
"reviewCount": "<review count>"
},
"review": [
{
"@type": "Review",
"author": { "@type": "Person", "name": "Dana Whitfield" },
"datePublished": "<review date>",
"reviewBody": "Heats up fast and pulls a consistent shot.",
"reviewRating": { "@type": "Rating", "ratingValue": "<score>" }
},
{
"@type": "Review",
"author": { "@type": "Person", "name": "Marcus Lee" },
"datePublished": "<review date>",
"reviewBody": "Good value, though the drip tray is small.",
"reviewRating": { "@type": "Rating", "ratingValue": "<score>" }
}
]
}
</script>
The same single review in Microdata looks like this:
<div itemscope itemtype="https://schema.org/Review">
<span itemprop="author" itemscope itemtype="https://schema.org/Person">
<span itemprop="name">Dana Whitfield</span>
</span>
<span itemprop="reviewRating" itemscope itemtype="https://schema.org/Rating">
<meta itemprop="worstRating" content="<minimum score>">
<span itemprop="ratingValue"><score></span>/<span itemprop="bestRating"><maximum score></span>
</span>
<p itemprop="reviewBody">Heats up quickly.</p>
</div>
And in RDFa:
<div vocab="https://schema.org/" typeof="Review">
<span property="author" typeof="Person">
<span property="name">Dana Whitfield</span>
</span>
<div property="reviewRating" typeof="Rating">
<span property="ratingValue"><score></span> out of
<span property="bestRating"><maximum score></span>
</div>
<p property="reviewBody">Heats up quickly.</p>
</div>
Schema.org publishes a full examples file with all three syntaxes for Person, Product, Place, AggregateRating, and Review, and the Structured Data Linter examples show runnable review samples you can compare against yours.
| Format | Where it lives | Best for | Maintenance risk |
|---|---|---|---|
| JSON-LD | Separate script block | Most sites and templates | Low, since it is independent of layout |
| Microdata | Inline HTML attributes | Small static pages | Higher, since edits can break attributes |
| RDFa | Inline HTML attributes | Teams already using RDFa | Higher, same as Microdata |
Nesting reviews in Product and matching identity
Review markup belongs inside the item it describes. On a product page, review and aggregateRating typically sit inside the Product object, as in the example above, rather than floating as a separate SEO block. The same pattern applies to a Recipe, a SoftwareApplication, or a LocalBusiness. The nesting tells a parser exactly which entity the rating belongs to.
Identity matters because Google has to connect your reviews to a specific product. Help it along:
- Be consistent with names. The product name in your markup should match the heading visitors see.
- Add identifiers you have. A product URL, SKU, GTIN, MPN, and brand all improve matching accuracy for product review features.
- Keep one item per block. Do not stack ratings for several products inside one entity.
- Use the same identity everywhere. If a page shows a variant, mark up that variant rather than a vague parent.
Mismatches between markup and the visible page are where trouble starts. If the page shows “4.2 out of 5 from 87 reviews,” the markup should say exactly that: 4.2, a declared scale and the matching review count. A page that displays one rating scale while the markup declares another, or a count that was true last quarter, tells Google the markup is unreliable. Do not copy a five-star value across both a single review and an aggregate unless the visible page supports both.
For marketers who want wider context on how schema types behave across engines, this overview of schema types that work with JSON-LD and Bing covers practical validation considerations beyond Google.
Best practices and common pitfalls to avoid
Most review markup problems come from shortcuts. Work through this checklist before you publish:
- Mark up only what visitors can verify. Google’s guidance warns against invented, imported, hidden, or stale ratings. If a rating is not on the page, it does not belong in the markup.
- Use real reviewer names. The author must be a valid Person or Team name. Promotional text such as “Best Deals Online” is not a name and invalidates the markup.
- Update the markup when the page changes. A new review or a shifted average should change the structured data at the same moment as the visible text.
- Declare your scale. Add
bestRatingandworstRatingfor anything other than 1 to 5. - Include enough pros and cons. For editorial product reviews that use
positiveNotesandnegativeNotes, supply at least two statements in total so the display can work. - Keep the item identifiable. Put the review inside the right Product or other type, with consistent names and identifiers.
Two other points trip people up. First, review markup describes the page, not your brand in general. A rating for your whole company does not belong on an unrelated product page. Second, self-serving review markup for your own business is a policy gray area, so read Google’s current guidelines for your entity type before you add it.
Pro Tip: Build a staging page with the final visible reviews, then diff the numbers in your JSON-LD against the numbers on screen before launch. A quick comparison catches many scale and count mismatches.
Testing, validation, and monitoring workflow
Getting markup live is half the job. A short routine keeps it accurate:
- Validate syntax first. Paste the JSON-LD into a validator to catch missing commas, wrong types, and absent required properties.
- Check against Google’s expectations, not Schema.org alone. Schema.org defines the shared vocabulary, while Google decides which properties qualify for its search features, so validate against both.
- Confirm parity. Open the page and compare the visible review text, rating value, and count with the structured data, line by line.
- Test the rendered page. Use the Rich Results Test or URL Inspection in Search Console on the live URL, since a template can output something different from your draft.
- Monitor after launch. Review the structured data reports in Search Console for new warnings, and schedule periodic audits, especially after theme or plugin updates.
- Update on change. When counts or rating values shift, the markup should change with them, ideally automatically.
Passing validation means eligibility, not display. Google’s own documentation says a rich result is never guaranteed, so judge success by accuracy and consistency, not by whether stars appear this week.
Run this routine on a single template first. If one product page validates, matches its visible content, and stays clean in Search Console for a few weeks, roll the same pattern out to the rest of the catalog.
Author perspective and practical tips from implementation experience
Ashok writes about structured data and review display for website owners and developers. The recurring problems he sees are rarely clever bugs. They are drift (markup that no longer matches the page) and copy-paste leftovers from a staging site.
- Generate JSON-LD from the same backend process that renders the visible reviews, so the count and average can never disagree.
- Never hardcode a rating into a template. If the number is typed in by hand, it will go stale.
- Display verifiable review content. Our embeddable review showcase widgets help present real reviews on the page, and our tutorials cover the display side of the integration.
- Test in staging first. Try your markup and any widget on a staging copy, validate it, and only then publish.
Accessibility considerations for review content marked up with schema
Structured data is invisible to people, so accessibility lives in the visible review content that the markup describes. Treat the two as a pair: if the page is hard to use, the markup is describing something many visitors cannot fully read.
Start with the rating itself. A row of star icons means nothing to a screen reader unless you give it text. Show the number in plain words, such as the average score and review count, or add an accessible label so assistive technology reads the score. Do not rely on color alone to convey a rating, and keep contrast high between star icons and their background.
Structure the review list with semantic HTML. Use headings for the review section, list markup for a series of reviews, and real text for the reviewer name and date rather than text baked into an image. Keyboard users should be able to reach every filter, sort control, and “load more” button, and any carousel needs pause controls and visible focus states.
Finally, keep the accessible text and the markup in agreement. The rating a screen reader announces should match the rating in your JSON-LD. Hiding the visible rating from sighted users while keeping it only for assistive technology, or the reverse, creates exactly the parity problem search engines penalize.
Practical wrap-up: when to invest in structured review data
Add review schema when you have reviews visitors can verify on the page, or when you publish editorial reviews with a named author. Skip it when you cannot show a real rating, because markup without matching content causes more harm than good. Start small: implement JSON-LD on one product or review page and watch Search Console for a few weeks. If your team needs a quick, consistent way to show reviews so the visible content and the markup match, a widget can speed that up.
— Ashok
A fast way to show the reviews your markup describes
Structured data only works when the reviews it describes are really on the page, and building that display is often the slow part. Our Widget Builder lets you create a review showcase and embed it with a single line of code, with no heavy front-end work. It is an adjacent option, not a replacement for correct schema, and it pairs well with the markup you add yourself.
- Pull in real reviews from sources such as Google through our free Google Reviews widget, so what visitors read is what your JSON-LD describes.
- Fit your platform with ready guidance for Shopify, Squarespace, and plain HTML.
- Start free and scale later, since all of our tools stay unmetered on every plan, with paid plans for saved widgets and branding removal on our pricing page.

Try the Widget Builder on a staging page, validate your markup against what it shows, and publish once the numbers match.
FAQ
How do I test my schema markup?
Paste your JSON-LD into a structured data validator, then run the live URL through Google’s Rich Results Test or Search Console’s URL Inspection. Finish by comparing the visible rating and review count with the values in your markup.
What is a review schema?
Review schema is structured data, usually JSON-LD, that labels a review or an overall rating on your page so search engines can read it. It uses the Review and AggregateRating types and makes a page eligible for review snippets, though never guaranteed.
Do I need both Review and AggregateRating?
Not always. Use Review for individual reviews with a named author, and AggregateRating when the page shows an average and a count. Many product pages use both, as long as each matches what visitors see.
Does review schema guarantee star ratings in search results?
No. Valid markup makes your page eligible, but Google decides whether to show a rich result. Accuracy, visible content, and up-to-date counts matter more than the markup alone.