{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://objectsgrid.com/.well-known/objects-catalog/AggregateRating/v1/schema.json",
  "title": "AggregateRating",
  "description": "Objects Grid AggregateRating Object. Modeled in compliance with https://schema.org/AggregateRating",
  "type": "object",
  "properties": {
    "at_type": {
      "description": "The object type",
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "AggregateRating"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "itemReviewed": {
      "x-objectsgrid-erasure": "keep",
      "description": "",
      "x-objectsgrid-rangeIncludes": [
        "Product",
        "ProductGroup",
        "ProductModel",
        "Service",
        "Organization",
        "Place",
        "Brand",
        "Offer"
      ],
      "$ref": "https://objectsgrid.com/.well-known/objects-catalog/Reference/v1/schema.json"
    },
    "ratingCount": {
      "type": "integer",
      "minimum": 0
    },
    "reviewCount": {
      "type": "integer",
      "minimum": 0
    },
    "bestRating": {
      "type": "number",
      "minimum": 0
    },
    "ratingExplanation": {
      "description": "The rating explanation",
      "type": "array",
      "items": {
        "$ref": "https://objectsgrid.com/.well-known/objects-catalog/LanguageTaggedString/v1/schema.json"
      }
    },
    "ratingValue": {
      "type": "number",
      "minimum": 0
    },
    "reviewAspect": {
      "type": [
        "string",
        "null"
      ]
    },
    "worstRating": {
      "type": "number",
      "minimum": 0
    }
  }
}
