
<!DOCTYPE html>
<html lang="en">
<!-- Generated from TermPageEx.j2 -->
    
    
    <head>

    <title>starRating - Schema.org Property</title>
    <meta charset="utf-8" >
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Schema.org Property: starRating - An official rating for a lodging business or food establishment, e.g. from national associations or standards bodies. Use the author property to indicate the rating organization, e.g. as an Organization with name such as (e.g. HOTREC, DEHOGA, WHR, or Hotelstars)." />
    <link rel="shortcut icon" type="image/png" href="/docs/favicon.ico"/>
    <link rel="stylesheet" type="text/css" href="/docs/schemaorg.css" />
    <link rel="stylesheet" type="text/css" href="/docs/devnote.css" />
    <link rel="stylesheet" type="text/css" href="/docs/prettify.css" />
    <script src="/docs/prettify.js"></script>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script src="/docs/schemaorg.js"></script>
<!-- <script src="/docs/debugwindow/viewconsole.js"></script> -->
    <script src="/docs/sdotermpage.js"></script>
    <link rel="stylesheet" type="text/css" href="/docs/sdotermpage.css" />
    <script src="/docs/pretty-markup/schemarama-parsing.bundle.min.js"></script>
    <script src="/docs/pretty-markup/layout.js"></script>
    <link rel="stylesheet" type="text/css" href="/docs/pretty-markup/style.css" />
    <script src="/docs/clipboard/clipboard.min.js"></script>

<link rel="canonical" href="https://schema.org/starRating" />
   
</head>
<body>
    <!-- Header start from PageHeader.j2 -->
<!-- Static Doc Insert PageHead -->

<div id="container">
  <div id="headerwrap">
    <div id="pagehead1" class="mobnav">
      <div class="header-block" id="pagehead-left">
        <div id="sitename2">
          <a href="/">Schema.org</a>
        </div>
        <div id="navicon2">
          <a href="javascript:void(0);" class="icon" onclick="navFunction()"><img height="40" src="/docs/menu-bar-icon-white.png"></a>
        </div>
      </div>
      <div  class="header-block header-block-right mobnav" id="pagehead-mid">
        <div id="selectionbar2">
          <ul>
            <li>
              <a href="/docs/documents.html">Documentation</a>
            </li>
            <li>
              <a href="/docs/schemas.html">Schemas</a>
            </li>
            <li>
              <a href="/docs/about.html">About</a>
            </li>
          <!--
             <li>
              <a href="/">Home</a>
            </li>
          -->
          </ul>
        </div> <!-- selectionbar -->
      </div>
      <div  class="header-block header-block-right mobnav" id="pagehead-right">
        <div id="cse-search-form2">
            <div class="gcse-searchbox-only" data-resultsUrl="/docs/search_results.html"></div>
        </div>
      </div>
    </div>
  </div>
  <div class="devnote"><b>Note</b>: you are viewing the
    <!-- <a href="http://webschemas.org/">webschemas.org</a>--> development
    version of <a href="schema.org">schema.org</a>.
    See <a href="/docs/howwework.html">How we work</a> for more details.
  </div>
</div>
  
 
<!-- Header end from PageHeader.j2 -->
    <div id="mainContent">
	    
