SupportedCredentialFormatDefinition

@Serializable
data class SupportedCredentialFormatDefinition(val types: Set<String>? = null, val credentialSubject: Map<String, CredentialSubjectMetadataSingle>? = 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: Set<String>? = null, credentialSubject: Map<String, CredentialSubjectMetadataSingle>? = null)

Properties

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: Set<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