-
Notifications
You must be signed in to change notification settings - Fork 110
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
Add relatedResource
property to VerifiablePresentation
#1370
Changes from all commits
ce9cf15
acc5b0a
1eb2962
bc4edbf
de83559
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,10 +103,10 @@ property: | |
label: Subresource integrity digest | ||
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#defn-digestSRI | ||
range: cred:sriString | ||
see_also: | ||
see_also: | ||
- label: Subresource Integrity Metadata | ||
url: https://www.w3.org/TR/SRI/#the-integrity-attribute | ||
|
||
- id: evidence | ||
label: Evidence | ||
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#defn-evidence | ||
|
@@ -163,7 +163,7 @@ property: | |
|
||
- id: relatedResource | ||
label: Related resource | ||
domain: cred:VerifiableCredential | ||
domain: [cred:VerifiableCredential, cred:VerifiablePresentation] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sry, I meant for this comment to go on "range". Given this points to credentials by URL, which can't you use a Data URI here?
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Because an enveloped credential is far more that just a "related resource". There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it would be concerning to me to use this property to represent jwts/cwts that are transformable to w3c vcs There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @decentralgabe, would you find this mechanism more acceptable? #1379 (preview here) |
||
range: IRI | ||
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#defn-relatedResource | ||
|
||
|
@@ -198,7 +198,7 @@ datatype: | |
label: Datatype for digest SRI values | ||
upper_value: xsd:string | ||
defined_by: https://www.w3.org/TR/vc-data-model-2.0/#the-sristring-datatype | ||
see_also: | ||
see_also: | ||
- label: Subresource Integrity Metadata | ||
url: https://www.w3.org/TR/SRI/#the-integrity-attribute | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
data URIs are IRIs.