Add QueryByExample matching and JSON pointer conversion algorithms - #700
Open
PatStLouis wants to merge 2 commits into
Open
Add QueryByExample matching and JSON pointer conversion algorithms#700PatStLouis wants to merge 2 commits into
PatStLouis wants to merge 2 commits into
Conversation
Add normative QueryByExample credential matching (w3c#574) and conversion of example objects to selective-disclosure JSON pointers (w3c#545), using vc-di-ecdsa algorithm style. Fixes @context prefix matching and acceptedIssuers against the current property table. Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Aug 11, 2026
Recurse into maps when matching list elements, and always append /type and /issuer during example-to-pointer conversion so the MUST output bar matches the selectivePointers example. Co-authored-by: Cursor <cursoragent@cursor.com>
Collaborator
Author
|
Follow-up push addressing self-review notes:
|
PatStLouis
marked this pull request as ready for review
August 11, 2026 18:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
credentialQuery(#574).selectivePointersexample (#545).@contextuses ordered prefix matching;acceptedIssuersmatches the current property table (string /{id}/recognizedIn). Supersedes the approach in #624; builds on prior draft work inbparth24-issue-574.Closes #574
Closes #545
Refs #624
Test plan
@contextprefix match andacceptedIssuerscases against implementer expectations / oid4-client.selectivePointersexample (/type,/issuer,/credentialSubject/birthCountry) is clear for VC 2.0 + derive.kezike,ottonomy,PatStLouis).Made with Cursor
💥 Error: 500 Internal Server Error 💥
PR Preview failed to build. (Last tried on Aug 11, 2026, 6:57 PM UTC).
More
PR Preview relies on a number of web services to run. There seems to be an issue with the following one:
🚨 Spec Generator - Spec Generator is the web service used to build bikeshed/ReSpec specs
🔗 Related URL
Error output:
This seems to be an issue with the Spec Generator service. PR Preview doesn't manage this service and so has no control over it. If you've identified an issue with it, you can report the issue to the maintainers of Spec Generator directly. Please be courteous. Thank you!
If you don't have enough information above to solve the error by yourself or if the issue doesn't seem related to Spec Generator, you can file an issue with PR Preview.