Title: Integrate with Schema Pro
Last modified: May 11, 2020

---

# Integrate with Schema Pro

 *  Resolved [hellorahulbronco](https://wordpress.org/support/users/hellorahulbronco/)
 * (@hellorahulbronco)
 * [6 years ago](https://wordpress.org/support/topic/integrate-with-schema-pro/)
 * Hi Team – We are building a Business Directory website using Elementor and Schema
   Pro. We wish to integrate Site Reviews and use Schema Pro for generating Local
   Business Schema.
 * Schema Pro allows mapping rating fields with available fields. We need 2 fields,
   Avg rating and total votes. PFA the screenshot for your reference: [https://imgur.com/Eu7D6hh](https://imgur.com/Eu7D6hh)
 * Which 2 variables (or custom fields) will allow us to do that. Any suggestion
   on this will be extremely helpful.
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fintegrate-with-schema-pro%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Gemini Labs](https://wordpress.org/support/users/geminilabs/)
 * (@geminilabs)
 * [6 years ago](https://wordpress.org/support/topic/integrate-with-schema-pro/#post-12816935)
 * You cannot map a key for the average rating since Site Reviews calculates the
   average rating on the fly. However, if you are using Schema Pro, all you have
   to do is add an `@id` property to the Site Reviews schema using the provided 
   filter hook, and make sure that it matches the `@id` property of the Schema Pro
   schema and this will link the two schemas together.
 * For example:
 *     ```
       add_filter('site-reviews/schema/LocalBusiness', function ($schema) {
           $schema['@id'] = ''; // add the ID property here
           return $schema;
       });
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Integrate with Schema Pro’ is closed to new replies.

 * ![](https://ps.w.org/site-reviews/assets/icon-256x256.gif?rev=3307009)
 * [Site Reviews](https://wordpress.org/plugins/site-reviews/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/site-reviews/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/site-reviews/)
 * [Active Topics](https://wordpress.org/support/plugin/site-reviews/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/site-reviews/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/site-reviews/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Gemini Labs](https://wordpress.org/support/users/geminilabs/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/integrate-with-schema-pro/#post-12816935)
 * Status: resolved