1{
2 "lexicon": 1,
3 "id": "sh.tangled.repo",
4 "needsCbor": true,
5 "needsType": true,
6 "defs": {
7 "main": {
8 "type": "record",
9 "key": "tid",
10 "record": {
11 "type": "object",
12 "required": ["name", "knot", "owner"],
13 "properties": {
14 "name": {
15 "type": "string",
16 "description": "name of the repo"
17 },
18 "owner": {
19 "type": "string",
20 "format": "did"
21 },
22 "knot": {
23 "type": "string",
24 "description": "knot where the repo was created"
25 },
26 "addedAt": {
27 "type": "string",
28 "format": "datetime"
29 },
30 "description": {
31 "type": "string",
32 "format": "datetime",
33 "minLength": 1,
34 "maxLength": 140
35 },
36 "source": {
37 "type": "string",
38 "format": "uri",
39 "description": "source of the repo"
40 }
41 }
42 }
43 }
44 }
45}