json-ld-bp
json-ld-bp copied to clipboard
Extra framing and validation information for extension
Coming from today's WoT Thing Description meeting:
We wondering if there is a standardized place where we can find the Frame and/or validation document (eg, SHACL, JSON Schema,... ) for a specific context. Can be this placed within the context file or what is the recommendation?
It's reasonable for the frame document to be used as a context. The only thing a JSON-LD processor looks for in a remote document used as a context is the @context
, itself.
I've also used this as an alternate way to describe the vocabulary, when the context and the vocabulary share the same URI.
It's certainly reasonable for a frame document to also be used as a context, and, indeed, it does so for the frame output where the result is compacted using this context.
This could go in the Best Practices document.
Transferred from json-ld-api to json-ld-bp.