Avatar
Forkbomb BV [Andrea]

Capture Verifier EUDIW PID dc+sd-jwt DC_API

Use case verification

Description:

Capture Verifier EUDIW PID dc+sd-jwt

QR code:

Processing YAML configuration...

Workflow YAML:

		version: "1.0"
name: Eudiw web verifier
env:
  host: https://capture-wallet.credimi.io/openid4vp/sessions
tests:
  get-deeplink:
    steps:
      - name: Presentations
        http:
          method: POST
          url: ${{ env.host }}
          headers:
            Content-Type: application/json
          json:
            response_mode: dc_api.jwt
            presentation_request:
              nonce: ${{ string.uuid | fake }}
              dcql_query:
                credentials:
                  - id: query_0
                    format: dc+sd-jwt
                    meta:
                      vct_values:
                        - urn:eudi:pid:1
                    claims:
                      - path:
                        - address
                        - country
                      - path:
                        - address
                        - formatted
                      - path:
                        - address
                        - house_number
                      - path:
                        - address
                        - locality
                      - path:
                        - address
                        - postal_code
                      - path:
                        - address
                        - region
                      - path:
                        - address
                        - street_address
                      - path:
                        - birth_family_name
                      - path:
                        - birth_given_name
                      - path:
                        - birthdate
                      - path:
                        - date_of_expiry
                      - path:
                        - date_of_issuance
                      - path:
                        - document_number
                      - path:
                        - email
                      - path:
                        - family_name
                      - path:
                        - given_name
                      - path:
                        - issuing_authority
                      - path:
                        - issuing_country
                      - path:
                        - issuing_jurisdiction
                      - path:
                        - nationalities
                      - path:
                        - personal_administrative_number
                      - path:
                        - phone_number
                      - path:
                        - picture
                      - path:
                        - place_of_birth
                      - path:
                        - sex
          check:
            status: /^20/
          captures:
            deeplink:
              jsonpath: $.deeplink
            session_id:
              jsonpath: $.session_id

		

DCQL Query:

		{
  "dcql_query": {
    "credentials": [
      {
        "id": "query_0",
        "format": "dc+sd-jwt",
        "meta": {
          "vct_values": [
            "urn:eudi:pid:1"
          ]
        },
        "claims": [
          {
            "path": [
              "address",
              "country"
            ]
          },
          {
            "path": [
              "address",
              "formatted"
            ]
          },
          {
            "path": [
              "address",
              "house_number"
            ]
          },
          {
            "path": [
              "address",
              "locality"
            ]
          },
          {
            "path": [
              "address",
              "postal_code"
            ]
          },
          {
            "path": [
              "address",
              "region"
            ]
          },
          {
            "path": [
              "address",
              "street_address"
            ]
          },
          {
            "path": [
              "birth_family_name"
            ]
          },
          {
            "path": [
              "birth_given_name"
            ]
          },
          {
            "path": [
              "birthdate"
            ]
          },
          {
            "path": [
              "date_of_expiry"
            ]
          },
          {
            "path": [
              "date_of_issuance"
            ]
          },
          {
            "path": [
              "document_number"
            ]
          },
          {
            "path": [
              "email"
            ]
          },
          {
            "path": [
              "family_name"
            ]
          },
          {
            "path": [
              "given_name"
            ]
          },
          {
            "path": [
              "issuing_authority"
            ]
          },
          {
            "path": [
              "issuing_country"
            ]
          },
          {
            "path": [
              "issuing_jurisdiction"
            ]
          },
          {
            "path": [
              "nationalities"
            ]
          },
          {
            "path": [
              "personal_administrative_number"
            ]
          },
          {
            "path": [
              "phone_number"
            ]
          },
          {
            "path": [
              "picture"
            ]
          },
          {
            "path": [
              "place_of_birth"
            ]
          },
          {
            "path": [
              "sex"
            ]
          }
        ]
      }
    ]
  }
}
		
enites-esdedapt-brfr