Closed msporny closed 6 months ago
@msporny this requires a change on the vocabulary as well, including a change in the vocabulary diagram. Do you prefer I do a modifiation on this branch directly (ie, adding the necessary changes) or should I do a separate PR on top of this branch? The former might be more efficient...
@iherman wrote:
Do you prefer I do a modifiation on this branch directly (ie, adding the necessary changes)
Yes, please. Thank you!
@iherman wrote:
Do you prefer I do a modifiation on this branch directly (ie, adding the necessary changes)
Yes, please. Thank you!
Done in https://github.com/w3c/vc-data-model/pull/1453/commits/43ed6e7d22344884221974fe1b9194a61f5378a4
Non blocking comment here:
The @context
configuration controls how edges form between credentials and the presentation.
In the case that JSON-LD extensibility mechanisms of the presentation object are used, implementers may want to do custom RDF processing to maintain associations between a single outer presentation and inner credentials.
In those cases, the RDF context defined in the spec does not actually control how the information graph grows.
The issue was discussed in a meeting on 2024-03-06
@OR13 wrote:
In the case that JSON-LD extensibility mechanisms of the presentation object are used, implementers may want to do custom RDF processing to maintain associations between a single outer presentation and inner credentials.
I added some wording to highlight your concern in 2cf9040fa2a657c6ecdd74e37c9ecbdf1e664169.
In those cases, the RDF context defined in the spec does not actually control how the information graph grows.
Debatable; an implementation might want it the @context
to apply, or it might decide to not propagate it into the referenced object.
Given that this feature is largely meant to just encapsulate a VP encoded in just about any media type, and most of those media types won't really care about the RDF-ness of the outer-most object, it's probably fine to just stay silent on this point until the next round of the VC spec. We'd want to gather implementation experience of what people do with this before we provide more specific guidance (if that becomes necessary).
Normative, multiple reviews, changes requested and made, no objections, merging.
This PR is an attempt to address issue #1431 by adding a way of expressing an enveloped verifiable presentation.
/cc @christophera
Preview | Diff