If you got here, you're probably trying to solve a bug from Schema.org, more specifically with its Review type.
The bug that we are going to fix today looks like this in Google Search Console:
You should have read the Schema.org documentation more carefully in the aggregateRating section. The point is that you can't poke the ratings everywhere you want, especially when it comes to Google. Google has a comprehensive list of entities to which ratings can be applied. So, for example, if your Schema.org type is Service, this list does not apply to it and you will usually see the above error. You can see the list of allowed entities for aggregateRating at this link.
Since Service is not a permitted entity type for aggregateRating, you need to use something else. We recommend LocalBusiness or Organization, like this:
{
"aggregateRating": {
"@type": "AggregateRating",
"reviewAspect": "Створення корпоративного сайту",
"itemReviewed": {
"@type": "LocalBusiness",
"name": "IC Studio"
},
"bestRating": 5,
"worstRating": 1,
"ratingValue": 4.9800000000000004,
"reviewCount": 4
}
}
After that, the error should go away.