Files: 0bebd57e201531188e6d1b2b1b4f586d2000fa1b / schemas / contract.json
799 bytesRaw
1 | { |
2 | "key": "...", |
3 | "value": { |
4 | "previous": "...", |
5 | "author": "@MpDd66GPXgN1+eMNrZInHkWq1THMurWwLdMx8BZ1ncw=.ed25519", |
6 | "sequence": "...", |
7 | "timestamp": "...", |
8 | "hash": "sha256", |
9 | "content": { |
10 | "module": "secrets", |
11 | "type": "contract", |
12 | "root": "%qHZCXd0spsGVlEvMrvkZHVtndgYNOHxZFiVZm1+tplA=.sha256", |
13 | "quorum": "2", |
14 | "recps": [ |
15 | { |
16 | "link": "@..,", |
17 | "name": "Alice" |
18 | }, |
19 | { |
20 | "link": "@...", |
21 | "name": "Bob" |
22 | }, |
23 | { |
24 | "link": "@...", |
25 | "name": "Cathy" |
26 | } |
27 | ] |
28 | }, |
29 | "private": true |
30 | } |
31 | } |
32 | |
33 | // recps is optional. |
34 | // A contract is written at the same time as the secrets are produced from accepted responses. |
35 | // recps makes visible all partners in the contract |
36 |
Built with git-ssb-web