AggregateRating

From getSchema

(Difference between revisions)

Jump to: navigation, search

 
Line 1: Line 1:
?
{{CreativeWork}}
+
 
?
{{Schema.org.class
+
{{#widget:SchemaClass
?
|supertype = [[Thing]], [[Intangible]], [[Rating]]
+
|name=AggregateRating
?
|subtype = [[AggregateRating]]
+
?
|iproperties = [[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]]
+
 
}}
 
}}
  +
  +
{{CreativeWork}}
  +
  +
==Definition==
   
 
Aggregated rating of an item.   
 
Aggregated rating of an item.   
Line 12: Line 13:
 
* [[reviewCount]] Number The count of total number of reviews.
 
* [[reviewCount]] Number The count of total number of reviews.
   
?
== Example ==
+
== Examples ==
 
Usually the [[ratingValue]] and [[reviewCount]] are computed by the rating system used by the page. The container with <code>title="Most of the readers loved this article"</code> is for illustrative purpose — it should render, for example, a  5-star rating system.
 
Usually the [[ratingValue]] and [[reviewCount]] are computed by the rating system used by the page. The container with <code>title="Most of the readers loved this article"</code> is for illustrative purpose — it should render, for example, a  5-star rating system.
 
   
 
   

Latest revision as of 10:36, 12 August 2014

This Page Semantic Annotations

Definition

Aggregated rating of an item.

Examples

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