AtomicAttribute2023

@Serializable
@SerialName(value = "AtomicAttribute2023")
data class AtomicAttribute2023(val id: String, val name: String, val value: String, val mimeType: String) : CredentialSubject

VC spec leaves the representation of a single credential open to implementations. We decided to make a "generic" one, i.e. with custom name, value and mimeType.

Constructors

Link copied to clipboard
constructor(id: String, name: String, value: String)
constructor(id: String, name: String, value: String, mimeType: String)

Properties

Link copied to clipboard
open override val id: String

This is the subjectId of the credential

Link copied to clipboard
@SerialName(value = "mime-type")
val mimeType: String
Link copied to clipboard
@SerialName(value = "name")
val name: String
Link copied to clipboard
@SerialName(value = "value")
val value: String