-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
75 changes: 75 additions & 0 deletions
75
data/presentation_definition_alliance_and_education_Id.json
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,75 @@ | ||
{ | ||
"id": "multi-credential-request", | ||
"name": "Multi-Credential Request", | ||
"format": { | ||
"jwt_vc": { | ||
"alg": ["ES256", "ES384"] | ||
} | ||
}, | ||
"input_descriptors": [ | ||
{ | ||
"id": "alliance-id-credential", | ||
"name": "Alliance ID Credential", | ||
"format": { | ||
"jwt_vc": { | ||
"alg": ["ES256", "ES384"] | ||
} | ||
}, | ||
"constraints": { | ||
"fields": [ | ||
{ | ||
"path": ["$.credentialSubject.identifier.id", "$.vc.credentialSubject.identifier.id"], | ||
"purpose": "We need to verify your Alliance ID credential." | ||
} | ||
] | ||
}, | ||
"limit_disclosure": "required" | ||
}, | ||
{ | ||
"id": "educational-id-credential", | ||
"name": "Educational ID Credential", | ||
"format": { | ||
"jwt_vc": { | ||
"alg": ["ES256", "ES384"] | ||
} | ||
}, | ||
"constraints": { | ||
"fields": [ | ||
{ | ||
"path": ["$.credentialSubject.schacPersonalUniqueID", "$.vc.credentialSubject.schacPersonalUniqueID"], | ||
"purpose": "We need to verify your Educational ID credential." | ||
}, | ||
{ | ||
"path": ["$.credentialSubject.schacHomeOrganization", "$.vc.credentialSubject.schacHomeOrganization"], | ||
"purpose": "We need to verify your Educational ID credential." | ||
}, | ||
{ | ||
"path": ["$.credentialSubject.familyName", "$.vc.credentialSubject.familyName"], | ||
"purpose": "We need to verify your Educational ID credential." | ||
}, | ||
{ | ||
"path": ["$.credentialSubject.firstName", "$.vc.credentialSubject.firstName"], | ||
"purpose": "We need to verify your Educational ID credential." | ||
}, | ||
{ | ||
"path": ["$.credentialSubject.dateOfBirth", "$.vc.credentialSubject.dateOfBirth"], | ||
"purpose": "We need to verify your Educational ID credential." | ||
}, | ||
{ | ||
"path": ["$.credentialSubject.eduPersonPrincipalName", "$.vc.credentialSubject.eduPersonPrincipalName"], | ||
"purpose": "We need to verify your Educational ID credential." | ||
}, | ||
{ | ||
"path": ["$.credentialSubject.eduPersonPrimaryAffiliation", "$.vc.credentialSubject.eduPersonPrimaryAffiliation"], | ||
"purpose": "We need to verify your Educational ID credential." | ||
}, | ||
{ | ||
"path": ["$.credentialSubject.eduPersonAffiliation", "$.vc.credentialSubject.eduPersonAffiliation"], | ||
"purpose": "We need to verify your Educational ID credential." | ||
} | ||
] | ||
}, | ||
"limit_disclosure": "required" | ||
} | ||
] | ||
} |
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