Guides · Business
JSON-LD structured data for a blog: BlogPosting, FAQPage and BreadcrumbList.
How to add JSON-LD schema to a static site: BlogPosting, BreadcrumbList, FAQPage and Person, with copyable examples, validation tips and rules Google expects.
Key takeaways
- JSON-LD is a block of JSON in your page that tells search engines what the page is.
- It does not guarantee rich results, but it makes your content easier to understand.
- Markup must match what is visible on the page. Never mark up content that users cannot see.
- Test every template with Google's Rich Results Test and the Schema.org validator.
What JSON-LD is
Structured data uses the Schema.org vocabulary. JSON-LD is Google's preferred format. You place it inside a script tag in the page, and it does not change the visible design:
<script type="application/ld+json">
{ "@context": "https://schema.org", "@type": "BlogPosting", ... }
</script>
BlogPosting
Use it for an article:
{
"@context": "https://schema.org",
"@type": "BlogPosting",
"headline": "How to verify a file with SHA-256 on Windows",
"description": "Check a download's SHA-256 with PowerShell...",
"datePublished": "2026-12-06",
"dateModified": "2026-12-06",
"author": { "@type": "Person", "name": "Shahrukh Sheikh", "url": "https://shahrukhsheikh.in/" },
"mainEntityOfPage": "https://shahrukhsheikh.in/blog/how-to-verify-an-installer-with-sha256",
"image": "https://shahrukhsheikh.in/og-default.jpg",
"inLanguage": "en-IN"
}
Keep the headline close to the real h1. Dates should be ISO 8601 and truthful.
BreadcrumbList
It describes the path to the page:
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "https://shahrukhsheikh.in/" },
{ "@type": "ListItem", "position": 2, "name": "Blog", "item": "https://shahrukhsheikh.in/blog/" },
{ "@type": "ListItem", "position": 3, "name": "SHA-256 on Windows" }
]
}
The last item can omit the URL, because it is the current page.
Person and WebSite
On a personal site, a Person block on the home page with your name, job title and profile links helps connect your identity. A WebSite block states the site name and URL.
Rules to follow
- Match visible content. If the FAQ is not on the page, do not mark it up.
- Use real data. Do not invent ratings, reviews or prices.
- Keep it valid JSON. A missing comma breaks the whole block.
- Escape quotes inside strings.
- Do not mark up hidden or irrelevant content.
- Update dates when you materially change the article.
Validate
- Google's Rich Results Test for eligible types.
- The Schema Markup Validator for general syntax.
- Search Console's Enhancements reports once pages are crawled.
Static-site tip
Generate JSON-LD from the same data as your page, so the title, description and dates never drift apart. On this site a small build script produces the page and its markup together.
Frequently asked questions
Does schema improve rankings?
Not directly. It helps search engines understand the page and may qualify it for rich results.
Can I add several types in one page?
Yes. Use separate script blocks or a @graph array.
Do I need a plugin?
Not on a custom site. A few templates are enough.
Posts on this blog use this markup.
Browse the blog