Schema markup examples

Working Schema.org json+ld examples for individual pages.

Some tested examples for adding Schema.org markup to a webpage. Structured data accepted by Google:

Enhancements

  • Breadcrumb
  • Sitelinks searchbox
  • Corporate contact
  • Logo
  • Social profile
  • Carousel
  • Location on page (jump to)

Content types

  • Article
  • Book
  • Course
  • Dataset
  • Event
  • Fact Check
  • Job Posting
  • Local Business
  • Music
  • Occupation
  • Paywalled content
  • Podcast
  • Product
  • Recipe
  • Review
  • TV and Movie
  • Video

AMP pages should contain the same structured data as the main page, but only the article type is supported in Google's Top stories.

Find all details on developers.google.com and a comprhensive list of examples on GitHub.

Schema.org for an article

{
  "@context": "http://schema.org",
  "@type": "Article",
  "headline": "Schema markup examples",
  "image": "https://bb-projects.nl/img/b512.png",
"keywords": ["schema","schema.org","google","seo"],
  "datePublished": "2018-05-07T13:39:38Z",
  "dateModified": "2018-05-07T13:39:39Z",
  "articleSection": "seo",
  "creator": {
    "name": "bb-projects"
  },
  "author": "bb-projects",
  "publisher": {
    "name": "bb-projects.nl",
    "logo": {
      "url": "https://bb-projects.nl/img/b512.png",
      "@type": "imageObject"
      },
    "@type": "Organization"
  },
  "articleBody": "Working Schema.org json+ld examples for individual pages.",
  "mainEntityOfPage": "True"
}

Schema.org for video page

Working example from Google SERP:

{
  "@context": "http://schema.org",
  "@type": "VideoObject",
  "name": "New Zealand Fur Seal Video",
  "description": "Shot with Canon D500",
  "thumbnailUrl": [
    "https://bb-projects.nl/admin/uploads/furseal_640x360.jpg"
   ],
  "uploadDate": "2018-05-07T08:00:00+08:00",
  "duration": "PT22S",
  "contentUrl": "https://videos.pond5.com/focus-shot-new-zealand-fur-footage-011526304_main_xl.mp4",
  "embedUrl": "https://videos.pond5.com/focus-shot-new-zealand-fur-footage-011526304_main_xl.mp4"
}

Schema.org for product page

Do not forget to use the additionalType property as mentioned in this blog.

Questions and answers

To appear in Google's question and answer section you can try following this example.

Breadcrumbs

Breadcrums should also be implemented on the landingpage. The example below is a content page below a category page.


{
  "@context": "http://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [{
    "@type": "ListItem",
    "position": 1,
    "item": {
      "@id": "https://example.com/books",
      "name": "Books",
      "image": "http://example.com/images/icon-book.png"
    }
  },{
    "@type": "ListItem",
    "position": 2,
    "item": {
      "@id": "https://example.com/books/authors/ancillaryjustice",
      "name": "Ancillary Justice",
      "image": "http://example.com/images/cover-ancillary-justice.png"
    }
  }]
}