json-ld for testimonials

by Pete   Last Updated August 07, 2019 15:04 PM - source

We currently have some pages on our website that lists local businesses and on those pages we have testimonials.

I'm trying to make the json+ld for these pages and I read that for testimonials, you are meant to use the Review schema but for the itemReviewed, you should put organization.

With this in mind, I have come up with the following json:

{
  "reviews": [{
    "author": {
      "name": "Joe Blogs",
      "@type": "Person"
    },
    "itemReviewed": {
      "name": "Test Company",
      "@type": "Organization"
    },
    "reviewBody": "This is a testimonial 1",
    "@type": "Review"
  }, {
    "author": {
      "name": "John Smith",
      "@type": "Person"
    },
    "itemReviewed": {
      "name": "Test Company",
      "@type": "Organization"
    },
    "reviewBody": "Testimonial text 2",
    "@type": "Review"
  }, {
    "author": {
      "name": "Jane Doe",
      "@type": "Person"
    },
    "itemReviewed": {
      "name": "Test Company",
      "@type": "Organization"
    },
    "reviewBody": "Testimonial content 3",
    "@type": "Review"
  }],
  "url": "http://www.example.co.uk",
  "@context": "https://schema.org/",
  "name": "Test Company",
  "@type": "LocalBusiness",
  "image": "https://www.fillmurray.com/200/300"
}

But when I test the snippet at https://search.google.com/structured-data/testing-tool, the reviews are failing with

Multiple reviews should be accompanied by an aggregate rating.

How should I be adding testimonials as they don't have a rating (or is there a way to not need the aggregate rating)?



Related Questions


JSON-LD Schema Data on Multiple Pages

Updated April 25, 2016 08:01 AM

how to generate dynamic json-ld code for schema?

Updated June 01, 2017 02:04 AM

Website global schema in JSON-LD

Updated July 06, 2015 13:01 PM


Review website and Schema.org

Updated December 24, 2018 14:04 PM