The revocable VC must include a credentialStatus
property containing the defaults from the chosen revocation format. Next to the credential's own schema, a second schema should be added to the credentialSchema
property. The extra schema allows the validation of the properties used in the credentialStatus
.
...
"credentialStatus": {
...status_entry_specific_content
}
"credentialSchema": [
{
"id": "https://api-pilot.ebsi.eu/trusted-schemas-registry/v2/schemas/[ORIGINAL_VC_SCHEMA]",
"type": "FullJsonSchemaValidator2021"
},
{
"id": "https://api-pilot.ebsi.eu/trusted-schemas-registry/v2/schemas/[STATUS_ENTRY_SCHEMA]",
"type": "FullJsonSchemaValidator2021"
}
]
StatusList2021Entry
Property of credentialStatus | StatusList2021 |
---|---|
id | Identifier for the status information |
type | Must be "StatusList2021Entry" |
statusPurpose | Must be revocation or suspension |
statusListIndex | Integer expressed as a string. The zero-based index value identifies the bit position of the status |
statusListCredential | URL referencing the StatusList2021Credential |
StatusList2021Entry - Example
CRLBloomFilter2023Entry and DynamicSLBloomFilter2023Entry
Property of credentialStatus | CRL | Dynamic SL |
---|---|---|
id | Identifier for the status information. | Identifier for the status information. |
type | MUST be "CRLBloomFilter2023Entry" | MUST be "DynamicSLBloomFilter2023Entry" |
purpose | MUST be revocation or suspension | MUST be revocation or suspension |
index | Defines the VC revocation id. base64 encoded SHA256 hash of the UTF- 8 encoded vc.id | Defines the VC revocation id. base64 encoded SHA256 hash of the UTF-8 encoded vc.id |
credential | URL referencing the CRLBloomFilter2023Credential | URL referencing the DynamicSLBloomFilter2023Credential |
CRLBloomFilter2023Entry - Example
DynamicSLBloomFilter2023Entry - Example
CRLPlain2023Entry
Attribute | Description |
---|---|
id | Identifier for the status information |
type | Must be "CRLPlain2023Entry" |
purpose | MUST be revocation or suspension |
credential | URL referencing the CRLPlain2023Credential |