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

Consider replacing the context IRI with an object #9

Open
OR13 opened this issue Mar 11, 2022 · 0 comments
Open

Consider replacing the context IRI with an object #9

OR13 opened this issue Mar 11, 2022 · 0 comments

Comments

@OR13
Copy link
Contributor

OR13 commented Mar 11, 2022

JSON-LD processors will attempt to resolve the context.

"https://w3id.org/rebase/v1"

If we instead require that the context for all credentials looks like this:

 "@context":[
        "https://www.w3.org/2018/credentials/v1",
        { "@vocab": "https://w3id.org/rebase#"}
    ],

Those processors will not error on a cache miss, and will never "accidentally" go download the context from the internet.

This would not be required if "https://www.w3.org/2018/credentials/v1" included an @vocab.

See the related thread:

w3c/vc-data-model#753

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