W3C home > Mailing lists > Public > public-linked-json@w3.org > October 2017

Interpreting JSON as JSON-LD / Content-Type header spec. requirements

From: Christopher Johnson <chjohnson39@gmail.com>
Date: Wed, 18 Oct 2017 05:29:58 +0200
Message-ID: <CAMJ8WP1zbLR8eYi7idhgPu79P+q3dzbw68Q=cLa18_fYB9A=DQ@mail.gmail.com>
To: public-linked-json@w3.org
Hi list,

In am writing tests and possibly a
 async document loader implementation for jsonld-java that could check
Content-Type and Link headers before fetching.  The current one does not.

I would like
​to ​
research and find actual examples where the JSON-LD specification about the
Interpretation requirement has been observed.  Anyone know a site that serve
Content-Type application/json with a Link header that provides a "
http://www.w3.org/ns/json-ld#context" relation?

Also could some
 please explain why application/ld+json is forbidden to provide an #context
relation with a Link Header?  Is an #context relation (if served as
application/ld+json) allowed to specify a  http://www.w3.org/ns/json-ld
profile?  Or could a non http://www.w3.org/ns/json-ld Content-Type profile
be served as application/json and provide a secondary #context relation if
it were itself an #context ?  Should the document loader check (and
 dereference the relations) if "second-step" remote documents provide Link
and/or Content-Type profile?  Should there be a processing "order of

Just trying to understand required hypermedia options and possible use

Christopher Johnson
Scientific Associate
Universitätsbibliothek Leipzig

[1] https://stackoverflow.com/questions/39551829/usage-for-
[2] https://json-ld.org/spec/latest/json-ld/#interpreting-json-as-json-ld
[3] https://github.com/IIIF/api/issues/1066
​[4] https://github.com/ProfileNegotiation/I-D-Accept--Schema​
Received on Wednesday, 18 October 2017 03:40:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:50 UTC