{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"EBSI type extension for use of StatusList2021","description":"Defines revocation details for an issued Verifiable Credential","type":"object","properties":{"credentialStatus":{"description":"Contains information about how to verify the status of the Verifiable Attestation","type":"object","properties":{"id":{"description":"References the unique URI of the status","type":"string","format":"uri"},"type":{"description":"Defines the Verifiable Credential status type","type":"string","const":"StatusList2021Entry"},"statusPurpose":{"description":"Purpose of the status entry","type":"string","enum":["revocation","suspension"]},"statusListIndex":{"description":"Integer expressed as a string. The zero based index value identifies the bit position of the status","type":"string"},"statusListCredential":{"description":"URL referencing the StatusList2021Credential containing the index","type":"string","format":"uri"}},"required":["id","type","statusListIndex","statusListCredential"]}}}