ADORSYS-GIS / ADORSYS-GIS/cloud-wallet-ui
DCQL / presentation_definition parsing utilities
- 主要語言
- TypeScript
- 星號
- 0
- 分支
- 0
- PR 合併指標
- 30 天內沒有已合併 PR
描述
### 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).
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。