MpzPassClaimMetadata
Represents display and sensitivity metadata for a single claim within an MpzPass container.
Throws
if displayName is empty, if description is non-null and empty, or if type is DocumentAttributeType.StringOptions or DocumentAttributeType.IntegerOptions.
Constructors
Properties
Optional localized descriptions keyed by BCP 47 language tag. If non-null, must contain at least one entry.
Localized display names keyed by BCP 47 language tag (e.g., "en-US", "ja"), or "" for a language-neutral default. Must contain at least one entry.
Optional identifier of the group in MpzPassMetadata.claimGroupsMetadata that this claim belongs to.
Sensitivity classification of the claim; defaults to DocumentAttributeSensitivity.PII.
Claim data type; defaults to DocumentAttributeType.String. Must be one of the 8 base types (DocumentAttributeType.Blob, DocumentAttributeType.String, DocumentAttributeType.Number, DocumentAttributeType.Date, DocumentAttributeType.DateTime, DocumentAttributeType.Picture, DocumentAttributeType.Boolean, or DocumentAttributeType.ComplexType).
Functions
Gets the description of the claim in the language which best matches locales, or null if description is not set.
Gets the display name of the claim in the language which best matches locales.
Serializes this MpzPassClaimMetadata to CBOR bytes.
Serializes this MpzPassClaimMetadata into a CBOR map DataItem.