SdJwtTypeMetadata

@Serializable
data class SdJwtTypeMetadata(val verifiableCredentialType: String, val verifiableCredentialTypeIntegrity: String? = null, val name: String? = null, val description: String? = null, val extends: String? = null, val extendsIntegrity: String? = null, val display: Collection<TypeDisplay>? = null, val claims: Collection<Claim>? = null, val schema: JsonElement? = null, val schemaUri: String? = null, val schemaUriIntegrity: String? = null)(source)

Metadata for an SD-JWT VC Type According to SD-JWT-based Verifiable Credentials (SD-JWT VC), Draft 10 .

Constructors

Link copied to clipboard
constructor(verifiableCredentialType: String, verifiableCredentialTypeIntegrity: String? = null, name: String? = null, description: String? = null, extends: String? = null, extendsIntegrity: String? = null, display: Collection<TypeDisplay>? = null, claims: Collection<Claim>? = null, schema: JsonElement? = null, schemaUri: String? = null, schemaUriIntegrity: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "claims")
val claims: Collection<Claim>? = null

OPTIONAL. An array of objects containing claim information for the type,

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

OPTIONAL. A human-readable description for the type, intended for developers reading the JSON document.

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

OPTIONAL. An array of objects containing display information for the type.

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

OPTIONAL. A URI of another type that this type extends

Link copied to clipboard
@SerialName(value = "extends#integrity")
val extendsIntegrity: String? = null

The value MUST be an "integrity metadata" string as defined in Section 3 of W3C.SRI. A Consumer of the respective documents MUST verify the integrity of the retrieved document as defined in Section 3.3.5 of W3C.SRI.

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

OPTIONAL. A human-readable name for the type, intended for developers reading the JSON document.

Link copied to clipboard
@SerialName(value = "schema")
val schema: JsonElement? = null

OPTIONAL. An embedded JSON Schema document describing the structure of the Verifiable Credential. MUST NOT be used if schemaUri is present.

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

OPTIONAL. A URL pointing to a JSON Schema document describing the structure of the Verifiable Credential. MUST NOT be used if schema is present.

Link copied to clipboard
@SerialName(value = "schema_uri#integrity")
val schemaUriIntegrity: String? = null

The value MUST be an "integrity metadata" string as defined in Section 3 of W3C.SRI. A Consumer of the respective documents MUST verify the integrity of the retrieved document as defined in Section 3.3.5 of W3C.SRI.

Link copied to clipboard
@SerialName(value = "vct")
val verifiableCredentialType: String

Not strictly required?

Link copied to clipboard
@SerialName(value = "vct#integrity")
val verifiableCredentialTypeIntegrity: String? = null

The value MUST be an "integrity metadata" string as defined in Section 3 of W3C.SRI. A Consumer of the respective documents MUST verify the integrity of the retrieved document as defined in Section 3.3.5 of W3C.SRI.