Reputation: 12388
Googles Structured Data Test Tool gives errors on my Schema.org implementation since some weeks:
The property Organization/aggregateRating is not recognized by Google for an object of type Organization.
What is wrong here?
The HTML looks like so:
<div itemscope itemtype="http://data-vocabulary.org/Organization">
<section class="entry-header" itemprop="aggregateRating" itemscope="itemscope" itemtype="http://schema.org/AggregateRating">
<span itemprop="itemReviewed" itemscope itemtype="http://schema.org/LocalBusiness"> <h2 itemprop="name">BUSINESS NAME</h2> </span>
<span itemprop="ratingValue">5,0</span> </span> <span class="reviews"> <span class="count" itemprop="reviewCount">4</span>
.... other things here ....
</section>
</div>
What is missing here? What do I wrong?
Upvotes: 1
Views: 8363
Reputation: 163
div itemprop="aggregateRating" itemtype="https://schema.org/AggregateRating" itemscope>
<meta itemprop="reviewCount" content="Total Review Count i.e. 567" />
<meta itemprop="ratingValue" content="Rating Value i.e. 4.7" />
</div>
Upvotes: 0
Reputation: 571
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<span itemprop="ratingValue">4</span>
<span itemprop="bestRating">5</span>
<span itemprop="reviewCount">2</span>
</div>
try this markup.
Upvotes: 2
Reputation: 96547
You are using two different vocabularies:
Organization
type from Data-Vocabulary.orgAggregateRating
type and the LocalBusiness
type from Schema.orgWhile using types from different vocabularies is allowed, you probably intended to use Schema.org instead of Data-Vocabulary.org, because the aggregateRating
property is defined for Schema.org’s Organization
, but not for Data-Vocabulary.org’s Organization
.
So instead of
<div itemscope itemtype="http://data-vocabulary.org/Organization">
it would be
<div itemscope itemtype="http://schema.org/Organization">
Upvotes: 4