Skip to content

SEO016 · JSON-LD validity

Severity: warning

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.

Invalid JSON-LD — unparseable, or missing @context/@type — is silently ignored by search engines, so the structured data does nothing.

<svelte:head>
<script type="application/ld+json">
{ "@context": "https://schema.org", "@type": "WebPage", "name": "" }
</script>
</svelte:head>