AggregateRating

From getSchema
Jump to: navigation, search


This Page Semantic Annotations

File:AggregateRating.png
AggregateRating UML Diagram
Supertypes = Thing, Intangible, Rating
Subtypes = AggregateRating
Inherited properties = additionalType:URL, description:Text, name:Text, image:URL, sameAs:URL, url:URL, bestRating: Number or Text, ratingValue: Number or Text, worstRating: Number or Text
Properties = itemReviewed:Thing, ratingCount:Number, reviewCount:Number
Defined by = http://schema.org/AggregateRating
Install RuleTheWeb! the Firefox extension using Schema.org annotations!

Aggregated rating of an item.

Example

Usually the ratingValue and reviewCount are computed by the rating system used by the page. The container with title="Most of the readers loved this article" is for illustrative purpose -- it should render, for example, a 5-star rating system.

  <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">  
    <div class="rating-stars-img stars4-5" title="Most of the readers loved this article">
	<meta itemprop="ratingValue" content="4.904762" />
    </div>	
    <div>Read Reviews (<span itemprop="reviewCount">21</span>)</div>
 </div>
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox