json-ld-bp icon indicating copy to clipboard operation
json-ld-bp copied to clipboard

Extra framing and validation information for extension

Open sebastiankb opened this issue 3 years ago • 2 comments

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?

sebastiankb avatar May 26 '21 14:05 sebastiankb

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.

gkellogg avatar May 26 '21 20:05 gkellogg

Transferred from json-ld-api to json-ld-bp.

gkellogg avatar Oct 30 '21 19:10 gkellogg