-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathPresentCredentialOptions.yml
46 lines (46 loc) · 1.86 KB
/
PresentCredentialOptions.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
36
37
38
39
40
41
42
43
44
45
46
openapi: 3.0.0
info:
version: "0.0.3-unstable"
title: VC HTTP 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:
PresentCredentialOptions:
type: object
additionalProperties: false
description: Options for specifying how the LinkedDataProof is created.
properties:
type:
type: string
description: The type of the proof. Default is an appropriate proof type corresponding to the verification method.
verificationMethod:
type: string
description: The URI of the verificationMethod used for the proof. If omitted, a default verification method will be used.
proofPurpose:
type: string
description: The purpose of the proof. Default 'assertionMethod'.
created:
type: string
description: The date and time of the proof (with a maximum accuracy in seconds). Default current system time.
challenge:
type: string
description: A challenge provided by the requesting party of the proof. For example 6e62f66e-67de-11eb-b490-ef3eeefa55f2
domain:
type: string
description: The intended domain of validity for the proof. For example website.example
example:
{
"type": "Ed25519Signature2018",
"verificationMethod": "did:example:123#z6MksHh7qHWvybLg5QTPPdG2DgEjjduBDArV9EF9mRiRzMBN",
"proofPurpose": "assertionMethod",
"created": "2020-04-02T18:48:36Z",
"domain": "example.com",
"challenge": "d436f0c8-fbd9-4e48-bbb2-55fc5d0920a8",
}