Skip to content

Clarification on statusListIndex type #177

@robdefeo

Description

@robdefeo

The spec indicates that statusListIndex is an integer.

The `statusListIndex` property MUST be an arbitrary size integer
greater than or equal to 0, expressed as a string in base 10. The value identifies the
position of the status of the [=verifiable credential=]. Implementations
SHOULD assign indexes randomly, such that inferences — such as the recency
of the assignment or the size of the group — cannot be easily drawn from
that position.

However the examples show it as a string,

"statusListIndex": "94567",

There is an important difference when it comes to creating the verification data

_:c14n1 <https://www.w3.org/ns/credentials/status#statusListIndex> "94567"^^<http://www.w3.org/2001/XMLSchema#integer> .

vs

_:c14n1 <https://www.w3.org/ns/credentials/status#statusListIndex> "94567" .

Acceptance criteria is confirming the correct behaviour and correcting the text or the examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions