Documentation / Integration guide / Part 8 of 18

8. The NewsArticle markup

Describe each article for search engines with JSON-LD. Escape <, >, &, U+2028 and U+2029 in the text.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "NewsArticle",
  "headline": "Budget A1",
  "datePublished": "2026-11-20",
  "author": { "@type": "Person", "name": "Kari Nordmann" },
  "isAccessibleForFree": false,
  "hasPart": {
    "@type": "WebPageElement",
    "isAccessibleForFree": false,
    "cssSelector": ".paywalled-content"
  }
}
</script>
  • Use isAccessibleForFree: true and no hasPart for a free article.
  • cssSelector is 1 class selector. Wrap the paid part in the element that the selector matches, for example <div class="paywalled-content">.
  • Send the paid part only to a reader with full. A crawler gets the teaser and the markup.