This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 160
refactor: disabled JSON-LD checks for VPs with JWT VCs by default #3540
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
pkg/doc/verifiable/testdata/validPresentationWithJWTVC.jsonld
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"@context":[ | ||
"https://www.w3.org/2018/credentials/v1", | ||
"https://identity.foundation/presentation-exchange/submission/v1" | ||
], | ||
"presentation_submission":{ | ||
"id":"0137f0ec-6676-4123-a374-4cc3a4262458", | ||
"definition_id":"32f54163-7166-48f1-93d8-ff217bdb0153", | ||
"descriptor_map":[ | ||
{ | ||
"id":"VerifiedEmployee", | ||
"format":"jwt_vp", | ||
"path":"$", | ||
"path_nested":{ | ||
"id":"VerifiedEmployee", | ||
"format":"jwt_vc", | ||
"path":"$.verifiableCredential[0]" | ||
} | ||
} | ||
] | ||
}, | ||
"type":[ | ||
"VerifiablePresentation", | ||
"PresentationSubmission" | ||
], | ||
"verifiableCredential":[ | ||
"eyJhbGciOiJFUzI1NksiLCJraWQiOiJkaWQ6b3JiOnVBQUE6RWlEVHhIVzBuUXljYU04ZmNmNG42YmxSa0VNM2VaYWV0dEtuT2VjSFpVU1BKdyMxNDE0YTZjMy02N2MzLTRlNDItYmY1Ny00OTAwNTUwZDc3YjI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c3N1YW5jZURhdGUiOiIyMDIzLTAyLTI0VDIwOjUzOjMxWiIsImlzc3VlciI6eyJpZCI6ImRpZDpvcmI6dUFBQTpFaURUeEhXMG5ReWNhTThmY2Y0bjZibFJrRU0zZVphZXR0S25PZWNIWlVTUEp3IiwibmFtZSI6IkJhbmsgSXNzdWVyIn0sInR5cGUiOlsiVmVyaWZpYWJsZUNyZWRlbnRpYWwiLCJWZXJpZmllZEVtcGxveWVlIl19fQ.ZrxhchIBHyy1_b1J7TTkAmMEj97E4kPFIWJe__P5RipijjPIrMwtBpw1yz3W89f2PBNc4JNmepHyRmqP39Je3g" | ||
] | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please specify in comments atleast, what you mean by JSON LD checks, is it JSON LD Schema Validation?