2

Structured data markup is a standard way to annotate your content so Google can understand it. However, I am not sure, if Google will accept and parse svg+xml images as a value for the Schema.org image property.

The Structured Data Testing Tool shows no errors:

Google’s Testing Tool shows "All good" for "WebApplication" and "SoftwareApplication".

Snippet:

{
  "@context": "http://schema.org",
  "@type": "SoftwareApplication",
  "name": "Our application name",
  "image": "https://my.company/files/images/desktop-icon.svg",
  ...
}

There is a related question, but it does not apply the new application/ld+json format.

  • What makes you doubting it? – unor Apr 2 '15 at 22:05
  • I can not find any offical statement or post by an Google employee – mate64 Apr 2 '15 at 22:07
  • SVG is an image format, it should work fine. But what does the GWT report say under "appearance > structured data"? I have found that sometimes it does not accept things the test tool says are OK. – dhaupin Apr 3 '15 at 14:08
4

I guess there is no reason to assume that Google wouldn’t handle SVGs as value of the image property:

  1. Schema.org’s image property expects an image URL (or an ImageObject).

  2. SVG is an image format (image/svg+xml).

  3. Google does index SVG images.

(Of course, we can never be sure; and things might change always.)

Generally, the syntax shouldn’t matter, as long as it is one of the syntaxes Google supports (currently: Microdata, JSON-LD, and RDFa), and your case is not one of the rare ones where only specific syntaxes are supported.
It would not make sense if Google would, say, support SVG within RDFa but not within JSON-LD.

That said, in the documentation of some (but not all) Rich Snippets, Google recommends the use of ".jpg, .png, or. gif formats". But that that really seems to be a recommendation, not a requirement.

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.