From 465d9d2555d07996d406bad595685286a148be92 Mon Sep 17 00:00:00 2001 From: Nemanja Patrnogic Date: Wed, 29 May 2024 02:02:48 +0200 Subject: [PATCH] make path_nested path relative in the presentation submission example Signed-off-by: Nemanja Patrnogic --- .../presentation_submission_multiple_vps.json | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/examples/response/presentation_submission_multiple_vps.json b/examples/response/presentation_submission_multiple_vps.json index 0b647063..60b205c0 100644 --- a/examples/response/presentation_submission_multiple_vps.json +++ b/examples/response/presentation_submission_multiple_vps.json @@ -1,24 +1,24 @@ { - "id": "Presentation example 2", - "definition_id": "Example with multiple VPs", - "descriptor_map": [ - { - "id": "ID Card with constraints", - "format": "ldp_vp", - "path": "$[0]", - "path_nested": { - "format": "ldp_vc", - "path": "$[0].verifiableCredential[0]" - } - }, - { - "id": "Ontario Health Insurance Plan", - "format": "jwt_vp_json", - "path": "$[1]", - "path_nested": { - "format": "jwt_vc_json", - "path": "$[1].vp.verifiableCredential[0]" - } - } - ] -} \ No newline at end of file + "id": "Presentation example 2", + "definition_id": "Example with multiple VPs", + "descriptor_map": [ + { + "id": "ID Card with constraints", + "format": "ldp_vp", + "path": "$[0]", + "path_nested": { + "format": "ldp_vc", + "path": "$.verifiableCredential[0]" + } + }, + { + "id": "Ontario Health Insurance Plan", + "format": "jwt_vp_json", + "path": "$[1]", + "path_nested": { + "format": "jwt_vc_json", + "path": "$.vp.verifiableCredential[0]" + } + } + ] +}