forked from
tangled.org/core
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 "repo",
15 "tag",
16 "createdAt",
17 "artifact"
18 ],
19 "properties": {
20 "name": {
21 "type": "string",
22 "description": "name of the artifact"
23 },
24 "repo": {
25 "type": "string",
26 "format": "at-uri",
27 "description": "repo that this artifact is being uploaded to"
28 },
29 "repoDid": {
30 "type": "string",
31 "format": "did"
32 },
33 "tag": {
34 "type": "bytes",
35 "description": "hash of the tag object that this artifact is attached to (only annotated tags are supported)",
36 "minLength": 20,
37 "maxLength": 20
38 },
39 "createdAt": {
40 "type": "string",
41 "format": "datetime",
42 "description": "time of creation of this artifact"
43 },
44 "artifact": {
45 "type": "blob",
46 "description": "the artifact",
47 "accept": [
48 "*/*"
49 ],
50 "maxSize": 52428800
51 }
52 }
53 }
54 }
55 }
56}