Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/query_lang/claims_alternatives.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"vct_values": [ "https://credentials.example.com/identity_credential" ]
},
"claims": [
{"id": "a", "path": ["last_name"]},
{"id": "a", "path": ["family_name"]},
{"id": "b", "path": ["postal_code"]},
{"id": "c", "path": ["locality"]},
{"id": "d", "path": ["region"]},
Expand All @@ -19,4 +19,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions examples/query_lang/multi_credentials.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
},
"claims": [
{"path": ["org.iso.7367.1", "vehicle_holder"]},
{"path": ["org.iso.18013.5.1", "first_name"]}
{"path": ["org.iso.18013.5.1", "given_name"]}
]
}
]
}
}
6 changes: 3 additions & 3 deletions examples/query_lang/simple.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"vct_values": [ "https://credentials.example.com/identity_credential" ]
},
"claims": [
{"path": ["last_name"]},
{"path": ["first_name"]},
{"path": ["family_name"]},
{"path": ["given_name"]},
{"path": ["address", "street_address"]}
]
}
]
}
}
4 changes: 2 additions & 2 deletions examples/query_lang/simple_mdoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"claims": [
{"path": ["org.iso.7367.1", "vehicle_holder"]},
{"path": ["org.iso.18013.5.1", "first_name"]}
{"path": ["org.iso.18013.5.1", "given_name"]}
]
}
]
}
}
6 changes: 3 additions & 3 deletions examples/query_lang/value_matching_simple.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
},
"claims": [
{
"path": ["last_name"],
"path": ["family_name"],
"values": ["Doe"]
},
{"path": ["first_name"]},
{"path": ["given_name"]},
{"path": ["address", "street_address"]},
{
"path": ["postal_code"],
Expand All @@ -20,4 +20,4 @@
]
}
]
}
}
18 changes: 9 additions & 9 deletions openid-4-verifiable-presentations-1_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,8 @@ Where the contents of the `request` query parameter consist of a base64url-encod
"vct_values": [ "https://credentials.example.com/identity_credential" ]
},
"claims": [
{"path": ["last_name"]},
{"path": ["first_name"]}
{"path": ["family_name"]},
{"path": ["given_name"]}
]
}
]
Expand Down Expand Up @@ -1129,8 +1129,8 @@ claims:

The following is a non-normative example of a DCQL query that requests a
Credential of the format `dc+sd-jwt` with a type value of
`https://credentials.example.com/identity_credential` and the claims `last_name`,
`first_name`, and `address.street_address`:
`https://credentials.example.com/identity_credential` and the claims `family_name`,
`given_name`, and `address.street_address`:

<{{examples/query_lang/simple.json}}

Expand Down Expand Up @@ -1337,8 +1337,8 @@ a few public keys for encryption in the `jwks` member of the `client_metadata` r
"vct_values": ["https://credentials.example.com/identity_credential"]
},
"claims": [
{"path": ["last_name"]},
{"path": ["first_name"]},
{"path": ["family_name"]},
{"path": ["given_name"]},
{"path": ["address", "postal_code"]}
]
}
Expand Down Expand Up @@ -3290,7 +3290,7 @@ Note: The `nonce` and `aud` are set to the `nonce` of the request and the Client

The following is a non-normative example of a DCQL query that requests a Verifiable
Credential in the format `mso_mdoc` with the claims `vehicle_holder` and
`first_name`:
`given_name`:

<{{examples/query_lang/simple_mdoc.json}}

Expand All @@ -3313,13 +3313,13 @@ come from an mDL or a photoid Credential.

The following is a non-normative example of a DCQL query that requests

- the mandatory claims `last_name` and `date_of_birth`, and
- the mandatory claims `family_name` and `date_of_birth`, and
- either the claim `postal_code`, or, if that is not available, both of the claims `locality` and `region`.

<{{examples/query_lang/claims_alternatives.json}}

The following example shows a query that uses the `values` constraints
to request a Credential with specific values for the `last_name` and `postal_code` claims:
to request a Credential with specific values for the `family_name` and `postal_code` claims:

<{{examples/query_lang/value_matching_simple.json}}

Expand Down