Monorepo for Tangled
1{
2 "lexicon": 1,
3 "id": "sh.tangled.repo.artifact",
4 "needsCbor": true,
5 "needsType": true,
6 "defs": {
7 "main": {
8 "type": "record",
9 "key": "tid",
10 "record": {
11 "type": "object",
12 "required": [
13 "name",
14 "tag",
15 "createdAt",
16 "artifact"
17 ],
18 "properties": {
19 "name": {
20 "type": "string",
21 "description": "name of the artifact"
22 },
23 "repo": {
24 "type": "string",
25 "format": "at-uri",
26 "description": "repo that this artifact is being uploaded to"
27 },
28 "repoDid": {
29 "type": "string",
30 "format": "did"
31 },
32 "tag": {
33 "type": "bytes",
34 "description": "hash of the tag object that this artifact is attached to (only annotated tags are supported)",
35 "minLength": 20,
36 "maxLength": 20
37 },
38 "createdAt": {
39 "type": "string",
40 "format": "datetime",
41 "description": "time of creation of this artifact"
42 },
43 "artifact": {
44 "type": "blob",
45 "description": "the artifact",
46 "accept": [
47 "*/*"
48 ],
49 "maxSize": 52428800
50 }
51 }
52 }
53 }
54 }
55}