Technical · How-to

Schema Markup (JSON-LD): A Practical 2026 Guide

What schema markup is, which types actually matter, and how to add valid JSON-LD that helps search engines and AI answer engines understand your pages — with copy-ready examples.

By Christopher TaylorFounder, Black & Gold SEOLast updated 9 min read

The short answer

Schema markup is structured data you add to a page — in 2026, almost always as JSON-LD — that tells search engines and AI answer engines exactly what the page is about: who published it, what product it describes, what questions it answers. It doesn’t directly raise rankings, but it makes pages eligible for rich results and gives machines an unambiguous reading of your content. Add the handful of types that fit your page, validate them, and point every entity at one canonical identity with sameAs.

Key takeaways

  • Schema markup is structured data; JSON-LD is the format Google recommends and the practical default.
  • It’s not a ranking factor — it earns rich-result eligibility and makes your meaning machine-readable.
  • A small set of types does most of the work: Organization, WebSite, Article, BreadcrumbList, FAQPage, Product, Review, Person, LocalBusiness.
  • Always validate with the Rich Results Test and the Schema Markup Validator, and tie every entity to one canonical identity via sameAs.

Schema markup (also called structured data) is a standardized way to describe a page’s contents to machines. Instead of leaving a search engine to infer that a string of text is a price, an author or a review rating, you label it explicitly using the shared vocabulary at schema.org. That matters for two audiences at once: classic search engines deciding whether your page qualifies for a richer listing, and the AI answer engines covered in our GEO guide, which parse the same structured signals when deciding what a page means and whether to cite it. This guide is the schema-focused spoke of our technical SEO automation pillar.

Why does schema markup help search and AI engines?

Search engines can read your page without any markup — but structured data removes ambiguity. It explicitly states the type of thing on the page and its properties, which is what makes a page eligible for rich results: review stars, FAQ accordions, breadcrumb trails, product pricing, and more. Structured data is not a direct ranking signal; its value is eligibility and clarity. The same machine-readable clarity helps AI engines resolve what your page is about and which entity it belongs to, which supports the entity work covered in our entity SEO guide.

Why JSON-LD instead of Microdata or RDFa?

Schema.org markup can be expressed three ways — JSON-LD, Microdata and RDFa — and all are valid vocabularies. JSON-LD wins on practicality: it sits in a single self-contained <script type="application/ld+json"> block rather than being woven through your visible HTML, so it’s easy to add, template and update without touching the rest of the page. Google explicitly recommends JSON-LD, and it’s the format you’ll see across most modern sites — including the JSON-LD that this very guide emits for its Article, Breadcrumb and FAQ data.

Which schema types actually matter?

Schema.org defines hundreds of types, but a small core covers the majority of real-world use. Match the type to what the page genuinely is — don’t mark up a thing that isn’t on the page. The table below maps the high-value types to when you’d use them and the properties that carry the weight.

Schema typeUse it forKey properties
OrganizationYour brand identity, usually once site-widename, url, logo, sameAs
WebSiteThe site as a whole; enables a sitelinks search boxname, url, potentialAction (SearchAction)
ArticleBlog posts, guides and news contentheadline, author, datePublished, image
BreadcrumbListThe navigation path to the pageitemListElement (position, name, item)
FAQPagePages with a list of question/answer pairsmainEntity (Question → acceptedAnswer)
ProductProduct detail pages in e-commercename, image, offers (price, availability)
Review / AggregateRatingRatings on a product, service or businessreviewRating, author, ratingValue, reviewCount
PersonAuthor and team-member identityname, jobTitle, url, sameAs
LocalBusinessA physical or service-area businessname, address, telephone, openingHours

How do you add JSON-LD to a page?

