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

combining json-ld with api endpoint resolving #13

Open
GVogeler opened this issue Dec 7, 2019 · 0 comments
Open

combining json-ld with api endpoint resolving #13

GVogeler opened this issue Dec 7, 2019 · 0 comments
Milestone

Comments

@GVogeler
Copy link
Collaborator

GVogeler commented Dec 7, 2019

If we want to achieve a full json-ld based API consumption, it would be good to let the *-refs properties point to the explicit endpoint. This could be achieved in JSON-LD by adding a @context locally, which would replace the @base from the general context-file with the current one.
But:

  1. following https://www.w3.org/TR/json-ld/#advanced-context-usage each context definition, will override the original, so the new @base would be valid for all following URI expansions
  2. It would be necessary to make this @context required.
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

1 participant