Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions components/VerifiablePresentationRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,43 @@ components:
"serviceEndpoint":
type: string
description: A URL that can be utilized for interacting with the service for the purposes of responding to the Verifiable Presentation Request.
Comment thread
eric-schuh marked this conversation as resolved.
Outdated
"credentialOffer":
type: array
description: An optional parameter that informs a recipient which potential VCs might be issued if the VPR is responded to. This can also be used by a responder o provide their own VPR with preferencial constraints as to which VC(s) they would prefer to receive.
Comment thread
eric-schuh marked this conversation as resolved.
Outdated
items:
type: object
properties:
"mediaType":
type: string
description: The media type of the envelope format.
example: [{"mediaType": "application/vc"}]
"credential":
type: object
description: A minimally contextualized set of type information that informs the recipient what is being offered.
properties:
"@context":
type: array
description: The JSON-LD context of the credential.
items:
type: string
"type":
type: array
description: The JSON-LD type of the credential.
items:
type: string
"proof":
type: array
description: Results from verifying the proof objects if any.
Comment thread
eric-schuh marked this conversation as resolved.
Outdated
items:
type: object
description: Information about what proofs are used by the VC being described.
Comment thread
eric-schuh marked this conversation as resolved.
Outdated
properties:
"type":
type: string
description: The type of proof that will be used.
"cryptosuite":
type: string
description: The cryptosuite used by the proof.
example:
{
"query": [{
Expand Down Expand Up @@ -126,6 +163,20 @@ components:
}],
"challenge": "3182bdea-63d9-11ea-b6de-3b7c1404d57f",
"domain": "edu.example",
"credentialOffer": [{
"mediaType": "application/vc",
"credential": {
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://www.w3.org/ns/credentials/examples/v2"
],
"type": "ExampleAlumniCredential",
"proof": [{
"type": "DataIntegrityProof",
"cryptosuite": "bbs-2023"
}]
}
}],
"interact": {
"service": [{
"type": "UnmediatedPresentationService2021",
Expand Down
Loading