See also:
Article

Article structured data

Article structured data examples.
People looking at computer screens

A working example of Article structured data:

{
    "@context": "http://schema.org",
    "@type": "NewsArticle",
    "mainEntityOfPage": "http://example.ampproject.org/article-metadata.html",
    "headline": "Lorem Ipsum",
    "datePublished": "1907-05-05T12:02:41Z",
    "dateModified": "1907-05-05T12:02:41Z",
    "description": "The Catiline Orations continue to begule engineers and designers alike -- but can it stand the test of time?",
    "author": {
        "@type": "Person",
        "name": "Jordan M Adler"
    },
    "publisher": {
        "@type": "Organization",
        "name": "Google",
        "logo": {
            "@type": "ImageObject",
            "url": "http://cdn.ampproject.org/logo.jpg",
            "width": 600,
            "height": 60
        }
    },
    "image": {
        "@type": "ImageObject",
        "url": "http://cdn.ampproject.org/leader.jpg",
        "height": 2000,
        "width": 800
    }
}

Notes:

  • The document referenced in mainEntityOfPage should be the same as the canonical link.
  • Some platforms that use AMP HTML have further restrictions with regards to some schema components.
  • The leader image referenced in the JSON-LD must appear somewhere on the AMP HTML document itself.
  • The URL for that image must precisely match the src of the amp-img tag.
  • All marked-up URLs should be absolute.
  • The logo dimensions must not exceed 600x60.

More useful examples from the AMP project can be found here.

Last updated on 1/11/2020 by Anton Vasetenkov.