forked from trustbloc/adapter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [WACI-Issuance] Support to pass credential output descriptors
closes trustbloc#561 Signed-off-by: talwinder50 <[email protected]>
- Loading branch information
1 parent
5d5deae
commit 07943e7
Showing
12 changed files
with
465 additions
and
628 deletions.
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
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
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,72 @@ | ||
{ | ||
"udc-scope-1": [ | ||
{ | ||
"id": "udc_output", | ||
"schema": "https://www.w3.org/2018/credentials/examples/v1", | ||
"display": { | ||
"title": { | ||
"path": [ | ||
"$.title", | ||
"$.vc.title" | ||
], | ||
"schema": { | ||
"type": "string" | ||
}, | ||
"fallback": "Bachelor's Degree" | ||
}, | ||
"subtitle": { | ||
"path": [ | ||
"$.minor", | ||
"$.vc.minor" | ||
], | ||
"schema": { | ||
"type": "string" | ||
}, | ||
"fallback": "" | ||
}, | ||
"description": { | ||
"text": "Awarded for completing a four year program at Example University." | ||
}, | ||
"properties": [ | ||
{ | ||
"path": [ | ||
"$.name", | ||
"$.credentialSubject.name" | ||
], | ||
"schema": { | ||
"type": "string" | ||
}, | ||
"fallback": "Not Applicable", | ||
"label": "Degree Holder's name" | ||
}, | ||
{ | ||
"path": [ | ||
"$.credentialSubject.degree.type" | ||
], | ||
"schema": { | ||
"type": "string" | ||
}, | ||
"fallback": "Unknown", | ||
"label": "Degree" | ||
} | ||
] | ||
}, | ||
"styles": { | ||
"thumbnail": { | ||
"uri": "http://example-university.org/logo.png", | ||
"alt": "Example University logo" | ||
}, | ||
"hero": { | ||
"uri": "http://example-university.org/hero.png", | ||
"alt": "Example University students in graduation ceremony" | ||
}, | ||
"background": { | ||
"color": "#ff0000" | ||
}, | ||
"text": { | ||
"color": "#d4d400" | ||
} | ||
} | ||
} | ||
] | ||
} |
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
Oops, something went wrong.