Technical pillar / check schema-validation
JSON-LD validity (schema.org spec conformance)
Every JSON-LD block on the page should declare @context (https://schema.org), declare a @type, and parse as valid JSON.
By Shimon Alex Carroll, Founder and CEO, Own The Climb · Last updated
This is how we check it
We check that each JSON-LD block parses and declares a schema.org context, with a type or an @graph array. On the entry page, we also try a bounded check of any declared SearchAction destination.
- We check whether each block parses as JSON, with no trailing comma or missing quote.
- We check whether it declares @context as schema.org.
- We accept a declared @type, such as Organization, or an array-valued @graph.
- Detailed field rules for each business type live in their own checks.
Our reasoning behind this
Structured data is how a page states facts in a form machines read without guessing. A block that does not parse cannot be read at all, so it gives none of the benefit and can hide the problem from the team that wrote it.
How we would fix it on your site
- Generate structured data from a code object passed through JSON.stringify. Keep hand-typed JSON out of templates.
- Test each page type in the Schema Markup Validator and in Google's Rich Results Test.
- Fix any block that fails to parse, lacks a schema.org context, or has neither a type nor an @graph array.
Once your change is live, run the audit again and review the new findings alongside the pages it covered.
What we want you to review
- Escape quotation marks inside JSON-LD string values when writing them into a template.
- Use https://schema.org for @context as Google’s examples do; the older http://schema.org form can still parse.
- Use the correct JSON shape for @type, including an array when declaring several types.
- Keep JSON-LD outside a noscript block when you want supported parsers to find it.
The exact rules our audit applies
We wrote this part for your developer or your SEO specialist. It sets out the inputs, scoring rules and confidence limits we publish for this check, together with the full explanation of how we would fix a finding.
The inputs we describe for this check
For each <script type="application/ld+json"> block we attempt to parse the payload, confirm @context resolves to https://schema.org (or an https://schema.org subgraph), and confirm a @type is declared. We do not validate every required property of every type here; the LocalBusiness family, including MedicalBusiness, LegalService and RealEstateAgent, has its own checks in the Local pillar.
Our full reasoning
Schema is the structured-data signal that classic Google uses for rich results and that AI engines (ChatGPT, Claude, Perplexity, Gemini) use to triangulate entities and topical claims. A malformed JSON-LD block (trailing comma, missing quote, broken @context) is silently dropped by every consuming engine; the page reverts to unstructured signal.
The cost of a broken block is the same as having no schema at all, with the added downside of false confidence on the engineering side.
How we score what we find
PASS if every JSON-LD block parses, declares @context resolving to schema.org, and declares a @type. FAIL if any block fails any of the three. On your home page, a WebSite SearchAction whose search target answers 404 or 410 is a LOW finding.
Severity follows what search engines and AI tools can still read: MEDIUM when every block on the page is broken or invalid, and LOW when other blocks on the page are usable.
A page with no JSON-LD at all is LOW on an article, product or location page, where a Google rich result needs markup, and otherwise an INFO note that does not change your score, because Google does not require structured data. A page with Microdata or RDFa instead passes with a note: Google reads all three formats, and this check reads JSON-LD only.
The industry you pick does not change it.
How sure we are of each result
Confidence is HIGH for every outcome, because JSON-LD blocks are static in the HTML and parsing is deterministic.
How to fix it, in full
Generate JSON-LD from server-side helpers (typed TypeScript objects passed through JSON.stringify) rather than hand-writing JSON in templates. Use the Schema Markup Validator (schema.org's own tool) and Google's Rich Results Test to verify each page type. For Next.js, render the JSON-LD inside a Server Component via dangerouslySetInnerHTML with a JSON.stringify of a typed object.
The sources we rely on
What we have changed on this page
- · A page with no JSON-LD is now LOW on article, product and location pages and a note elsewhere, instead of MEDIUM everywhere, because Google does not require structured data on a page with no rich result. A page that uses Microdata or RDFa is no longer called a page with no structured data.
- · Rewritten in plain words: what we check, why it matters and how to fix it come first, and the full rules sit one click down. We corrected the full rules to describe only what we check today.
- · On your home page, a WebSite search box (a SearchAction) whose target answers not found (404 or 410) is a LOW finding: search engines and AI tools would send people to a broken search. We load the target once, within the audit's budget for link checks; with no budget left, we do not load it and do not score it.
- · Initial publication. We check that each block parses and declares a schema.org @context and a @type, without downloading the schema.org vocabulary.