Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Bastian <[email protected]>
  • Loading branch information
danielfett and paulbastian authored Oct 22, 2024
1 parent 92f74b7 commit eb353e3
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions openid-4-verifiable-presentations-1_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,8 @@ claims in the requested Credentials.

`claim_sets`:
: OPTIONAL. A non-empty array containing arrays of identifiers for
elements in `claims`. The rules for selecting claims to send are defined in (#selecting_claims).
elements in `claims` that specifies which combinations of `claims` for the Credential are requested.
The rules for selecting claims to send are defined in (#selecting_claims).

Note that multiple Credential Queries in a request MAY request a presentation of the same Credential.

Expand Down Expand Up @@ -748,13 +749,13 @@ and for selecting credentials.

The following rules apply for selecting claims via `claims` and `claim_sets`:

- If `claims` is not provided, the Verifier requests all claims existing
- If `claims` is absent, the Verifier requests all claims existing
in the Credential.
- If `claims` is provided, but `claim_sets` is not provided,
- If `claims` is present, but `claim_sets` is absent,
the Verifier requests all claims listed in `claims`.
- Otherwise, the Verifier requests one combination of the claims listed in
- If both `claims` and `claim_sets` are present, the Verifier requests one combination of the claims listed in
`claim_sets`. The order of the options conveyed in the `claim_sets`
array expresses the Verifiers' preference for what is returned; the Wallet MUST return
array expresses the Verifier's preference for what is returned; the Wallet MUST return
the first option that it can satisfy. If the Wallet cannot satisfy any of the
options, it MUST NOT return any claims.

Expand Down

0 comments on commit eb353e3

Please sign in to comment.