-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmandatetoken.json
31 lines (31 loc) · 1.09 KB
/
mandatetoken.json
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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$id": "https://schema.brickchain.com/v2/mandatetoken.json",
"title": "Mandate Token",
"description": "The Mandate Token is an encapsulated object containing Mandates. Used for inclusion in HTTP headers, when interacting with web views.",
"type": "object",
"allOf": [ { "$ref": "https://schema.brickchain.com/v2/base.json" } ],
"properties": {
"mandates": {
"type": "array",
"items": {
"type": "string",
"description": "Compact JWS encoded Mandate used by the token."
},
"description": "Can be multiple mandates encoded as compact JWS"
},
"uri": {
"type": "string",
"format": "uri",
"description": "The endpoint the client talks to (typically a web view)."
},
"ttl": {
"type": "integer",
"description": "Seconds until expiration after the document was created (timestamp)."
}
},
"required": [
"mandates",
"ttl"
]
}