w3resource logo


CreativeWork - Schema.org tutorial

Schema.org CreativeWork Type tutorial

Secondary Nav

Introduction

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

Description

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.

PropertiesWhich type should be usedDescription
aboutThingSpecifies the subject matter of the content.
aggregateRatingAggregateRating Specifies the rating of an item. This is based on a collection of reviews or ratings.
audioAudioObjectAn embedded audio object.
authorPerson or Organization Specifies the author of associated content. can be used interchangeably with rel tag of HTML5.
awardsText Specifies the awards received by the author of associated creative work.
contentLocationPlaceSpecifies the location of the associated content.
contentRatingextOfficial rating of the associated content.
datePublishedDateDate of first broadcast/publication of the associated content.
editorPersonEditor of the associated content.
encodingsMediaObjectThe media objects that encode the associated creative work.
genreText The category (e.g. fiction, drama etc. ) associated creative work.
headlineTextThe headline associated content.
inLanguageTextThe language of the content. The language codes must follow the IETF BCP 47 standard.
interactionCountText 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.
isFamilyFriendlyBooleanRefers whether the associated content is family friendly.
keywordsTextKeywords or tags used to refer the associated content.
offersOfferRefers to an offer to sell the associated item.
publisherOrganization Refers to an organization who published the associated item.
reviewsReview Refers to reviews of the associated item.
videoVideoObjectAn 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" :

test creativework example with microdata

Following is the result when we tested the file of the example under heading "Example of CreativeWork without Microdata" :

test creativework example without microdata

In the upcoming pages, we will discuss all the more specific types of CreativeWork.



Join our Question Answer community to learn and share your programming knowledge.