gbv / jskos

JSKOS data format for Knowledge Organization Systems
https://gbv.github.io/jskos/
39 stars 5 forks source link

JSON-LD context not recognized by JSON-LD Playground #71

Open stefandesu opened 5 years ago

stefandesu commented 5 years ago

If you paste a valid JSKOS object into the JSON-LD Playground, it is not recognized. Reason for this is that apparently the JSKOS JSON-LD context file is not served the right way. As I understand it, it either has to be a .jsonld file or be served with the appropriate HTTP headers. In the context section of the JSON-LD spec, it says:

JSON documents can be interpreted as JSON-LD without having to be modified by referencing a context via an HTTP Link Header as described in section 6. Interpreting JSON as JSON-LD.