Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prohibit complex usage of context #391

Open
multimeric opened this issue Jan 10, 2025 · 1 comment
Open

Prohibit complex usage of context #391

multimeric opened this issue Jan 10, 2025 · 1 comment
Milestone

Comments

@multimeric
Copy link
Contributor

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.

@ptsefton ptsefton added this to the RO-Crate 2.0 milestone Jan 16, 2025
@ptsefton
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants