Mobile app version of vmapp.org
Login or Join
Samaraweera270

: Unbound voting with Schema.org I use SoftwareSourceCode structures in my pages, I include aggregateRating as such: <div itemscope="itemscope" itemtype="http://schema.org/SoftwareSourceCode"> <span

@Samaraweera270

Posted in: #SchemaOrg #Seo #StructuredData

I use SoftwareSourceCode structures in my pages, I include aggregateRating as such:

<div itemscope="itemscope" itemtype="http://schema.org/SoftwareSourceCode">
<span itemprop="aggregateRating" itemscope="itemscope" itemtype="http://schema.org/AggregateRating">
<span itemprop="ratingValue">0</span>
</span>
</div>


However, Google shows this out to me:



The problem is that I do not have any specific min/max voting, it's a simple voting system where anyone can upvote/downvote by 1.

So my question is, what is the better alternative for this? Or how can I get around it?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Samaraweera270

1 Comments

Sorted by latest first Latest Oldest Best

 

@Ann8826881

The first error (providing ratingCount or reviewCount) in the SDTT is about conforming to the guidelines from Google’s Review rich results. As Google doesn’t seem to offer these rich results for the SoftwareSourceCode type, you can ignore it. Schema.org never requires a property.

The two following errors are given because you use "0" as ratingValue. If you don’t provide worstRating and bestRating, the values "1" and "5" are assumed (by Schema.org as well as Google).

(Note that AggregateRating is for the average rating. So when 5 users vote "+1", and no user votes "-1", the average is "1", not "5".)

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme