JSON ld valid
For generating or auditing any blocks, implementing structured data for articles, products, FAQs, breadcrumbs, or local businesses.
In detail
Use when generating or auditing any `<script type='application/ld+json'>` blocks, implementing structured data for articles, products, FAQs, breadcrumbs, or local businesses, or investigating why rich results are not appearing in Google Search Console.
Safety check
- Not rated by Claude yet. We only sell skills Claude has read and rated 7 out of 10 or higher, so this one is a free link to its author.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: json-ld-valid
description: "Use when generating or auditing any `<script type='application/ld+json'>` blocks, implementing structured data for articles, products, FAQs, breadcrumbs, or local businesses, or investigating why rich results are not appearing in Google Search Console."
metadata:
category: seo
priority: medium
difficulty: intermediate
estimatedTime: "10"
source: frontendchecklist.io
url: https://frontendchecklist.io/rules/seo/json-ld-valid
---
# Use valid JSON-LD structured data
Invalid JSON-LD is silently ignored by Google — there are no error messages in search results, only the absence of rich results. Invalid structured data means no eligibility for rich results (stars, FAQs, breadcrumbs, etc.) that increase click-through rates.
## Quick Reference
- JSON-LD must be valid JSON, reference `@context: 'https://schema.org'`, and include all required properties for the chosen `@type`
- Invalid JSON (unclosed brackets, missing commas) causes the entire block to be silently ignored by Google
- Validate with Google's Rich Results Test before deploying structured data changes
## Check
Find all `<script type='application/ld+json'>` elements on the page. For each: (1) Attempt to parse the content as JSON — flag syntax errors. (2) Verify `@context` is set to `'https://schema.org'`. (3) Verify `@type` is a valid schema.org type. (4) For the detected type, check required properties are present (e.g., Article requires `headline`, `author`, `datePublished`; Product requires `name`; FAQPage requires `mainEntity`). (5) Run through Google's Rich Results Test API if available.
## Fix
1. Parse the JSON-LD with `JSON.parse()` — fix any syntax errors (trailing commas, single quotes, missing brackets).
2. Ensure `@context` is exactly `"https://schema.org"` (not `"http://schema.org"` or omitted).
3. Verify the `@type` value against schema.org types.
4. Add required properties for the type:
- Article: headline, author (with @type Person and name), datePublished
- Product: name (and ideally offers, description)
- FAQPage: mainEntity array with Question and acceptedAnswer
- BreadcrumbList: itemListElement array with ListItem, position, name, item
5. Validate at https://search.google.com/test/rich-results
6. Validate JSON syntax at https://jsonlint.com
...From thedaviddias's repository, MIT licence.
Related skills
-
Checked
Blog post writer
Writes a blog post or guide end to end, from research and outline to draft, SEO pass and quality checks.
7/101 credit -
Checked
Long form guide writer
Plans, researches and drafts one 3,000 to 5,000 word guide with dated sources and steps a reader can follow.
7/101 credit -
Checked
Article content brief
Reads the top 10 Google results for a keyword and writes a brief with intent, gaps and an outline to follow.
8/101 credit -
Checked
Medium publishing
Publishes finished articles to Medium correctly, with canonical links so your own site keeps the SEO credit.
8/101 credit -
Checked
Answer engine rewrite
Rewrites an article with question headings and short answers, so AI answer engines can quote and cite it.
7/101 credit -
Checked
Article opening hooks
Writes openings and titles for blog posts, newsletters and essays in English or French, so readers keep going.
7/101 credit