Closed iherman closed 5 months ago
Believe this should be updated to use the enveloped property.
@decentralgabe:
Believe this should be updated to use the enveloped property.
Yes, but only partially. The definition of the Enveloped Verifiable Credential class (not property) stipulates the usage of a data URI. I.e., the last entry in the example can indeed be changed to:
{
"@context": "https://www.w3.org/ns/credentials/v2",
"id" : "data:application/vc+ld+json+sd-jwt;…",
"type": "EnvelopedVerifiableCredential"
}
But I am afraid there is no standard way to express the preceding URLs in the example.
Example 24 uses the
verifiableCredential
property to refer to several credentials. However, the formal definition of this property says:(Emphasis is mine.). In other words, these lines of the example:
are all forbidden per the VCDM spec and must be removed. (Or exchanged for a bona fide JSON object for another credential.)