-
Notifications
You must be signed in to change notification settings - Fork 8
/
registry-schema.json
41 lines (41 loc) · 1.26 KB
/
registry-schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"title": "Registry",
"description": "Registry schema for Arnold's trays",
"type": "object",
"properties": {
"deprecated": { "$ref": "#/$defs/channel" },
"stable": { "$ref": "#/$defs/channel" },
"experimental": { "$ref": "#/$defs/channel" }
},
"required": ["deprecated", "stable", "experimental"],
"$defs": {
"channel": {
"type": "array",
"items": { "$ref": "#/$defs/tray" }
},
"tray": {
"type": "object",
"properties": {
"name": { "type": "string" },
"git": {
"type": "object",
"properties": {
"repository": {
"type": "string",
"format": "uri"
},
"reference": {
"type": "string"
},
"subpath": {
"type": "string",
"format": "uri"
}
},
"required": ["repository", "reference"]
}
},
"required": ["name", "git"]
}
}
}