Schema.org Movie Type tutorial
Movie
In this page, we have discussed Movie type of Schema.org in detail.
Hierarchy
Thing > CreativeWork > Movie
Movie specifies that associated content is about a Movie.
Properties
The following table described the properties of Movie.
Properties | Which type should be used | Description |
---|---|---|
actors | Person | An actor of the movie, TV series, season, or episode, or video. |
director | Person | The director of the movie, TV episode, or series. |
duration | Duration | The duration of the item (movie, audio recording, event, etc.) in ISO 8601 date format. |
musicBy | Person or MusicGroup | The composer of the movie or Video or TV episode. |
producer | Person | The producer of the movie, TV series, season, or episode, or video. |
productionCompany | Organization | The production company or studio that made the movie, TV series, season, or episode, or video. |
trailer | Organization | The trailer of the movie or TV series, season, or episode. |
Example
Example of Movie without Microdata
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset=utf-8>
<title>example code Movie Schema 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 Movie with Microdata
<!DOCTYPE HTML>
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset=utf-8>
<title>example code of Movie with Microdata</title>
<a rel="author" href="https://profiles.google.com/103074333439002308043/posts">Bidhan Chatterjee</a> </head>
<body>
<itemscope itemtype="http://schema.org/Movie">
<h1 itemprop="name">Rise of the Planet of the Apes</h1>
<div itemprop="director" itemscope itemtype="http://schema.org/Person">
<p itemprop="name">Director : Rupert Wyatt</p>
</div>
<div itemprop="productionCompany" itemscope itemtype="http://schema.org/Organization">
<p itemprop="name">Procucer : Chernin Entertainment, Twentieth Century Fox Film Corporation.</p>
</div>
<div itemprop="duration" itemscope itemtype="http://schema.org/Duration">
<p>Duration of the Movie is 105 min.</p>
</div>
<div itemprop="actors" itemscope itemtype="http://schema.org/Person">
<ul>
<li itemprop="name">James Franco as Will Rodman</li>
<li itemprop="name">Freida Pinto as Caroline Aranha</li>
<li itemprop="name">John Lithgow as Charles Rodman</li>
<li itemprop="name">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>
Previous: Schema.org Article > BlogPosting, NewsArticle, ScholarlyArticle Types
Next: Schema.org MusicPlaylist Type tutorial
Test your Programming skills with w3resource's quiz.
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics