Here’s an example of an aggregate rating that’s nested in a Product. You can test the page example markup and check its validity.
This schema.org markup is generated by Schema Rating extension for Schema Premium plugin.
Source: Aggregate rating.
This rating breakdown is generated by shortcode “