garden.lexicon.exultant-zebra.distribution
Schema Diff
+40 -22
1
1
{
2
2
"id": "garden.lexicon.exultant-zebra.distribution",
3
3
"defs": {
4
4
"main": {
5
5
"key": "tid",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
-
"app",
11
10
"version",
12
-
"data"
11
+
"artifacts"
13
12
],
14
13
"properties": {
15
-
"os": {
14
+
"version": {
16
15
"type": "string",
17
-
"description": "The operating system and platform, e.g. 'apple-darwin', 'unknown-linux-gnu'."
16
+
"description": "The version of this distribution, e.g. '0.14.0'."
18
17
},
19
-
"app": {
20
-
"type": "string",
21
-
"format": "at-uri",
22
-
"description": "AT-URI of the application this distribution belongs to."
18
+
"artifacts": {
19
+
"type": "array",
20
+
"items": {
21
+
"ref": "#artifact",
22
+
"type": "ref"
23
+
},
24
+
"description": "The list of downloadable artifacts for this distribution."
23
25
},
24
-
"arch": {
26
+
"description": {
25
27
"type": "string",
26
-
"description": "The CPU architecture, e.g. 'aarch64', 'x86_64'."
27
-
},
28
-
"data": {
29
-
"type": "blob",
30
-
"accept": [
31
-
"*/*"
32
-
],
33
-
"description": "The distribution binary."
28
+
"description": "An optional description of this distribution."
29
+
}
30
+
}
31
+
},
32
+
"description": "A distribution of an application."
33
+
},
34
+
"artifact": {
35
+
"type": "object",
36
+
"required": [
37
+
"download"
38
+
],
39
+
"properties": {
40
+
"tags": {
41
+
"type": "array",
42
+
"items": {
43
+
"type": "string"
34
44
},
35
-
"version": {
36
-
"type": "string",
37
-
"description": "The version of this distribution, e.g. '0.14.0'."
38
-
}
45
+
"description": "Optional tags describing this artifact, e.g. 'aarch64', 'apple-darwin', 'linux'."
46
+
},
47
+
"download": {
48
+
"type": "blob",
49
+
"accept": [
50
+
"*/*"
51
+
],
52
+
"description": "The downloadable binary."
53
+
},
54
+
"description": {
55
+
"type": "string",
56
+
"description": "An optional description of this artifact."
39
57
}
40
58
},
41
-
"description": "A distribution of an application for a specific platform."
59
+
"description": "A downloadable artifact within a distribution."
42
60
}
43
61
},
44
62
"lexicon": 1
45
63
}