SEO018 · JSON-LD relative URL
Severity: warning
What it checks
Section titled “What it checks”Flags a relative value under a known URL key (url, image, logo, sameAs, contentUrl, thumbnailUrl) in JSON-LD. A value is considered absolute when it carries a URI scheme (https:, data:, mailto:, …) or is protocol-relative (//host/…); only scheme-less paths like /logo.png are flagged.
@id is not checked, because it is a node identifier that is commonly a relative fragment (e.g. #organization) cross-referencing nodes within the same @graph — a valid pattern, not a broken URL.
Why it matters
Section titled “Why it matters”Search engines need absolute URLs in structured data; a relative URL can’t be resolved reliably.
How to fix
Section titled “How to fix”"image": "https://example.com/logo.png"