{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"EBSI StatusList2021 Credential","description":"Schema of an EBSI StatusList2021 Verifiable Credential","type":"object","allOf":[{"$ref":"https://api-pilot.ebsi.eu/trusted-schemas-registry/v3/schemas/0x23039e6356ea6b703ce672e7cfac0b42765b150f63df78e2bd18ae785787f6a2"},{"properties":{"credentialSubject":{"description":"Defines information about the subject that is described by the Verifiable Attestation","type":"object","properties":{"id":{"description":"Defines the DID of the subject that is described by the Verifiable Attestation","type":"string","format":"uri"},"type":{"description":"Defines the Verifiable Credential subject type","type":"string","const":"StatusList2021"},"statusPurpose":{"description":"Purpose of the status entry","type":"string","enum":["revocation","suspension"]},"encodedList":{"description":"Encoded and compressed list of statuses","type":"string"}},"required":["id","type","statusPurpose","encodedList"]}},"required":["credentialSubject"]}]}