Closed iherman closed 7 months ago
Note to myself/ourselves: if this PR is approved in such a way that the xsd:positiveInteger
is used as the range of statusSize
, then the crdential context file must be updated as well. At the moment, it says (in line 214-215)
"statusReference": "https://www.w3.org/ns/credentials/status#statusReference",
"statusSize": "https://www.w3.org/ns/credentials/status#statusSize",
this should be changed to
"statusReference" : {
"@id" : "https://www.w3.org/ns/credentials/status#statusReference",
"@type" : "@id"
},
"statusSize": {
"@id" : "https://www.w3.org/ns/credentials/status#statusSize",
"@type": "https://www.w3.org/2001/XMLSchema#positiveInteger"
}
cc @dlongley @msporny @davidlehn
Would xsd:nonNegativeInteger
be more appropriate than xsd:positiveInteger
, i.e., could the value of statusSize
ever be 0
?
Would xsd:nonNegativeInteger be more appropriate than xsd:positiveInteger, i.e., could the value of statusSize ever be 0?
The specification says:
If statusSize is not present as a property of the credentialStatus, then statusSize MUST be processed as 1. statusSize MUST be an integer greater than zero.
I am just a go-between 😀
The issue was discussed in a meeting on 2024-04-03
Editorial, multiple positive reviews, questions asked were answered, no changes requested, no objections, merging.
For the record, https://github.com/w3c/vc-data-model/pull/1471 has been raised to complete the changes described in https://github.com/w3c/vc-bitstring-status-list/pull/159#issuecomment-2027965995.
This PR implements the changes proposed in #158, adds a diagram (with its textual description) to the generated HTML+RDFa file to be in line in style with the other vocabularies.
As usual, the built-in preview would not help for the generated vocabulary files and the diagrams. The preview page to be used is here: https://w3c.github.io/yml2vocab/previews/sl/