<div id="infoblock">
	<!-- Label /  termType  / canonical URI -->
    <div id="infohead">
        <h1>starRating</h1>
        <em>A Schema.org Property</em>
        <br/>
        <!-- Pending/retired -->
        
        
        
    </div>
	<!-- Breadcrumb display of term inheritance -->
    <div class="superPaths">
    
         
					
					
    
    
    <a href="/Thing"  
        class="core" title="Thing">Thing</a>  > 
					
					
    
    
    <a href="/Property"  
        class="core" title="Property">Property</a> 
					 > 
					
    
    
    <a href="/starRating"  
        class="core" title="starRating">starRating</a>
        <br/>
    
    </div>
    <!-- More Block -->
    <div>
            <div id='infobox' style='text-align: right;' role="checkbox" aria-checked="false">
                <label for="morecheck"><b><span style="cursor: pointer;">[more...]</span></b></label>
            </div>
            <input type='checkbox' checked="checked" style='display: none' id=morecheck><div id='infomsg' style='background-color: #EEEEEE; text-align: left; padding: 0.5em;'>
            <ul><li> <span class="canonicalUrl">Canonical URL: http://schema.org/starRating</span> </li>
            
                <li><a href='https://docs.google.com/a/google.com/forms/d/1krxHlWJAO3JgvHRZV9Rugkr9VYnMdrI10xbGsWt733c/viewform?entry.1174568178&entry.41124795=http://schema.org/starRating&entry.882602760=Property'>Leave public feedback on this term &#128172;</a></li><li><a href='https://github.com/schemaorg/schemaorg/issues?q=is%3Aissue+is%3Aopen+starRating'>Check for open issues.</a></li></ul>
    </div>
    </div>
	
	<!-- Description of term -->
    <div class="description">An official rating for a lodging business or food establishment, e.g. from national associations or standards bodies. Use the author property to indicate the rating organization, e.g. as an Organization with name such as (e.g. HOTREC, DEHOGA, WHR, or Hotelstars).</div>
        
    
	
</div> <!-- infoblock -->
		
		
        
        
            
            
            <table class="definition-table">
                <thead><tr><th>Values expected to be one of these types</th></tr></thead>
                <tr><td><code>
                
                    
                        
    
    
    <a href="/Rating"  
        class="core" title="Rating">Rating</a>
                    
                
                </td></code></tr>
            </table>
            <table class="definition-table">
                <thead><tr><th>Used on these types</th></tr></thead>
                <tr><td><code>
                
                    
                        
    
    
    <a href="/FoodEstablishment"  
        class="core" title="FoodEstablishment">FoodEstablishment</a><br/>
                    
                
                    
                        
    
    
    <a href="/LodgingBusiness"  
        class="core" title="LodgingBusiness">LodgingBusiness</a>
                    
                
                </td></code></tr>
            </table>
        
        	
		

		
        <!-- List subtypes/subproperties -->
        
            
            
    	    
    	    	<!-- List subs (Subtypes/subproperties/enumeration members/etc.) for Term -->


        
			
		<!-- list supersedes and superseded references -->
		


        <!-- list source references and acknowledgements -->
		
    
	<h4  id="acks">Acknowledgements</h4>
    
	<p>This element is based on the STI Accommodation Ontology, see <a href="http://ontologies.sti-innsbruck.at/acco/ns.html">http://ontologies.sti-innsbruck.at/acco/ns.html</a> for details.
    Many class and property definitions are inspired by or based on abstracts from Wikipedia, the free encyclopedia.</p>
    <br/>





		<!-- list examples  -->
		<!-- Examples block for term: starRating-->

<div id="examplespannel" style="width:auto; overflow-x: auto;">

<b><a  id="examples" title="Link: #examples" href="#examples" class="clickableAnchor"  >Examples</a></b><br/><br/>

<div class="example-head">
        <a  id="eg-0359" title="Link: #eg-0359" href="#eg-0359" class="clickableAnchor" >Example 1</a>			<div class="tooltip">	
				<button class="clip clipbutton eg-0359" data-clipboard-target=".ds-tab.selected.eg-0359 .clipsource" title="Copy example to clipboard">
				    <img src="/docs/clipboard/clippy.svg" width="13" alt="Copy to clipboard">
				</button>
				<span class="tooltiptext eg-0359">Copied</span>
			</div>
</div>
<div class='ds-selector-tabs ds-selector'>
  <div class='selectors'>
    <a data-selects='original_html' class='selected'>No Markup</a>
    <a data-selects='microdata' class=''>Microdata</a>
    <a data-selects='rdfa' class=''>RDFa</a>
    <a data-selects='jsonld' class=''>JSON-LD</a>
    <a data-selects='structure' class='extabs'>Structure</a>
  </div>

