- From: David I. Lehn <dil@lehn.org>
- Date: Thu, 15 Aug 2013 15:24:49 -0400
- To: Linked JSON <public-linked-json@w3.org>
I just added a feature to the playground to use a custom documentLoader to map "http://schema.org[/]" to "https://w3id.org/schema.org". This should let schema.org examples [1][2] actually work instead of just complaining about an invalid context URL. We can remove those map entries when/if schema.org starts serving their own context. This feature is obviously dependent on the correctness of the temporary schema.org context hosted at json-ld.org [3][4]. At the moment it is somewhat incomplete and using @vocab as a catch-all crutch. Patches welcome. Other systems that process JSON-LD may need to use a similar hack to handle incoming data using a schema.org context. [1] http://schema.org/Action [2] https://developers.google.com/gmail/schemas/reference/formats/json-ld [3] http://json-ld.org/contexts/schema.org.jsonld [3] https://github.com/json-ld/json-ld.org/blob/master/contexts/schema.org.jsonld -dave
Received on Thursday, 15 August 2013 19:25:17 UTC