CredentialSubjectMetadataSingle

@Serializable
data class CredentialSubjectMetadataSingle(val mandatory: Boolean? = null, val valueType: String? = null, val display: Set<DisplayProperties>? = null)(source)

OID4VCI: W3C VC: To express the specifics about the claim, the most deeply nested value MAY be an object that includes the following parameters defined by this specification (other parameters MAY also be used).

Constructors

Link copied to clipboard
constructor(mandatory: Boolean? = null, valueType: String? = null, display: Set<DisplayProperties>? = null)

Properties

Link copied to clipboard
@SerialName(value = "display")
val display: Set<DisplayProperties>? = null

OID4VCI: OPTIONAL. An array of objects, where each object contains display properties of a certain claim in the Credential for a certain language.

Link copied to clipboard
@SerialName(value = "mandatory")
val mandatory: Boolean? = null

OID4VCI: OPTIONAL. Boolean which when set to true indicates the claim MUST be present in the issued Credential. If the mandatory property is omitted its default should be assumed to be false.

Link copied to clipboard
@SerialName(value = "value_type")
val valueType: String? = null

OID4VCI: OPTIONAL. String value determining type of value of the claim. A non-exhaustive list of valid values defined by this specification are string, number, and image media types such as image/jpeg as defined in IANA media type registry for images (https://www.iana.org/assignments/media-types/media-types.xhtml#image).