Skip to content

Commit

Permalink
docs: specify result behaviour on empty VP queries (#166)
Browse files Browse the repository at this point in the history
* docs: specify result behaviour on empty VP queries

* Update specifications/verifiable.presentation.protocol.md

Co-authored-by: Jim Marino <[email protected]>

---------

Co-authored-by: Jim Marino <[email protected]>
  • Loading branch information
paullatzelsperger and jimmarino authored Jan 17, 2025
1 parent 9316d42 commit b5b3cb7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions specifications/verifiable.presentation.protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,13 @@ denotes read-only access to the VC identified by `8247b87d-8d72-47e1-8128-9ce47e

### Presentation Response Message

| | |
|--------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Schema** | [JSON Schema](./resources/presentation/presentation-response-message-schema.json) |
| **Required** | - `@context`: Specifies a valid Json-Ld context ([[json-ld11]], sect. 3.1). |
| | - `type`: A string specifying the `PresentationResponseMessage` type. |
| | - `presentation`: An array of [=Verifiable Presentations=]. The [=Verifiable Presentations=] may be strings, JSON objects, or a combination of both depending on the format.</br> |
| **Optional** | - `presentationSubmission`: A valid `Presentation Submission` according to [[presentation-ex]]. |
| | |
|--------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Schema** | [JSON Schema](./resources/presentation/presentation-response-message-schema.json) |
| **Required** | - `@context`: Specifies a valid Json-Ld context ([[json-ld11]], sect. 3.1). |
| | - `type`: A string specifying the `PresentationResponseMessage` type. |
| | - `presentation`: An array of [=Verifiable Presentations=]. The [=Verifiable Presentations=] may be strings, JSON objects, or a combination of both depending on the format. For queries, that yield no results, an empty array MUST be returned.</br> |
| **Optional** | - `presentationSubmission`: A valid `Presentation Submission` according to [[presentation-ex]]. |

A `PresentationResponseMessage` SHOULD only include valid (non-expired, non-revoked, non-suspended) credentials.
The following are non-normative examples of the JSON response body:
Expand Down

0 comments on commit b5b3cb7

Please sign in to comment.