Closed mprorock closed 8 months ago
The issue was discussed in a meeting on 2023-07-05
@iherman perhaps you can assist?
The issue was discussed in a meeting on 2023-08-30
Oops. Coming back from my short holidays, I took the various new issues/comments in a fairly random order... I have run into the same issue while answering another issue, see https://github.com/w3c/vc-data-model/issues/1265#issuecomment-1705009825.
TL;DR: I believe the vocabulary misses two properties:
digestSRI
's domain is any Resource (but not a BNode), range is, at first approximation,xsd:string
(ideally, a datatype that describes exactly what the value looks like).mediaType
's domain is any Resource (but not a BNode), range is, at first approximation,xsd:string
(ideally, a datatype that describes exactly the media type string).These two properties are not only missing from the vocabulary, but also missing from the context!
Note that, for the
mediaType
, an alternative would be to use the termencodingFormat
instead, referring to http://schema.org/encodingFormat. Do not reinvent the wheel, and all that... That would mean just add an entry to the context file, and this property is oblivious to the vocabulary.
Do I understand the question right, @mprorock @OR13 ?
Yep, the need to be added to both, I would do best effort on domain and range, but he key part is that they appear in the context, or they won't benefit the core data models semantics value proposition.
Looks like these things exist now:
https://www.w3.org/2018/credentials/#relatedResource https://www.w3.org/2018/credentials/#digestSRI https://www.w3.org/2018/credentials/#sriString https://schema.org/encodingFormat
Closing.
per pr w3c/vc-data-model#1140 need
resourceIntegrity
in the the right spots in vocab, etc.@OR13 for more color commentary if needed