← ClaudeAtlas

igrantio-dcql-multiple-statementslisted

DCQL pattern: request several instances of the SAME credential type in one OpenID4VP verification using multiple: true on the iGrant.io Organisation Wallet Suite - a loan provider collecting six recent BankStatement SD-JWT credentials (period, account number, holder name) in a single flow. Loan applications, income checks, and any multi-instance evidence gathering with EUDI Wallet (EUDIW) under eIDAS 2.0.
L3-iGrant/skills · ★ 0 · AI & Automation · score 73
Install: claude install-skill L3-iGrant/skills
# DCQL: multiple instances of one credential (bank statements) ## Scenario A loan provider assesses an application and needs six recent `BankStatement` credentials. `multiple: true` lets the wallet return several instances of the same credential type in one presentation. **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": [ { "id": "bank_statement", "format": "dc+sd-jwt", "multiple": true, "meta": { "vct_values": [ "https://credentials.bank.com/bank_statement" ] }, "claims": [ { "id": "statement_period", "path": ["period"] }, { "id": "account_number", "path": ["account_number"] }, { "id": "account_holder_name", "path": ["account_holder_name"] } ], "claim_sets": [ ["statement_period", "account_number", "account_holder_name"] ] } ] } ``` ## Run it on OWS 1. Store as a presentation definition; send the verification request (v3). 2. On `presentation_acked` + `verified === true`, `vpTokenResponse` / `presentation` carry SEVERAL entries for the one query id - iterate all of them, do not read only `presentation[0]`. 3. Validate business rules server-side: count received, contiguous `period` values, same `account_number` across instances. ## Adjust for your dep