<div class="ds-tab eg-0359 original_html selected">
  <div class="ds-tab-note" >Example notes or example HTML without markup.</div>
  <pre class="ds-tab-content prettyprint lang-html linenums clipsource ">
&lt;h1&gt;ACME Hotel Innsbruck&lt;/h1&gt;
&lt;span&gt;A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.&lt;/span&gt;
  Star rating: ****
  Room rates: $100 - $240
&lt;/div&gt;
</pre>
</div>

<div class="ds-tab eg-0359 microdata">
  <div class="ds-tab-note" >Example encoded as <a class="ds-tab-note" href="https://en.wikipedia.org/wiki/Microdata_(HTML)">Microdata</a> embedded in HTML.</div>
  <pre class="ds-tab-content prettyprint lang-html linenums clipsource ">
&lt;div itemscope itemtype=&#34;https://schema.org/Hotel&#34;&gt;
  &lt;h1&gt;&lt;span itemprop=&#34;name&#34;&gt;ACME Hotel Innsbruck&lt;/span&gt;&lt;/h1&gt;
  &lt;span itemprop=&#34;description&#34;&gt;A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.&lt;/span&gt;
  Star rating: &lt;span itemprop=&#34;starRating&#34; itemscope itemtype=&#34;https://schema.org/Rating&#34;&gt;
    &lt;meta itemprop=&#34;ratingValue&#34; content=&#34;4&#34;&gt;****&lt;/span&gt;
  Room rates: &lt;span itemprop=&#34;priceRange&#34;&gt;$100 - $240&lt;/span&gt;
&lt;/div&gt;
</pre>
</div>

<div class="ds-tab eg-0359 rdfa">
  <div class="ds-tab-note" >Example encoded as <a class="ds-tab-note" href="https://en.wikipedia.org/wiki/RDFa">RDFa</a> embedded in HTML.</div>
  <pre class="ds-tab-content prettyprint lang-html linenums clipsource ">
This example is in microdata only.
</pre>
</div>

<div class="ds-tab eg-0359 jsonld ">
  <div class="ds-tab-note" >Example encoded as <a class="ds-tab-note" href="https://en.wikipedia.org/wiki/JSON-LD">JSON-LD</a> in a HTML script tag.</div>
  <pre class="ds-tab-content prettyprint lang-html linenums clipsource ">
This example is in microdata only.
</pre>
</div>

<div class="ds-tab eg-0359 structure extabs" data-ex="eg-0359">
  <div class="ds-tab-note" >Structured representation of the JSON-LD example.</div>
  <div class="ds-tab-content structureout extabs eg-0359" style="margin-left: 5px;"> </div>
  <div class="structuretext clipsource extabs eg-0359"></div>
</div>


<div class="payload eg-0359" style="display: none;">This example is in microdata only.</div>
</div>



<div class="example-head">
        <a  id="eg-0360" title="Link: #eg-0360" href="#eg-0360" class="clickableAnchor" >Example 2</a>			<div class="tooltip">	
				<button class="clip clipbutton eg-0360" data-clipboard-target=".ds-tab.selected.eg-0360 .clipsource" title="Copy example to clipboard">
				    <img src="/docs/clipboard/clippy.svg" width="13" alt="Copy to clipboard">
				</button>
				<span class="tooltiptext eg-0360">Copied</span>
			</div>
</div>
<div class='ds-selector-tabs ds-selector'>
  <div class='selectors'>
    <a data-selects='original_html' class='selected'>No Markup</a>
    <a data-selects='microdata' class=''>Microdata</a>
    <a data-selects='rdfa' class=''>RDFa</a>
    <a data-selects='jsonld' class=''>JSON-LD</a>
    <a data-selects='structure' class='extabs'>Structure</a>
  </div>

<div class="ds-tab eg-0360 original_html selected">
  <div class="ds-tab-note" >Example notes or example HTML without markup.</div>
  <pre class="ds-tab-content prettyprint lang-html linenums clipsource ">
