- From: Dan Brickley <danbri@google.com>
- Date: Thu, 7 Apr 2016 14:30:51 +0100
- To: Martynas Jusevičius <martynas@graphity.org>
- Cc: "schema. org Mailing List" <public-schemaorg@w3.org>
Hi Martynas, These are largely Google implementation issues, and probably better raised in https://productforums.google.com/forum/#!topicsearchin/webmasters/category$3Astructured-data%7Csort:relevance%7Cspell:false than here. The Google Structured Data Testing Tool in its current incarnation is largely oriented towards vocabulary that Google understands, even though it is perfectly harmless to include other information in your structured data. So the 'errors' should be understood in that context. I'll pass along your feedback within Google, but suggest that this Community Group is probably not the best place to get into too much detail on this topic. cheers, Dan On 7 April 2016 at 14:12, Martynas Jusevičius <martynas@graphity.org> wrote: > 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:31:20 UTC