w3c / vc-data-integrity

W3C Data Integrity Specification
https://w3c.github.io/vc-data-integrity/
Other
42 stars 18 forks source link

Change proof id from URL to URI to better match examples. #100

Closed aljones15 closed 1 year ago

aljones15 commented 1 year ago

This is a draft as it might be incorrect. Currently the specification has an error in an example:

An optional identifier for the proof, which MUST be a URL [URL], such as a UUID as a URN (urn:uuid:6a1676b8-b51f-11ed-937b-d76685a20ff5). The usage of this property is further explained in Section 2.1.2 Proof Chains

A URN is not a URL as defined here: https://datatracker.ietf.org/doc/html/rfc3986

So I changed the optional proof id to be a URI. I'm not sure if URI is auto-populated as normative reference by whatever library auto-populates the references.


Preview | Diff

aljones15 commented 1 year ago

closing as apparently a urn is a url now.