igrantio-dcql-credential-setslisted
Install: claude install-skill L3-iGrant/skills
# DCQL: credential sets (identity alternatives)
## Scenario
A verifier needs proof of identity and accepts any one of PID, Passport,
or Photo ID. The wallet presents whichever the holder has; options are
tried in order.
**Before you build**: run the integrator intake in `igrantio-ows-overview` - environment, API key, tenancy, backend host, webhooks, frontend - one question at a time, a recommended default with each.
## The DCQL query
```json
{
"credentials": [
{
"format": "dc+sd-jwt",
"id": "Passport",
"meta": {
"vct_values": [
"Passport"
]
},
"require_cryptographic_holder_binding": true
},
{
"format": "dc+sd-jwt",
"id": "PID",
"meta": {
"vct_values": [
"urn:eu.europa.ec.eudi:pid:1"
]
},
"require_cryptographic_holder_binding": true
},
{
"format": "dc+sd-jwt",
"id": "Photo ID",
"meta": {
"vct_values": [
"eu.europa.ec.eudi.photoid.1"
]
},
"require_cryptographic_holder_binding": true
}
],
"credential_sets": [
{
"options": [
[
"PID"
],
[
"Passport"
],
[
"Photo ID"
]
],
"required": true
}
]
}
```
## Run it on OWS
1. Store as a presentation definition; keep the `presentationDefinitionId`.
2. Send the verification request (v3); QR or DC API.
3. On `presentation_acked` + `verified