Create PHP script for review schema data in WordPress website -- 2

Job ID: 35897703

Budget: $30 – $250 USD

I have a WordPress website that is using a custom post type called "Reviews". These reviews are individually created as a post for each review using Advanced Custom Fields. There is 1 page where they are all shown and I would like the schema type AggregatRating implemented on that specific page. https://schema.org/AggregateRating

I use Oxygen Builder and use the plugin Code Snippets to inject scripts into certain pages. I need a script that will create the schema for the page that is showing the reviews. It needs to fill out all necessary schema data points and validate successfully. The review format should be created using JSON-LD
Related categories: PHP JavaScript WordPress HTML jQuery