Schema.org · JSON Structure

Schema Org Aggregate Rating

The average rating based on multiple ratings or reviews.

Type: object Properties: 8 Required: 1
Schema.orgStructured DataLinked DataJSON-LDVocabularySEOWeb StandardsRDFOntology

AggregateRating is a JSON Structure definition published by Schema.org, describing 8 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

type context ratingValue bestRating worstRating ratingCount reviewCount itemReviewed

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

schema-org-aggregate-rating.json Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "type": "object",
  "name": "AggregateRating",
  "description": "The average rating based on multiple ratings or reviews.",
  "properties": {
    "type": { "type": "string" },
    "context": { "type": "string" },
    "ratingValue": { "type": "number" },
    "bestRating": { "type": "number" },
    "worstRating": { "type": "number" },
    "ratingCount": { "type": "int32" },
    "reviewCount": { "type": "int32" },
    "itemReviewed": { "type": { "$ref": "#/definitions/RatedItem" } }
  },
  "required": ["ratingValue"],
  "definitions": {
    "RatedItem": {
      "type": "object",
      "name": "RatedItem",
      "properties": {
        "type": { "type": "string" },
        "name": { "type": "string" }
      }
    }
  }
}