forked from SchemaStore/schemastore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevinit.schema-1.0.json
127 lines (123 loc) · 3.09 KB
/
devinit.schema-1.0.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"title": "Codespaces DevInit Configuration",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [
"run"
],
"definitions": {
"runObject": {
"type": "object",
"required": [
"tool"
],
"properties": {
"tool": {
"title": "The tool name",
"description": "The name of the tool to run.",
"type": "string",
"enum": [
"apt-get-install",
"azurecli-login",
"choco-install",
"choco-upgrade",
"dotnet-restore",
"dotnet-toolinstall",
"npm-install",
"nuget-restore",
"require-azureartifactscredentialprovider",
"require-azurecli",
"require-choco",
"require-dotnetcoresdk",
"require-dotnetframeworksdk",
"require-gitsubmodule",
"require-mssql",
"require-nodejs",
"require-npm",
"require-nuget",
"require-psmodule",
"require-vcpkg",
"require-vscomponent",
"set-env",
"vcpkg-install",
"windowsfeature-disable",
"windowsfeature-enable",
"windowsfeature-list",
"wsl-install"
]
},
"input": {
"title": "The tool input",
"description": "The input varies by tool. For example, the required version number, the package-id, the input source file or source directory.",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"additionalOptions": {
"title": "Additional options",
"description": "Additional Options to be appended to the tool's command line.",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"comments": {
"title": "Comments",
"description": "Comments for this tool item. For documentation only; ignored by the tool.",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
},
"properties": {
"$schema": {
"type": "string"
},
"run": {
"title": "The list of tools to run",
"description": "'devinit.exe init' runs this list of tools sequentially. See also 'devinit.exe run'.",
"items": {
"allOf": [
{
"$ref": "#/definitions/runObject"
}
],
"anyOf": [
{
"$ref": "#/definitions/runObject"
}
]
}
},
"comments": {
"title": "Comments",
"description": "Comments for this file. For documentation only; ignored by the tool.",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}