ADORSYS-GIS / ADORSYS-GIS/cloud-wallet-ui
DCQL / presentation_definition parsing utilities
- Langage dominant
- TypeScript
- Étoiles
- 0
- Forks
- 0
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
### Description
Implement parsing and credential-matching utilities for Authorization Request query objects. This is pure frontend logic — no backend required.
### Acceptance criteria
- [ ] `parseDcqlQuery(raw)` parses a raw `dcql_query` JSON object into a typed internal representation
- [ ] `matchCredentialsToDcql(credentials, query)` returns which stored credentials satisfy a DCQL query
- [ ] `extractRequestedClaims(credential, query)` returns only the claim paths requested from a given credential
- [ ] All three functions have unit tests covering happy path and edge cases (no match, partial match, unknown format)
- [ ] TypeScript types `DcqlQuery`, `CredentialQuery`, `ClaimsQuery` are added to `src/types/`
### Notes
Start with SD-JWT VC / JSON-based claim path semantics; ISO mdoc support can be deferred.
OID4VP spec ref: §6 (DCQL), §7 (Claims Path Pointer), §7.1 (Semantics for JSON-based credentials).
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.