-
Notifications
You must be signed in to change notification settings - Fork 115
Remove @version
from v2 context
#843
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
Comments
+1, the |
Yes there are existing tools and libraries that don't support JSON-LD 1.1, e.g. https://github.com/jsonld-java/jsonld-java. |
The issue was discussed in a meeting on 2021-12-01
View the transcript3.7. Remove
|
In contrast, the EPCIS contexts (https://github.com/gs1/EPCIS/blob/master/epcis-context-simple.jsonld or https://github.com/gs1/EPCIS/blob/master/epcis-context.jsonld) use Most of all scoped (local) contexts for things like:
We also use @OR13 I mention this in relation to https://github.com/w3c-ccg/traceability-vocab, which reuses (or will reuse) some EPCIS stuff. |
@VladimirAlexiev I am not suggesting nobody use I am suggesting that the base v2 context not use it.. and let EPCIS or trace or schema.org decide if they need version 1.1 or not. The v1 context have a lot fo defintions that that the v2 context will likely not have. The only ones that I think will be staying are:
If we can refactor these to NOT need 1.1 features or If we can't refactor these to avoid 1.1, we should be clear that we are reducing the set of JSON-LD processors that support the vc data model to only ones that support 1.1... and that is reducing the potential support that developers would have. I think many developers assume its best to "use the latest" and then discover that 1.1 is not as widely supported as they might have hoped. In general, we should only use 1.1 features if they are absolutely necessary, and we should assume that the VC Data Model context will only be the 1st context required... never the last (unless we add support for |
@OR13 I wasn't suggesting VC need to use 1.1, I was just giving examples of why we had to use 1.1 in EPCIS. Not so for the Traceability effort, which mix and matches from many places and is huge, so may well need to use nested contexts. |
@VladimirAlexiev I think I completely agree, but let me restate in my own words. 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? |
The There's a well-maintained Java processor that supports JSON-LD 1.1 (and, it apparently also works in Android) here: https://github.com/filip26/titanium-json-ld That implementation also includes URDNA2015 RDF canonicalization. I'm not sure which other languages people are concerned about having a 1.1 processor in, but every language listed on the json-ld.org page that has a 1.0 implementation also has a 1.1 one -- except Erlang and PHP: https://json-ld.org/ It would be good to hear what the specific issues are since a cursory look at the implementation landscape implies that if you have support for 1.0 you have 1.1 support too (I doubt anyone is clamoring for an Erlang or PHP 1.1 processor). |
If this is a good argument for keeping the 1.1 version in the context, then its also a good argument for why JSON-LD processing is not needed for VC-JWT in order to ensure conformance under the assumption that v2 context includes an Together these give you term definitions without any need to "do JSON-LD processing". And they don't preclude you from doing "advanced JSON-LD processing". I am happy to concede to retaining In short, I am not convinced this is a hard requirement, because its insufficient (alone) in solving the proposed value add. |
As stated in another thread, I'm content with exploring adding This was an important goal in the VC 1.0 work (that was achieved through IMO, we should also keep the |
The issue was discussed in a meeting on 2022-08-03
View the transcript6.5. Remove
|
This was done in d82b52a. Closing as resolved. |
https://community.neo4j.com/t/could-not-parse-jsonld-error-when-importing-a-json-ld-file/46792/4
requiring JSON-LD v1.1 seems to be constraining the useful tools that can be leveraged with verifiable credentials.
The text was updated successfully, but these errors were encountered: