# Aggregate Rating
Below you will find the code you can use to generate a Aggregate Rating
rich data JSON.
# Your code
SchemaAggregateRating::make(9.5, 325)
->bestRating(10)
->worstRating(5);
1
2
3
2
3
# The result
{
"@type":"AggregateRating",
"ratingValue":9.5,
"reviewCount":325,
"bestRating":10,
"worstRating":5
}
1
2
3
4
5
6
7
2
3
4
5
6
7