Skip to main content

MDocClaimPathInput

Input for specifying an mDoc claim path.

input MDocClaimPathInput {
intentToRetain: Boolean
path: [String!]!
useForIdentity: Boolean
}

Fields

MDocClaimPathInput.intentToRetain ● Boolean scalar

Optional flag indicating whether the verifier intends to retain the claim data. When true, signals to the wallet that the verifier plans to store this claim.

MDocClaimPathInput.path ● [String!]! non-null scalar

The path to the claim in the mDoc (e.g., ["org.iso.18013.5.1", "family_name"]). The first element is typically the namespace, and the second is the claim name.

MDocClaimPathInput.useForIdentity ● Boolean scalar

Optional flag indicating whether this claim should be used for identity creation/lookup. When true, this claim's value will be included in the hash used to create or find an identity. The identity will be created/found during processMDocPresentationResponse using:

  • identifier: hash of all claims marked with useForIdentity=true (sorted by path)
  • issuer: the docType of the presentation

Member Of

MDocPresentationRequestInput input