&lt;h1&gt;ACME Hotel Innsbruck&lt;/h1&gt;
&lt;span&gt;A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.&lt;/span&gt;
  Star rating: **** (DEHOGA)
  Room rates: $100 - $240
&lt;/div&gt;
</pre>
</div>

<div class="ds-tab eg-0360 microdata">
  <div class="ds-tab-note" >Example encoded as <a class="ds-tab-note" href="https://en.wikipedia.org/wiki/Microdata_(HTML)">Microdata</a> embedded in HTML.</div>
  <pre class="ds-tab-content prettyprint lang-html linenums clipsource ">
&lt;div itemscope itemtype=&#34;https://schema.org/Hotel&#34;&gt;
  &lt;h1&gt;&lt;span itemprop=&#34;name&#34;&gt;ACME Hotel Innsbruck&lt;/span&gt;&lt;/h1&gt;
  &lt;span itemprop=&#34;description&#34;&gt;A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.&lt;/span&gt;
  Star rating: &lt;span itemprop=&#34;starRating&#34; itemscope itemtype=&#34;https://schema.org/Rating&#34;&gt;
    &lt;span itemprop=&#34;author&#34; itemscope itemtype=&#34;https://schema.org/Organization&#34;&gt;
      &lt;span itemprop=&#34;name&#34;&gt;DEHOGA&lt;/span&gt;
    &lt;/span&gt;
    &lt;meta itemprop=&#34;ratingValue&#34; content=&#34;4&#34;&gt;****
  &lt;/span&gt;
  Room rates: &lt;span itemprop=&#34;priceRange&#34;&gt;$100 - $240&lt;/span&gt;
&lt;/div&gt;
</pre>
</div>

<div class="ds-tab eg-0360 rdfa">
  <div class="ds-tab-note" >Example encoded as <a class="ds-tab-note" href="https://en.wikipedia.org/wiki/RDFa">RDFa</a> embedded in HTML.</div>
  <pre class="ds-tab-content prettyprint lang-html linenums clipsource ">
This example is in microdata only.
</pre>
</div>

<div class="ds-tab eg-0360 jsonld ">
  <div class="ds-tab-note" >Example encoded as <a class="ds-tab-note" href="https://en.wikipedia.org/wiki/JSON-LD">JSON-LD</a> in a HTML script tag.</div>
  <pre class="ds-tab-content prettyprint lang-html linenums clipsource ">
This example is in microdata only.
</pre>
</div>

<div class="ds-tab eg-0360 structure extabs" data-ex="eg-0360">
  <div class="ds-tab-note" >Structured representation of the JSON-LD example.</div>
  <div class="ds-tab-content structureout extabs eg-0360" style="margin-left: 5px;"> </div>
  <div class="structuretext clipsource extabs eg-0360"></div>
</div>


<div class="payload eg-0360" style="display: none;">This example is in microdata only.</div>
</div>

</div>
		
    </div> <!-- mainContent -->
	<!-- Footer start from PageFooter.j2 -->
    
    <div id="footer"><p>
      <div id="versioninfo">
          V11.0<br/>
          2020-11-30
      </div>
      <a href="/docs/terms.html">Terms and conditions</a>
    </div>

    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

      ga('create', 'UA-52672119-1', 'auto');
      ga('send', 'pageview');

    </script>
<!-- Footer end from PageFooter.j2 -->
    
<script type="application/ld+json">
{
  "@context": {
    "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
    "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
    "schema": "http://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#"
  },
  "@id": "schema:starRating",
  "@type": "rdf:Property",
  "rdfs:comment": "An official rating for a lodging business or food establishment, e.g. from national associations or standards bodies. Use the author property to indicate the rating organization, e.g. as an Organization with name such as (e.g. HOTREC, DEHOGA, WHR, or Hotelstars).",
  "rdfs:label": "starRating",
  "schema:domainIncludes": [
    {
      "@id": "schema:LodgingBusiness"
    },
    {
      "@id": "schema:FoodEstablishment"
    }
  ],
  "schema:rangeIncludes": {
    "@id": "schema:Rating"
  }
}
</script>
    

</body>
</html>