Skip to content

Lesson 6 of 9 · 23m

Structured Data That Earns Features

JSON-LD, schema types that match visible content, validation workflows, and why markup is eligibility rather than a ranking cheat code.

Structured data has a strange reputation because people expect it to raise rankings directly. The accurate model is narrower and more useful: structured data helps search engines understand entities and makes pages eligible for enhanced presentation. It can improve click-through when a feature is shown. It does not rescue weak content, and markup that contradicts visible content can remove trust entirely.

Use JSON-LD and keep it boring

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Course",
  "name": "SEO for Developers",
  "description": "Technical SEO for engineers building crawlable, fast websites.",
  "provider": {
    "@type": "Organization",
    "name": "SudoSecurity",
    "sameAs": "https://sudosecurity.org/"
  }
}
</script>

JSON-LD is the preferred format because it is explicit, easy to template, and less entangled with presentation than microdata. Put it in the initial HTML for the page it describes. Mark up what users can see; hidden markup invented for search engines is spam behavior.

Match the type to the page's real purpose

A course page can use Course. An article can use Article or BlogPosting. A product can use Product only when the page really offers a product, with accurate price and availability if those fields are included. Breadcrumbs can use BreadcrumbList when the visual breadcrumb trail exists.

Do not mark up every page as everything. A page with Article, Product, FAQPage, Course, and HowTo all stapled together is not semantic richness; it is noise. Also note that Google supports only a subset of schema.org for rich results. Schema.org being valid does not mean a feature exists.

Validate like a deployment artifact

Structured data breaks in boring ways: HTML entities inside JSON, trailing commas from string concatenation, template injection escaping quotes, stale prices, missing required fields after a redesign. Generate it with a serializer rather than string interpolation.

const jsonLd = {
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  itemListElement: crumbs.map((crumb, index) => ({
    "@type": "ListItem",
    position: index + 1,
    name: crumb.name,
    item: new URL(crumb.path, "https://sudosecurity.org").toString(),
  })),
};

Test representative templates with Google's Rich Results Test and schema validation tooling. More importantly, monitor enhancement reports in Search Console after deployment. A local pass does not prove production templates are consistent.

Structured data is not a substitute for page truth

If the title, visible heading, canonical, Open Graph data, and structured data all describe different entities, the machine confidence drops. Consistency is the win. Structured data works best as a machine-readable confirmation of what the page already states clearly.

Field notes

  • FAQ and HowTo rich results are far more restricted than they used to be; do not build a business case assuming they will appear.
  • Review markup is heavily abused and often ignored when self-serving or irrelevant.
  • Use stable @id values when entities matter, especially organizations, authors, and courses.
  • If content changes without lastmod or structured data changing, expect stale snippets and inconsistent understanding.

Was this lesson helpful?

Sign in to rate