Blog

Using structured data (JSON-LD) to tell AI exactly what your site is

Structured data is a set of labels that lets machines read the facts on a page without mistakes. It starts with saying who runs the site (Organization), what the site is called (WebSite), and who wrote a piece and when (Article). Google says, though, that no special structured data is needed to appear in its AI features, so it helps to separate what to expect from what not to.

9 min readpublish.link

What does structured data do?

Structured data writes down a page's facts in the schema.org vocabulary. People read the text on screen; search engines and AI read the structured data. Google accepts JSON-LD, Microdata and RDFa. JSON-LD sits in a single script tag, apart from the rest of the HTML, which makes it easy to change.

Search engines describe it the same way. In an October 2025 post, Microsoft Bing's Krishna Madhavan described structured data as code that helps search engines and AI systems understand content. In March that year, Search Engine Roundtable reported that Bing's Fabrice Canel said at SMX Munich that structured data helps Microsoft's LLMs understand content.

Which types should I add first?

TypeWhereMain propertiesWhat it does
OrganizationThe home page, or one page that describes the organisationname, url, logo, sameAsTells the organisation apart from others; used for the logo
WebSiteThe home page of the domain or subdomainname, url, alternateNameSets the site name shown in search results
Article · NewsArticle · BlogPostingEach content pageheadline, author, datePublished, dateModified, image, publisherGets the title, image, dates and author read correctly
FAQPagePages where questions and answers are actually on screenmainEntity (Question, acceptedAnswer)Marks question and answer pairs; see below for how search shows them

What goes into Organization and WebSite?

According to Google's documentation, Organization has no required properties; fill in the recommended ones that fit the organisation. It belongs on the home page or on one page that describes the organisation, not on every page. The logo must be at least 112×112 pixels, and sameAs can list several addresses of other pages about the same organisation, such as its official social accounts.

For the site name, Google weighs WebSite structured data on the home page of the domain or subdomain most. name and url are required, and a short name can go in alternateName. Google does not support site names for subdirectories, and asks that duplicate home pages, such as http and https or with and without www, carry the same data.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "NewsMediaOrganization",
      "@id": "https://example.com/#org",
      "name": "Example News",
      "url": "https://example.com/",
      "logo": "https://example.com/logo-512.png",
      "sameAs": [
        "https://www.youtube.com/@examplenews",
        "https://x.com/examplenews",
        "https://www.linkedin.com/company/examplenews"
      ]
    },
    {
      "@type": "WebSite",
      "name": "Example News",
      "alternateName": "EN",
      "url": "https://example.com/",
      "publisher": { "@id": "https://example.com/#org" }
    }
  ]
}
</script>

The example uses NewsMediaOrganization, the subtype that fits a media site. Google recommends using the most specific subtype of Organization.

What goes on a content page?

Article, NewsArticle and BlogPosting have no required properties either. Google says the data helps it show the title, image and date better in search results. Points to keep:

  • If there are several authors, give each one their own author entry.
  • Put only the name in author.name; titles go in other properties such as jobTitle.
  • Use author.url for the address of a page that identifies that author.
  • Write datePublished and dateModified in ISO 8601 with a time zone. Without one, Google reads them in Googlebot's time zone.

Is FAQ structured data still worth having?

If you are hoping for expandable FAQ results in search, most sites no longer get them. In August 2023 Google limited FAQ rich results to well-known, authoritative government and health sites, and said other sites would no longer see them regularly. HowTo rich results stopped appearing in Search on September 13, 2023.

That does not mean removing it. Google said there is no need to proactively remove FAQPage markup, and that unused structured data does not cause problems for Search. The reason to keep FAQPage now is less about how results look and more about telling machines which answer goes with which question. Bing's October 2025 post likewise says that questions paired with clear answers are easy for AI assistants to reuse.

In June 2025 Google also phased out little-used structured data features such as Book Actions, Claim Review and Estimated Salary from search results, again saying rankings were not affected. How results look can change, so it is better not to add structured data just to win one particular display.

Will structured data get my site into AI answers?

There is no guarantee. Google's guide to AI features says there are no extra requirements or special optimisations for AI Overviews or AI Mode, and no special schema.org structured data to add. The page needs to be indexed and eligible to show in Search with a snippet.

Google's guide to optimising for generative AI features also says structured data is not required, while recommending it as part of an SEO strategy because it helps with rich result eligibility. Rich results are not guaranteed either: even with correct markup, Google decides what to show.

In short, structured data is not a ticket into AI answers. It is closer to a way of making sure a page that is already being read is understood correctly. Use it to pin down facts that must not be wrong: the organisation, the site name, the author, the dates.

What should I watch out for?

  • Mark up only what is visible. Content users cannot see must not be marked up, and Google repeatedly says structured data should match the text on the page.
  • Leave out anything unrelated or misleading. Breaking the guidelines can bring a manual action that removes rich result eligibility.
  • Use the most specific subtype.
  • After adding it, check for errors with the Rich Results Test. A single JSON syntax error stops the whole block from being read.

What does the publish.link site check look at?

Check itemsWhat it looks forPoints
Structured dataAn Organization with name, url and logo, and no JSON-LD errors5
WebSite structured dataA WebSite with name and url2
Official accounts linked3 or more official account addresses in sameAs4
Question and answer formatFAQPage, QAPage or HowTo structured data, or a subheading ending in a question mark4
Article structured dataheadline, datePublished, author, publisher and image all present4
Author namedThe author's name and a profile page (url or sameAs)3
Publication dateBoth the publication and modified dates3
BreadcrumbA BreadcrumbList2

Google's documentation lists no required properties for Organization or Article, but the check passes them only when all the values above are present, so AI can read the organisation and the piece in full. It looks for FAQPage not for how search results look, but to see whether question and answer pairs are marked.

Sources

How does your site score?

Enter an address and we check up to 62 items, SEO, AEO and GEO among them, and score the site out of 100. The score shows right away, with no sign-up.