commit 1bb77bee12268b5102f1dfa5ab7ad065cf83c3b4
parent 6284308f329ba7972df11fab973263125e0c0f25
Author: Henrique Chan Carvalho Machado <henriqueccmachado@tecnico.ulisboa.pt>
Date: Mon, 27 Oct 2025 21:28:47 +0100
swiyu-verifier api_requests: added dcql query
Diffstat:
1 file changed, 65 insertions(+), 0 deletions(-)
diff --git a/swiyu-verifier/api_requests/request_over_18_dcql.json b/swiyu-verifier/api_requests/request_over_18_dcql.json
@@ -0,0 +1,65 @@
+{
+ "jwt_secured_authorization_request": true,
+ "response_mode": "direct_post",
+ "response_type": "vp_token",
+ "presentation_definition": {
+ "id": "00000000-0000-0000-0000-000000000000",
+ "name": "Over 18 Verification",
+ "purpose": "Verify age is over 18",
+ "input_descriptors": [
+ {
+ "id": "11111111-1111-1111-1111-111111111111",
+ "format": {
+ "vc+sd-jwt": {
+ "sd-jwt_alg_values": [
+ "ES256"
+ ],
+ "kb-jwt_alg_values": [
+ "ES256"
+ ]
+ }
+ },
+ "constraints": {
+ "fields": [
+ {
+ "path": [
+ "$.vct"
+ ],
+ "filter": {
+ "type": "string",
+ "const": "betaid-sdjwt"
+ }
+ },
+ {
+ "path": [
+ "$.age_over_18"
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "dcql_query": {
+ "credentials": [
+ {
+ "id": "age_verification_credential",
+ "format": "dc+sd-jwt",
+ "meta": {
+ "vct_values": [
+ "betaid-sdjwt"
+ ]
+ },
+ "claims": [
+ {
+ "path": [
+ "age_over_18"
+ ]
+ }
+ ],
+ "require_cryptographic_holder_binding": true
+ }
+ ]
+ },
+ "configuration_override": {}
+}