File tree 1 file changed +50
-1
lines changed
1 file changed +50
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,12 @@ const char rule_schema_string[] = LONG_STRING_CONST(
35
35
" required_engine_version ": {
36
36
" type ": " string "
37
37
},
38
+ " required_plugin_versions ": {
39
+ " type ": " array ",
40
+ " items ": {
41
+ " $ref ": " #/definitions /RequiredPluginVersion "
42
+ }
43
+ },
38
44
" macro ": {
39
45
" type ": " string "
40
46
},
@@ -68,6 +74,9 @@ const char rule_schema_string[] = LONG_STRING_CONST(
68
74
" priority ": {
69
75
" $ref ": " #/definitions /Priority "
70
76
},
77
+ " source ": {
78
+ " type ": " string "
79
+ },
71
80
" exceptions ": {
72
81
" type ": " array ",
73
82
" items ": {
@@ -166,7 +175,47 @@ const char rule_schema_string[] = LONG_STRING_CONST(
166
175
},
167
176
" minProperties ": 1,
168
177
" title ": " Override "
169
- }
178
+ },
179
+ " RequiredPluginVersion ": {
180
+ " type ": " object ",
181
+ " additionalProperties ": false,
182
+ " properties ": {
183
+ " name ": {
184
+ " type ": " string "
185
+ },
186
+ " version ": {
187
+ " type ": " string "
188
+ },
189
+ " alternatives ": {
190
+ " type ": " array ",
191
+ " items ": {
192
+ " $ref ": " #/definitions /Alternative "
193
+ }
194
+ }
195
+ },
196
+ " required ": [
197
+ " name ",
198
+ " version "
199
+ ],
200
+ " title ": " RequiredPluginVersion "
201
+ },
202
+ " Alternative ": {
203
+ " type ": " object ",
204
+ " additionalProperties ": false,
205
+ " properties ": {
206
+ " name ": {
207
+ " type ": " string "
208
+ },
209
+ " version ": {
210
+ " type ": " string "
211
+ }
212
+ },
213
+ " required ": [
214
+ " name ",
215
+ " version "
216
+ ],
217
+ " title ": " Alternative "
218
+ }
170
219
}
171
220
}
172
221
You can’t perform that action at this time.
0 commit comments