SEOscanner.app

Rule · Structured data

JSON-LD blocks are valid JSON

SEO-SD-01C1 Mechanism· w8

Class
C1 Mechanism
Weight
8
Severity on fail
critical
Applies to
Google

Scope and evidence

Evaluated on pages in P with JSON-LD. The book marks this requirement ELIGIBILITY REQUIREMENT, SEARCH-ENGINE-SPECIFIC.

Fail conditions

Each condition has a stable code and a reason template. The evaluator fills the placeholders from observed values only; no sentence in a report is generated.

  • invalid_json

    A JSON-LD block on {url} (line {line}) is not valid JSON: {error}. Structured data must be in one of Google's supported formats to be eligible for rich results, and a block that does not parse cannot be read as JSON-LD.

The documented fix

Serialize JSON-LD with a JSON encoder from template data; never hand-concatenate strings.

Sources, quoted

These are the passages the rule rests on, stored once in the knowledge base and emitted exactly as written. A citation marked for specific conditions appears only on findings with those codes.