Note: You are viewing the development version of Schema.org. See how we work for more details.

contentRating

A Schema.org Property
Official rating of a piece of content—for example, 'MPAA PG-13'.

Values expected to be one of these types

Used on these types

Examples

Example 1
Copied
Example notes or example HTML without markup.
  1. <div>
  2. Resistance 3: Fall of Man
  3. by Sony
  4. Platform: Playstation 3
  5. Rated: Mature
  6. <img alt="Fall of Man cover art" src="videogame.jpg" />
  7. </div>
Example encoded as Microdata embedded in HTML.
  1. <div itemscope itemtype="https://schema.org/CreativeWork">
  2. <img itemprop="image" alt="Fall of Man cover art"
  3. src="videogame.jpg" />
  4. <span itemprop="name">Resistance 3: Fall of Man</span>
  5. by <span itemprop="author">Sony</span>,
  6. Platform: Playstation 3
  7. Rated:<span itemprop="contentRating">Mature</span>
  8. </div>
Example encoded as RDFa embedded in HTML.
  1. <div vocab="https://schema.org/" typeof="CreativeWork">
  2. <img property="image" alt="Fall of Man cover art"
  3. src="videogame.jpg" />
  4. <span property="name">Resistance 3: Fall of Man</span>
  5. by <span property="author">Sony</span>,
  6. Platform: Playstation 3
  7. Rated:<span property="contentRating">Mature</span>
  8. </div>
Example encoded as JSON-LD in a HTML script tag.
  1. <script type="application/ld+json">
  2. {
  3.   "@context": "https://schema.org",
  4.   "@type": "CreativeWork",
  5.   "author": "Sony",
  6.   "contentRating": "Mature",
  7.   "image": "videogame.jpg",
  8.   "name": "Resistance 3: Fall of Man"
  9. }
  10. </script>
Structured representation of the JSON-LD example.