Now let's take a silly one
1{
2 "lexicon": 1,
3 "id": "sh.tangled.graph.vouch",
4 "needsCbor": true,
5 "needsType": true,
6 "defs": {
7 "main": {
8 "type": "record",
9 "key": "any",
10 "record": {
11 "type": "object",
12 "required": [
13 "kind",
14 "createdAt"
15 ],
16 "properties": {
17 "kind": {
18 "type": "string",
19 "description": "Whether this user is being vouched for or denounced",
20 "enum": ["vouch", "denounce"],
21 "default": "vouch"
22 },
23 "reason": {
24 "type": "string",
25 "description": "The reason for this vouch/denouncement",
26 "maxGraphemes": 256,
27 "maxLength": 2560
28 },
29 "createdAt": {
30 "type": "string",
31 "format": "datetime"
32 },
33 "evidences": {
34 "type": "array",
35 "description": "Optional list of ATURIs serving as evidence for this vouch (ex. issues, PRs)",
36 "maxLength": 10,
37 "items": {
38 "type": "string",
39 "format": "at-uri"
40 }
41 }
42 }
43 }
44 }
45 }
46}
47