DocumentAttribute
data class DocumentAttribute(val type: DocumentAttributeType, val identifier: String, val displayName: String, val description: String, val icon: Icon?, val sampleValueMdoc: DataItem?, val sampleValueJson: JsonElement?, val parentAttribute: DocumentAttribute?, val embeddedAttributes: List<DocumentAttribute>)
Class containing the metadata of an attribute/data element/claim of a Document Type
Constructors
Link copied to clipboard
constructor(type: DocumentAttributeType, identifier: String, displayName: String, description: String, icon: Icon?, sampleValueMdoc: DataItem?, sampleValueJson: JsonElement?, parentAttribute: DocumentAttribute?, embeddedAttributes: List<DocumentAttribute>)
Properties
Link copied to clipboard
a description of the attribute.
Link copied to clipboard
the name suitable for display of the attribute.
Link copied to clipboard
attributes embedded in this attribute, only applicable for JSON-based credentials.
Link copied to clipboard
the identifier of this attribute.
Link copied to clipboard
the parent attribute or null
if this is not an embedded attribute.
Link copied to clipboard
a sample value for the attribute for JSON-based credentials, if available.
Link copied to clipboard
a sample value for the attribute for ISO mdoc credentials, if available.
Link copied to clipboard
the datatype of this attribute.