SEO016 · JSON-LD validity
Severity: warning
What it checks
Section titled “What it checks”For each static <script type="application/ld+json">, the content must parse as JSON and contain both @context and @type. Invalid or incomplete JSON-LD is flagged. A dynamically-built JSON-LD is not checked in static mode.
Why it matters
Section titled “Why it matters”Invalid JSON-LD — unparseable, or missing @context/@type — is silently ignored by search engines, so the structured data does nothing.
How to fix
Section titled “How to fix”<svelte:head> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "WebPage", "name": "…" } </script></svelte:head>