-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfact-signature.json
45 lines (45 loc) · 1.45 KB
/
fact-signature.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$id": "https://schema.brickchain.com/v2/fact-signature.json",
"title": "Fact Signature",
"description": "A Fact Signature document is an attachment to a Fact that allows a Fact to have multiple signatures.",
"type": "object",
"properties": {
"certificate": {
"type": "string",
"description": "The certificate from the issuing realm."
},
"timestamp": {
"type": "string",
"format": "date-time",
"description": "The date and time of the issued fact signature."
},
"expires": {
"type": "string",
"format": "date-time",
"description": "The date and time of when this fact signature expires."
},
"subject": {
"type": "object",
"description": "The subject the signature is issued for as a JWK"
},
"hash": {
"type": "string",
"description": "The checksum of the fact that this fact signature covers."
},
"metadata": {
"type": "object",
"properties": {
".*": {
"type": "string"
}
},
"description": "Additional data that a KYC provider can set. Should not contain sensitive information."
}
},
"required": [
"subject",
"hash",
"timestamp"
]
}