The attestation type example in JSON. Notice that selfIssued is a single instance while the others are collections. For examples of how to use the attestation type, see Sample JSON rules definitions in the How-to guides.
rules to map input claims into output claims in the verifiable credential
configuration
string (url)
location of the identity provider's configuration document
clientId
string
client ID to use when obtaining the ID token
redirectUri
string
redirect uri to use when obtaining the ID token; MUST BE vcclient://openid/
scope
string
space delimited list of scopes to use when obtaining the ID token
required
boolean (default false)
indicating whether this attestation is required or not
trustedIssuers
optional string (array)
a list of DIDs allowed to issue the verifiable credential for this contract. This property is only used for specific scenarios where the id_token_hint can come from another issuer
idTokenHintAttestation type
This flow uses the ID Token Hint, which is provided as payload through the Request REST API. The mapping is the same as for the ID Token attestation.
rules to map input claims into output claims in the verifiable credential
required
boolean (default false)
indicating whether this attestation is required or not. Request Service API will fail the call if required claims are not set in the createPresentationRequest payload.
trustedIssuers
optional string (array)
a list of DIDs allowed to issue the verifiable credential for this contract. This property is only used for specific scenarios where the id_token_hint can come from another issuer
verifiablePresentationAttestation type
When you want the user to present another verifiable credential as input for a new issued verifiable credential. The wallet allows the user to select the verifiable credential during issuance.
rules to map input claims into output claims in the verifiable credential
credentialType
string (optional)
required credential type of the input
required
boolean (default false)
indicating whether this attestation is required or not
trustedIssuers
string (array)
a list of DIDs allowed to issue the verifiable credential for this contract. The service defaults to your issuer under the covers so no need to provide this value yourself.
selfIssuedAttestation type
When you want the user to enter information themselves. This type is also called self-attested input.