SupportedCredentialFormatDefinition

@Serializable
data class SupportedCredentialFormatDefinition(val types: Collection<String>? = null, val credentialSubject: Map<String, CredentialSubjectMetadataSingle>? = null, val claims: Map<String, RequestedCredentialClaimSpecification>? = null)(source)

OID4VCI: W3C VC: REQUIRED. Object containing the detailed description of the Credential type. It consists of at least the following two parameters: type, credentialSubject`.

Constructors

Link copied to clipboard
constructor(types: Collection<String>? = null, credentialSubject: Map<String, CredentialSubjectMetadataSingle>? = null, claims: Map<String, RequestedCredentialClaimSpecification>? = null)

Properties

Link copied to clipboard
@SerialName(value = "claims")
val claims: Map<String, RequestedCredentialClaimSpecification>? = null
Link copied to clipboard
@SerialName(value = "credentialSubject")
val credentialSubject: Map<String, CredentialSubjectMetadataSingle>? = null

OID4VCI: W3C VC: OPTIONAL. Object containing a list of name/value pairs, where each name identifies a claim offered in the Credential. The value can be another such object (nested data structures), or an array of such objects

Link copied to clipboard
@SerialName(value = "type")
val types: Collection<String>? = null

OID4VCI: W3C VC: REQUIRED. JSON array designating the types a certain credential type supports according to (VC_DATA), Section 4.3, e.g. VerifiableCredential, UniversityDegreeCredential