kych

OAuth 2.0 API for Swiyu to enable Taler integration of Swiyu for KYC (experimental)
Log | Files | Refs

request_over_18.json (1192B)


      1 {
      2   "accepted_issuer_dids": [
      3         "did:tdw:QmPEZPhDFR4nEYSFK5bMnvECqdpf1tPTPJuWs9QrMjCumw:identifier-reg.trust-infra.swiyu-int.admin.ch:api:v1:did:9a5559f0-b81c-4368-a170-e7b4ae424527"
      4   ],
      5   "jwt_secured_authorization_request": true,
      6   "response_mode": "direct_post",
      7   "response_type": "vp_token",
      8   "presentation_definition": {
      9     "id": "00000000-0000-0000-0000-000000000000",
     10     "name": "Over 18 Verification",
     11     "purpose": "Verify age is over 18",
     12     "input_descriptors": [
     13       {
     14         "id": "11111111-1111-1111-1111-111111111111",
     15         "format": {
     16           "vc+sd-jwt": {
     17             "sd-jwt_alg_values": [
     18               "ES256"
     19             ],
     20             "kb-jwt_alg_values": [
     21               "ES256"
     22             ]
     23           }
     24         },
     25         "constraints": {
     26           "fields": [
     27             {
     28               "path": [
     29                 "$.vct"
     30               ],
     31               "filter": {
     32                 "type": "string",
     33                 "const": "betaid-sdjwt"
     34               }
     35             },
     36             {
     37               "path": [
     38                 "$.age_over_18"
     39               ]
     40             }
     41           ]
     42         }
     43       }
     44     ]
     45   },
     46   "configuration_override": {}
     47 }