Skip to content

Commit 27bfda1

Browse files
Updating json schema for new user config
1 parent bc5845a commit 27bfda1

File tree

1 file changed

+146
-43
lines changed

1 file changed

+146
-43
lines changed

DefaultYAMLs/UserConfigSchema.json

Lines changed: 146 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"properties":
66
{
77
"PreferredProfile": { "type": "string" },
8-
"CompilerProfiles":
8+
"Profiles":
99
{
1010
"type": "array",
1111
"items":
@@ -39,69 +39,173 @@
3939
},
4040
"additionalProperties": false
4141
},
42-
"ObjectFileExtensions":
42+
"ObjectLinkFile":
4343
{
4444
"type": "object",
45-
"patternProperties":
45+
"properties":
4646
{
47-
"^.*$": { "type": "string" }
47+
"Prefix":
48+
{
49+
"type": "object",
50+
"patternProperties":
51+
{
52+
"^.*$": { "type": "string" }
53+
},
54+
"additionalProperties": false
55+
},
56+
"Extension":
57+
{
58+
"type": "object",
59+
"patternProperties":
60+
{
61+
"^.*$": { "type": "string" }
62+
},
63+
"additionalProperties": false
64+
}
4865
},
49-
"additionalProperties": false
66+
"additionalProperties": false,
67+
"required":
68+
[
69+
"Prefix",
70+
"Extension"
71+
]
5072
},
51-
"SharedLibraryExtensions":
73+
"SharedLinkFile":
5274
{
5375
"type": "object",
54-
"patternProperties":
76+
"properties":
5577
{
56-
"^.*$":
78+
"Prefix":
5779
{
58-
"type": "array",
59-
"items": { "type":"string" }
80+
"type": "object",
81+
"patternProperties":
82+
{
83+
"^.*$": { "type": "string" }
84+
},
85+
"additionalProperties": false
86+
},
87+
"Extension":
88+
{
89+
"type": "object",
90+
"patternProperties":
91+
{
92+
"^.*$": { "type": "string" }
93+
},
94+
"additionalProperties": false
6095
}
6196
},
62-
"additionalProperties": false
97+
"additionalProperties": false,
98+
"required":
99+
[
100+
"Prefix",
101+
"Extension"
102+
]
63103
},
64-
"StaticLibraryExtensions":
104+
"SharedLibraryFile":
65105
{
66106
"type": "object",
67-
"patternProperties":
107+
"properties":
68108
{
69-
"^.*$":
109+
"Prefix":
70110
{
71-
"type": "array",
72-
"items": { "type":"string" }
111+
"type": "object",
112+
"patternProperties":
113+
{
114+
"^.*$": { "type": "string" }
115+
},
116+
"additionalProperties": false
117+
},
118+
"Extension":
119+
{
120+
"type": "object",
121+
"patternProperties":
122+
{
123+
"^.*$": { "type": "string" }
124+
},
125+
"additionalProperties": false
73126
}
74127
},
75-
"additionalProperties": false
128+
"additionalProperties": false,
129+
"required":
130+
[
131+
"Prefix",
132+
"Extension"
133+
]
76134
},
77-
"DebugSymbolFileExtensions":
135+
"StaticLinkFile":
78136
{
79137
"type": "object",
80-
"patternProperties":
138+
"properties":
81139
{
82-
"^.*$":
140+
"Prefix":
83141
{
84-
"type": "array",
85-
"items": { "type":"string" }
142+
"type": "object",
143+
"patternProperties":
144+
{
145+
"^.*$": { "type": "string" }
146+
},
147+
"additionalProperties": false
148+
},
149+
"Extension":
150+
{
151+
"type": "object",
152+
"patternProperties":
153+
{
154+
"^.*$": { "type": "string" }
155+
},
156+
"additionalProperties": false
86157
}
87158
},
88-
"additionalProperties": false
159+
"additionalProperties": false,
160+
"required":
161+
[
162+
"Prefix",
163+
"Extension"
164+
]
165+
},
166+
"DebugSymbolFile":
167+
{
168+
"type": "object",
169+
"properties":
170+
{
171+
"Prefix":
172+
{
173+
"type": "object",
174+
"patternProperties":
175+
{
176+
"^.*$": { "type": "string" }
177+
},
178+
"additionalProperties": false
179+
},
180+
"Extension":
181+
{
182+
"type": "object",
183+
"patternProperties":
184+
{
185+
"^.*$": { "type": "string" }
186+
},
187+
"additionalProperties": false
188+
}
189+
},
190+
"additionalProperties": false,
191+
"required":
192+
[
193+
"Prefix",
194+
"Extension"
195+
]
89196
},
90197
"Compiler":
91198
{
92199
"type": "object",
93200
"properties":
94201
{
95-
"SetupSteps" :
202+
"EnvironmentSetup" :
96203
{
97204
"type": "object",
98205
"patternProperties":
99206
{
100-
"^.*$":
101-
{
102-
"type": "array",
103-
"items": { "type":"string" }
104-
}
207+
"^.*$": { "type": "string"},
208+
"additionalProperties": false
105209
},
106210
"additionalProperties": false
107211
},
@@ -176,16 +280,13 @@
176280
"type": "object",
177281
"properties":
178282
{
179-
"SetupSteps" :
283+
"EnvironmentSetup" :
180284
{
181285
"type": "object",
182286
"patternProperties":
183287
{
184-
"^.*$":
185-
{
186-
"type": "array",
187-
"items": { "type":"string" }
188-
}
288+
"^.*$": { "type": "string"},
289+
"additionalProperties": false
189290
},
190291
"additionalProperties": false
191292
},
@@ -226,18 +327,18 @@
226327
},
227328
"additionalProperties": false
228329
},
229-
"LinkerArgs":
330+
"LinkArgs":
230331
{
231332
"type": "object",
232333
"properties":
233334
{
234335
"OutputPart": { "type": "string" },
235-
"DependenciesPart": { "type": "string" }
336+
"LinkPart": { "type": "string" }
236337
},
237338
"required":
238339
[
239340
"OutputPart",
240-
"DependenciesPart"
341+
"LinkPart"
241342
]
242343
}
243344
},
@@ -248,23 +349,25 @@
248349
"ExecutableLinkFlags",
249350
"StaticLibLinkFlags",
250351
"SharedLibLinkFlags",
251-
"LinkerArgs"
352+
"LinkArgs"
252353
]
253354
}
254355
},
255356
"required":
256357
[
257358
"Name",
258359
"FileExtensions",
259-
"ObjectFileExtensions",
260-
"SharedLibraryExtensions",
261-
"StaticLibraryExtensions",
360+
"Languages",
361+
"ObjectLinkFile",
362+
"SharedLinkFile",
363+
"SharedLibraryFile",
364+
"StaticLinkFile",
262365
"Compiler",
263366
"Linker"
264367
],
265368
"uniqueItems": true
266369
}
267370
}
268371
},
269-
"required": ["CompilerProfiles"]
372+
"required": ["Profiles"]
270373
}

0 commit comments

Comments
 (0)