{ "@type": "https://didcomm.org/present-proof/%VER/request-presentation", "@id": "0ac534c8-98ed-4fe3-8a41-3600775e1e92", "comment": "some comment", "formats" : [{ "attach_id" : "ed7d9b1f-9eed-4bde-b81c-3aa7485cf947", "format" : "dif/presentation-exchange/definitions@v1.0" }], "request_presentations~attach": [{ "@id": "ed7d9b1f-9eed-4bde-b81c-3aa7485cf947", "mime-type": "application/json", "data": { "json": { "challenge": "23516943-1d79-4ebd-8981-623f036365ef", "domain": "us.gov/DriversLicense", "presentation_definitions": { "id": "32f54163-7166-48f1-93d8-ff217bdb0653", "submission_requirements": [ { "name": "Citizenship Information", "rule": "pick", "min": 1, "from": "A" } ], "input_descriptors": [ { "id": "citizenship_input_1", "name": "EU Driver's License", "group": [ "A" ], "schema": [ { "uri": "https://www.w3.org/2018/credentials#VerifiableCredential" } ], "constraints": { "limit_disclosure": "required", "fields": [ { "path": [ "$.credentialSubject.givenName" ], "purpose": "The claim must be from one of the specified issuers", "filter": { "type": "string", "enum": [ "JOHN", "CAI" ] } } ] } } ] } } } }] }