ro-crate icon indicating copy to clipboard operation
ro-crate copied to clipboard

Prohibit complex usage of context

Open multimeric opened this issue 1 year ago • 1 comments

I enjoy the flexibility of JSON-LD, but I suspect that a lot of the tooling makes assumptions about structure that we haven't actually documented in the spec. Here are some suggestions that might help provide a simpler encoding format:

  • Ban @context anywhere except at a top level graph. JSON-LD supports adding @context almost anywhere, but this is confusing and complex to parse
  • Ban any keyword redefinition. JSON-LD 1.1 allows you to, for example:

There are probably some others I haven't thought of yet, but this is a start.

multimeric avatar Jan 10 '25 06:01 multimeric

Putting in the v2 milestone for consideration (I agree BTW)

ptsefton avatar Jan 16 '25 23:01 ptsefton