Header JSON-LD Examples

Movie using JSON-LD

A movie.


Movie uses

Not much to go on in terms of the description. The schema.org/Movie property is not going to be the sole markup on a WebPage tough. Often marked as an "about": {"@type": Movie} or similar instead.

Lets see what the properties of Movie is first:
Hoover Property to see expected type

Property Description
An actor, e.g. in tv, radio, movie, video games etc., or in an event. Actors can be associated with individual items or with a series, episode, clip. Supersedes actors.
The country of the principal offices of the production company or individual responsible for the movie or program.
A director of e.g. tv, radio, movie, video gaming etc. content, or of an event. Directors can be associated with individual items or with a series, episode, clip. Supersedes directors.
The duration of the item (movie, audio recording, event, etc.) in ISO 8601 date format.
The composer of the soundtrack.
The production company or studio responsible for the item e.g. series, video game, episode etc.
Languages in which subtitles/captions are available, in IETF BCP 47 standard format.
The trailer of a movie or tv/radio series, season, episode, etc.

Minimal Code Example

<script type="application/ld+json">{
"@context": "http://schema.org",
"@type": "Movie",
name": Movie Name",
image": http://example.com/image/movie.pgn"
Minimal JSON-LD schema.org/Movie markup

Minimal code breakedown

You will need an image, and name only to tell search engines you have a movie etety on your webpage. It is a few orange warnings to be fixed. Code below is better if you want a "perfect" example.

Advanced Code Example

<script type="application/ld+json">{
"@context": "http://schema.org",
"@type": "Movie",
"name": "Movie Name",
"dateCreated": "17 May, 1980",
"director": "Donald Trumph",
"actors": ["ActorOne", "ActorTwo", "ActorThree"],
"image": "http://example.com/image/movie.pgn",
"countryOfOrigin": "America",
"duration": "2:10:20",
"musicBy": "Awesome Band",
"productionCompany": "Awesome Movies inc.",
"subtitleLanguage": "en, nb",
"trailer": {
"@type": "VideoObject",
"name": "Official Trailer WAtW!",
"description": "Trailer for the awesome new movieWigs Around the World!",
"thumbnailUrl": "http://examples.com/thumbnail.png",
"uploadDate": "10 May 1980"
Full JSON-LD schema.org/Movie markup

Advanced code breakedown

There you have it. Added a few useable stuff than just fixing the orange warnings, like actors and musicBy. Notice how you add several actors with [].

Is schema.org/Movie worth it?

Personally I doubt you get any benefits in SERP's or SEO using schema.org/Movie. But if you have a blog or something where you blog about movies/actors etc it is a nice way of giving the search engines a strong signal of what you blog about.

There is far too many high authority sites and Google already have a very good and accurate "movie search" so the basic one is more than enough. Just add director/directors and dateCreated

But if you insist of creating the new IMDb, go nuts :)

If you liked this, please share!
Disqus comments for JSON-LD - Movie markup