Schema.org CreativeWork Type tutorial
CreativeWork
In this page, we have discussed CreativeWork type of Schema.org in detail. We have also listed the most specific types of CreativeWork. Al of those types have been discussed in the consequent pages.
Hierarchy
Thing > CreativeWork
CreativeWork specifies that associated content is a creative work in general. An example of associated content may be about books, movies, an article, sculpture, blogpost etc.
Properties
The following table described the properties of CreativeWork.
Properties | Which type should be used | Description |
---|---|---|
about | Thing | Specifies the subject matter of the content. |
aggregateRating | AggregateRating | Specifies the rating of an item. This is based on a collection of reviews or ratings. |
audio | AudioObject | An embedded audio object. |
author | Person or Organization | Specifies the author of associated content. can be used interchangeably with rel tag of HTML5. |
awards | Text | Specifies the awards received by the author of associated creative work. |
contentLocation | Place | Specifies the location of the associated content. |
contentRating | ext | Official rating of the associated content. |
datePublished | Date | Date of first broadcast/publication of the associated content. |
editor | Person | Editor of the associated content. |
encodings | MediaObject | The media objects that encode the associated creative work. |
genre | Text | The category (e.g. fiction, drama etc. ) associated creative work. |
headline | Text | The headline associated content. |
inLanguage | Text | The language of the content. The language codes must follow the IETF BCP 47 standard. |
interactionCount | Text | A number indicating the number of user interactions, for example, 100 UserDownloads, 10 UserComments etc. The user interaction type must be a subtype of the UserInteraction. |
isFamilyFriendly | Boolean | Refers whether the associated content is family friendly. |
keywords | Text | Keywords or tags used to refer the associated content. |
offers | Offer | Refers to an offer to sell the associated item. |
publisher | Organization | Refers to an organization who published the associated item. |
reviews | Review | Refers to reviews of the associated item. |
video | VideoObject | An embedded video object. |
Example
Example of CreativeWork without Microdata
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset=utf-8>
<title>example code without Microdata</title>
</head>
<body>
<div>
<h1>Rise of the Planet of the Apes</h1>
<p>Director : Rupert Wyatt</p>
<p>Procucer : Chernin Entertainment, Twentieth Century Fox Film Corporation.</p>
<p>Key Cast : </p>
<ul>
<li>James Franco as Will Rodman</li>
<li>Freida Pinto as Caroline Aranha</li>
<li>John Lithgow as Charles Rodman</li>
<li>Chelah Horsdal as Irena</li>
</ul>
<p>Genre : Science Fiction</p>
<p>Motion Picture Rating : MPAAA</a>
<p>Tags : Evolution Ends. Revolution Begins</p>
</div>
</body>
</html>
Example of CreativeWork with Microdata
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset=utf-8>
<title>example code of Creative Work with Microdata</title>
<a rel="author" href="https://profiles.google.com/103074333439002308043/posts">Bidhan Chatterjee</a>
</head>
<body>
<itemscope itemtype="http://schema.org/CreativeWork">
<h1 itemprop="name"gt;Rise of the Planet of the Apes</h1>
<p itemprop="director">Director : Rupert Wyatt</p>
<p itemprop="producer">Procucer : Chernin Entertainment, Twentieth Century Fox Film Corporation.</p>
<p itemprop="actors">Key Cast : </p>
<ul>
<li>James Franco as Will Rodman</li>
<li>Freida Pinto as Caroline Aranha</li>
<li>John Lithgow as Charles Rodman</li>
<li>Chelah Horsdal as Irena</li>
</ul>
<p itemprop="genre">Genre : Science Fiction</p>
<p itemprop="contentRating">Motion Picture Rating : MPAAA</a>
<p itemprop="keywords">Tags : Evolution Ends. Revolution Begins</p>
</div>
</body>
</html>
Test schema.org markup
Rich Snippets tool of Google allows you to test whether you have implemented the Schema.org markup properly.
Point your browser to "http://www.google.com/webmasters/tools/richsnippets", supply the URL of the file in question, and click preview.
Following is the result when we tested the file of the example under heading "Example of CreativeWork with Microdata" :
Following is the result when we tested the file of the example under heading "Example of CreativeWork without Microdata" :
In the upcoming pages, we will discuss all the more specific types of CreativeWork.
Previous: Schema.org Types and properties tutorial
Next: Schema.org Article > BlogPosting, NewsArticle, ScholarlyArticle Types
Test your Programming skills with w3resource's quiz.
It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.
https://w3resource.com/schema.org/CreativeWork.php
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics