-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathEnvelopedVerifiablePresentation.yml
35 lines (35 loc) · 1.23 KB
/
EnvelopedVerifiablePresentation.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
openapi: 3.0.0
info:
version: "0.0.3-unstable"
title: VC API
description: This is an Experimental Open API Specification for the [VC Data Model](https://www.w3.org/TR/vc-data-model/).
license:
name: W3C Software and Document License
url: http://www.w3.org/Consortium/Legal/copyright-software.
contact:
name: GitHub Source Code
url: https://github.com/w3c-ccg/vc-api
paths:
components:
schemas:
EnvelopedVerifiablePresentation:
type: object
description: An object used to express an enveloped verifiable presentation.
properties:
"@context":
type: array
description: The JSON-LD context of the enveloped verifiable presentation.
items:
type: string
"id":
type: string
description: This MUST be a "data:" scheme URL [RFC2397] that expresses a secured verifiable presentation using an enveloping security scheme.
"type":
type: string
description: This MUST be EnvelopedVerifiablePresentation.
example:
{
"@context": "https://www.w3.org/ns/credentials/v2",
"id": "data:application/vp+jwt,eyJraWQiO...zhwGfQ",
"type": "EnvelopedVerifiablePresentation"
}