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

need version 1.1 for nested/per-type contexts #291

Closed
VladimirAlexiev opened this issue Jan 28, 2022 · 3 comments
Closed

need version 1.1 for nested/per-type contexts #291

VladimirAlexiev opened this issue Jan 28, 2022 · 3 comments

Comments

@VladimirAlexiev
Copy link
Contributor

VladimirAlexiev commented Jan 28, 2022

This is not an ISSUE just a placeholder to hold some info.

The Traceability effort mixes and matches from many places and is huge, so may well need to use JSONLD 1.1 features:

  • nested contexts
  • per-class context
  • @protect
  • ...

Scoped contexts allow you to define a term locally, so it

  • resolves to a different prop,
  • applies different datatypes
  • prepends a different namespace
  • etc

w3c/vc-data-model#843 (comment) gives some examples from EPCIS.

If you do, you specify it as a number not string (don't ask):

"@version": 1.1
@VladimirAlexiev
Copy link
Contributor Author

@OR13

DID and VC contexts should not require 1.1 since they just define terms and don't bundle other ontologies.
But other contexts that have to bundle or integrate with many different ontologies have a good reason to consider 1.1 features?

Yes. In fact https://w3id.org/traceability/v1 (as linked in #285) uses nested per-type context, so it needs version 1.1 (as it declares).

@OR13
Copy link
Collaborator

OR13 commented Jan 29, 2022

yep, I am willing to accept that we may very well need 1.1 features here.

I am just always looking for ways to reduce the surface and increase the off the shelf tooling support, but I think our work is complex enough to justify the cost of 1.1.

@VladimirAlexiev VladimirAlexiev changed the title do you need nested contexts or other 1.1 features? need version 1.1 for nested/per-type contexts Jan 31, 2022
@nissimsan
Copy link
Collaborator

Current context requires 1.1 - closing this.

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

3 participants