Add a single <script type="application/ld+json"> tag containing one JSON object (or a @graph array of connected objects). Every object needs @context set to https://schema.org and an @type. The markup should describe content that’s actually visible on the page. Here’s a minimal, valid Article example:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Schema Markup (JSON-LD): A Practical 2026 Guide",
  "datePublished": "2026-06-14",
  "dateModified": "2026-06-14",
  "author": {
    "@type": "Person",
    "name": "Christopher Taylor",
    "url": "https://www.blackandgoldseo.com/about/"
  },
  "publisher": {
    "@type": "Organization",
    "name": "Black & Gold SEO",
    "url": "https://www.blackandgoldseo.com/"
  },
  "mainEntityOfPage": "https://www.blackandgoldseo.com/guides/schema-markup-json-ld/"
}
</script>

Keep the JSON valid (straight double quotes, no trailing commas), match each property to what the page really contains, and place the script in the page’s <head> or body. On a static site you can template these blocks so the structured data stays in sync with the rendered content automatically — which is exactly the kind of repetitive, error-prone task worth handing to automation.

How do you tie schema to one canonical entity?

Markup is most powerful when it’s consistent. Use the same name and url for your Organization everywhere, and use the sameAs property to link each entity (your brand, your authors) to its authoritative profiles — your Wikidata entry, LinkedIn, Crunchbase, official social accounts. That helps engines collapse all your references into a single, well-understood entity rather than several fuzzy ones. Reusing a stable @id across your graph reinforces the same effect. This is the schema-side of the broader entity SEO work that helps you become an unambiguous entity in the Knowledge Graph and in AI models.

How do you validate and test your markup?

Never ship structured data unvalidated. Use two complementary tools:

  • Google’s Rich Results Test. Tells you whether a page is eligible for a specific Google rich result and flags errors that block it. Run it on a live URL or pasted code.
  • The Schema Markup Validator (validator.schema.org). Checks your markup against the full schema.org vocabulary — broader than Google’s supported subset — so it catches structural and syntax issues the Rich Results Test ignores.

Remember the limit: Google only displays rich results for its supported structured-data features, and only when the page qualifies and follows the guidelines. Valid markup for an unsupported type is still useful for machine readability — it just won’t change how the listing looks. Fix errors before warnings, and re-test after every change.

Schema markup is foundational technical SEO: low-risk, high-clarity, and increasingly important as AI engines lean on structured signals to understand and cite pages. For the wider picture, see our pillar on technical SEO automation, the entity groundwork in entity SEO, and how machine-readable content feeds AI answer engines in the GEO guide. When you’re ready to put it on autopilot, compare plans.

Sources & further reading

Keep reading

Questions

Frequently asked

Is JSON-LD better than Microdata or RDFa for schema markup?

JSON-LD is the format Google recommends. It lives in a single <script> block in the page head or body rather than being interleaved through your HTML, so it’s easier to add, generate and maintain — and it doesn’t risk breaking your visible markup. Microdata and RDFa are still valid vocabularies, but JSON-LD is the practical default in 2026.

Does schema markup directly improve my Google rankings?

Structured data is not a direct ranking factor. Its job is to help search engines understand your content and to make pages eligible for rich results (review stars, FAQs, breadcrumbs, and more). Those richer listings can lift click-through, and clearer machine-readable meaning helps both classic search and AI answer engines parse your page — but the markup itself doesn’t move rankings on its own.

Will Google show a rich result for every schema type I add?

No. Google only renders rich results for a defined set of supported features, and even then only when the page qualifies and the markup follows the guidelines. You can mark up valid schema.org types that Google doesn’t surface as a rich result — they still add machine-readable meaning, but won’t change how the listing looks.

How do I check that my JSON-LD is correct?

Use two tools. Google’s Rich Results Test shows whether a page is eligible for a specific rich result and flags blocking errors. The Schema Markup Validator (at validator.schema.org) checks your markup against the full schema.org vocabulary, not just Google’s supported subset. Run both, fix errors first, then warnings.

Win the answer, not just the link

Black & Gold SEO finds, writes, and applies the on-page and entity fixes that get you cited in AI answers and ranked in classic search — evidence-grounded, and shipped to your site via one snippet.