Google Structured Data Testing Tool fails on valid JSON-LD

Hey all,

we decided to try out embedding JSON-LD in <script> on one of our
projects, to see how Google indexes it. We augment the RDF response
with schema.org types and properties by mapping from GoodRelations,
e.g.

Here is the webpage in question: http://refstock.eu/products
JSON-LD validates successfully: http://json-ld.org/playground/

However it fails in the Testing Tool:
https://developers.google.com/structured-data/testing-tool/

The errors I get are:

- Unspecified type
http://xmlns.com/foaf/0.1/primaryTopic [Product]:
http://refstock.eu/products/023U4380#this

Product is "The type is not a type known to Google.", even though the
resource has @type of http://schema.org/Product

- http://purl.org/goodrelations/v1#UnitPriceSpecification 1:
http://refstock.eu/_:A0

The tool seemingly fails to recognize a blank node and complains about
the gr:UnitPriceSpecification as "The type is not a type known to
Google.".

- The property @value is not recognized by Google for an object of
type http://www.w3.org/2001/XMLSchema#string.


My questions are:
1. is one supposed to publish a version of JSON-LD tailored specific
to schema.org?
2. does a failed test mean that the data will not be indexed?
3. are (some of) these bugs in the testing tool?

Thanks.


Martynas
graphityhq.com

Received on Thursday, 7 April 2016 13:13:13 UTC