-
Notifications
You must be signed in to change notification settings - Fork 21
Description
(I will be happy to produce a PR with these changes, but prefer to get some feedbacks first.)
Reading through the text, and comparing it with the current vocabulary, I would want to propose the following improvements to the latter, to make it as close as possible to the spec text:
-
BitstringStatusListEntryis a subclass ofcred:CredentialStatus.The
credvocabulary defines thecredentialStatusproperty, whose range iscred:CredentialStatus; better make this statement here to clarify things. -
statusListCredentialrange isBitStringStatusListCredential. -
BitStringStatusListCredentialis a subclass ofcred:VerifiableCredential -
statusReferencerange is a URL (i.e., it is anObjectProperty) -
statusSizerange isxsd:positiveInteger -
The messaging part was also incorrect imho. The proper structure is:
- Introduce a (new) class, say,
BitstringStatusMessage - the range of
statusMessageisBitstringStatusMessage - the domain of
statusandmessageisBitstringStatusMessage
- Introduce a (new) class, say,
I was also wondering about the range of cs:statusListIndex which currently says it must be an integer encoded in a string based on 10. Why wouldn't a range xsd:nonNegativeInteger work here? Why this specific text in the spec?
I am also wondering whether it is worth adding a diagram for the vocabulary, just like we have for VC and DI. WDYT?
cc @dlongley
(Edited by adding the item no. 6 above)