Re: [poe] Support JSON-LD

> Doesn't the JSON-LD context also act as the JSON schema?

These two are completely different. [JSON 
Schema](http://json-schema.org/) is a separate semi-specification; 
"semi" in the sense that I am not sure it is really stable. Nor do I 
know how widespread it is. A JSON-LD context is very different. It 
does not "check" the JSON file (as a JSON Schema would do) but it 
rather maps the JSON content on something that RDF processors like.

> So in the Annotation json-ld context: 
http://w3c.github.io/web-annotation/vocab/wd/#json-ld-context
>
>Then when a JSON person writes "Annotation", it really means 
"oa:Annotation" (and the latter keeps LD people happy)? ?

Yes. A JSON-LD parser, when generating RDF, will expand "Annotation" 
into the URL.


-- 
GitHub Notification of comment by iherman
Please view or discuss this issue at 
https://github.com/w3c/poe/issues/46#issuecomment-277438774 using your
 GitHub account

Received on Saturday, 4 February 2017 11:45:29 UTC