Skip to content

Proposed improvement to the official vocabulary #158

@iherman

Description

@iherman

(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:

  1. BitstringStatusListEntry is a subclass of cred:CredentialStatus.

    The cred vocabulary defines the credentialStatus property, whose range is cred:CredentialStatus; better make this statement here to clarify things.

  2. statusListCredential range is BitStringStatusListCredential.

  3. BitStringStatusListCredential is a subclass of cred:VerifiableCredential

  4. statusReference range is a URL (i.e., it is an ObjectProperty)

  5. statusSize range is xsd:positiveInteger

  6. The messaging part was also incorrect imho. The proper structure is:

    1. Introduce a (new) class, say, BitstringStatusMessage
    2. the range of statusMessage is BitstringStatusMessage
    3. the domain of status and message is BitstringStatusMessage

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)

Metadata

Metadata

Assignees

Labels

before-CRThis issue needs to be resolved before the Candidate Recommendation phase.pr exists

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions