Repository navigation
Expand file tree
/
Copy pathlist-tools.schema.json
More file actions
63 lines (63 loc) · 2.13 KB
/
Copy pathlist-tools.schema.json
File metadata and controls
63 lines (63 loc) · 2.13 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"tools": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "tool name"
},
"version": {
"description": "the currently linked version, null if the tool isn't linked",
"type": ["string", "null"]
},
"versions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"version": {
"type": "string",
"description": "installed version"
},
"parent": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "tool name"
},
"version": {
"type": "string",
"description": "tool version"
}
},
"required": ["name", "version"],
"additionalProperties": false,
"description": "the tool this version was installed for, eg. the node version a npm package was installed with"
}
},
"required": ["version"],
"additionalProperties": false
},
"description": "all installed versions, sorted alphabetically with numbers in numeric order, so 9.0.0 comes before 10.0.0"
},
"type": {
"type": "string",
"enum": ["gem", "npm", "pip"],
"description": "the installer type, only set for dynamically installed tools"
}
},
"required": ["name", "version", "versions"],
"additionalProperties": false
},
"description": "all installed tools, sorted alphabetically by name with numbers in numeric order, so tool9 comes before tool10"
}
},
"required": ["tools"],
"additionalProperties": false
}