Eckher
EckherInsightsContact
Eckher
Your guide to what's next.
Article structured data
Jan 11, 2020

Article structured data

Article structured data examples.

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.

See also
What is the Google Knowledge Graph?
Is it the world's largest knowledge base?
Introduction to SPARQL
SPARQL is a query language for graph data. The graph model of thinking fits well a lot of use cases.
Useful SEO resources
Tools and services for validating SEO.
CSS variables
Using CSS variables.
Generating data URLs in JavaScript
How to generate data URLs in JavaScript?
Creating a JavaScript library with webpack
How to bundle a JavaScript library with webpack?