Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/configuration-editing/schemas/devContainer.codespaces.schema.json
3291 views
1
{
2
"$schema": "http://json-schema.org/draft-07/schema#",
3
"type": "object",
4
"properties": {
5
"customizations": {
6
"type": "object",
7
"properties": {
8
"codespaces": {
9
"type": "object",
10
"description": "Customizations specific to GitHub Codespaces",
11
"properties": {
12
"repositories": {
13
"type": "object",
14
"description": "Configuration relative to the given repositories, following the format 'owner/repo'.\n A wildcard (*) is permitted for the repo name (eg: 'microsoft/*')",
15
"patternProperties": {
16
"^[a-zA-Z0-9-_.]+[.]*\/[a-zA-Z0-9-_*]+[.]*$": {
17
"type": "object",
18
"additionalProperties": true,
19
"oneOf": [
20
{
21
"properties": {
22
"permissions": {
23
"type": "object",
24
"description": "Additional repository permissions.\n See https://aka.ms/ghcs/multi-repo-auth for more info.",
25
"additionalProperties": true,
26
"anyOf": [
27
{
28
"properties": {
29
"actions": {
30
"type": "string",
31
"enum": [
32
"read",
33
"write"
34
]
35
}
36
}
37
},
38
{
39
"properties": {
40
"checks": {
41
"type": "string",
42
"enum": [
43
"read",
44
"write"
45
]
46
}
47
}
48
},
49
{
50
"properties": {
51
"contents": {
52
"type": "string",
53
"enum": [
54
"read",
55
"write"
56
]
57
}
58
}
59
},
60
{
61
"properties": {
62
"deployments": {
63
"type": "string",
64
"enum": [
65
"read",
66
"write"
67
]
68
}
69
}
70
},
71
{
72
"properties": {
73
"discussions": {
74
"type": "string",
75
"enum": [
76
"read",
77
"write"
78
]
79
}
80
}
81
},
82
{
83
"properties": {
84
"issues": {
85
"type": "string",
86
"enum": [
87
"read",
88
"write"
89
]
90
}
91
}
92
},
93
{
94
"properties": {
95
"packages": {
96
"type": "string",
97
"enum": [
98
"read"
99
]
100
}
101
}
102
},
103
{
104
"properties": {
105
"pages": {
106
"type": "string",
107
"enum": [
108
"read",
109
"write"
110
]
111
}
112
}
113
},
114
{
115
"properties": {
116
"pull_requests": {
117
"type": "string",
118
"enum": [
119
"read",
120
"write"
121
]
122
}
123
}
124
},
125
{
126
"properties": {
127
"repository_projects": {
128
"type": "string",
129
"enum": [
130
"read",
131
"write"
132
]
133
}
134
}
135
},
136
{
137
"properties": {
138
"statuses": {
139
"type": "string",
140
"enum": [
141
"read",
142
"write"
143
]
144
}
145
}
146
},
147
{
148
"properties": {
149
"workflows": {
150
"type": "string",
151
"enum": [
152
"write"
153
]
154
}
155
}
156
}
157
]
158
}
159
}
160
},
161
{
162
"properties": {
163
"permissions": {
164
"type": "string",
165
"description": "Additional repository permissions.\n See https://aka.ms/ghcs/multi-repo-auth for more info.",
166
"enum": [
167
"read-all",
168
"write-all"
169
]
170
}
171
}
172
}
173
]
174
}
175
}
176
},
177
"openFiles": {
178
"type": "array",
179
"description": "The paths to the files to open when the codespace is created. Paths are relative to the workspace.",
180
"items": {
181
"type": "string"
182
}
183
},
184
"disableAutomaticConfiguration": {
185
"type": "boolean",
186
"description": "Disables the setup that is automatically run in a codespace if no `postCreateCommand` is specified.",
187
"default": false
188
}
189
}
190
}
191
}
192
},
193
"codespaces": {
194
"type": "object",
195
"additionalProperties": true,
196
"description": "Codespaces-specific configuration.",
197
"deprecated": true,
198
"deprecationMessage": "Use 'customizations/codespaces' instead"
199
}
200
}
201
}
202
203