{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"EBSI Verifiable Attestation","description":"Schema of an EBSI Verifiable Attestation","type":"object","properties":{"@context":{"description":"Defines semantic context of the Verifiable Attestation","type":"array","items":{"type":"string","format":"uri"}},"id":{"description":"Defines unique identifier of the Verifiable Attestation","type":"string","format":"uri"},"type":{"description":"Defines the Verifiable Credential type","type":"array","items":{"type":"string"}},"issuer":{"description":"Defines the issuer of the Verifiable Attestation","type":"string","format":"uri"},"issuanceDate":{"description":"Defines the date and time, when the Verifiable Attestation becomes valid","type":"string","format":"date-time"},"issued":{"description":"Defines when the Verifiable Attestation was issued","type":"string","format":"date-time"},"validFrom":{"description":"Defines the date and time, when the Verifiable Attestation becomes valid","type":"string","format":"date-time"},"validUntil":{"description":"Defines the date and time, when the Verifiable Attestation expires","type":"string","format":"date-time"},"expirationDate":{"description":"Defines the date and time, when the Verifiable Attestation expires","type":"string","format":"date-time"},"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"}}},"credentialStatus":{"description":"Contains information about how to verify the status of the Verifiable Attestation (via the Revocation and Endorsement Registry, RER)","type":"object","properties":{"id":{"description":"References record in the Revocation and Endorsement Registry (RER) to enable verification of a Verifiable Attestation’s validity","type":"string","format":"uri"},"type":{"description":"Defines the Verifiable Credential status type","type":"string"},"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","type":"string","format":"uri"}},"required":["id","type"]},"credentialSchema":{"description":"Contains information about the credential schema (template) on which the Verifiable Authorisation is based","type":"object","properties":{"id":{"description":"References the credential schema (template) stored on the (relevant) Trusted Schemas Registry (TSR) on which the Verifiable Authorisation is based","type":"string","format":"uri"},"type":{"description":"Defines credential schema type","type":"string","enum":["FullJsonSchemaValidator2021"]}},"required":["id","type"]},"evidence":{"description":"Contains information about the process which resulted in the issuance of the Verifiable Attestation","type":"array","items":{"type":"object","properties":{"id":{"description":"If present, it MUST contain a URL that points to where more information about this instance of evidence can be found.","type":"string"},"type":{"description":"Defines the evidence type","type":"array","items":{"type":"string"}}},"required":["id","type"]}},"proof":{"description":"Contains information about the proof","type":"object","properties":{"type":{"description":"Defines the proof type","type":"string"},"proofPurpose":{"description":"Defines the purpose of the proof","type":"string"},"created":{"description":"Defines the date and time, when the proof has been created","type":"string","format":"date-time"},"verificationMethod":{"description":"Contains information about the verification method / proof mechanisms","type":"string"},"jws":{"description":"Defines the proof value in JWS format","type":"string"}},"required":["type","proofPurpose","created","verificationMethod","jws"]}},"required":["@context","id","type","issuer","issuanceDate","issued","validFrom","credentialSubject","credentialSchema"]}