No schema on the taxonomy page
I added the shortcode to the taxonomy page:
<?php echo do_shortcode( '[starstruck_taxonomy_shortcode]' ); ?>
and it works fine - user can add review. But the problem is there is no schema for that rated stars.
How could I enable the schema for the taxonomy page? Or how could I get the number of average rating and votes in the template (then I could use my own schema)?