Structured Data
Structured DataMedium

Valid JSON-LD Syntax

Checks that all JSON-LD blocks parse as valid JSON and reference schema.org.

What this check measures

We parse every <script type="application/ld+json"> block. Invalid JSON (trailing commas, unquoted keys) is silently ignored by Google — your schema effectively does not exist.

Why it matters

Broken JSON-LD is worse than no JSON-LD — you think you have schema but Google has discarded it. No rich results, no AI citation benefit, no knowledge panel.

search

How our audit detects it

JSON.parse each block. Validate @context is schema.org and @type is a known type.

Typical findings

  • error_outlineTrailing comma in JSON — breaks parse.
  • error_outlineTemplate variable not substituted: "name": "{{siteName}}"
  • error_outline@context missing entirely.

How to fix

Validate every JSON-LD block with https://validator.schema.org/. Fix parse errors. Then validate against Google Rich Results Test.

Frequently asked questions

Does Google warn about broken JSON-LD?expand_more
Only in Rich Results Test and Search Console Enhancements report. Silent failure in normal crawling.

Want this checked on your site?

Pantra runs the full audit (SEO, Security, GEO, Performance, Schema, Technical, Images) in 10 seconds and generates stack-specific fix prompts.

Scan my site

Related checks