Schema.org Movie Type tutorial


In this page, we have discussed Movie type of Schema.org in detail.


Thing > CreativeWork > Movie

Movie specifies that associated content is about a Movie.


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 of Movie without Microdata

<html lang="en">
<meta charset=utf-8>
<title>example code Movie Schema without Microdata</title>
<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>
<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>

Example of Movie with Microdata

<html lang="en">
<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>
<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 itemprop="productionCompany" itemscope itemtype="http://schema.org/Organization">
<p itemprop="name">Procucer : Chernin Entertainment, Twentieth Century Fox Film Corporation.</p>
<div itemprop="duration" itemscope itemtype="http://schema.org/Duration">
<p>Duration of the Movie is 105 min.</p>
<div itemprop="actors" itemscope itemtype="http://schema.org/Person">
<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>

Previous: Schema.org Article > BlogPosting, NewsArticle, ScholarlyArticle Types
Next: Schema.org MusicPlaylist Type tutorial

Test your Programming skills with w3resource's quiz.

Share this Tutorial / Exercise on : Facebook and Twitter