File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 128
128
" string" ,
129
129
" null"
130
130
]
131
+ },
132
+ "expected_messages" : {
133
+ "title" : " Expected messages" ,
134
+ "description" : " Validation messages expected for this test. Can be null or a list of strings." ,
135
+ "default" : null ,
136
+ "type" : [" null" , " array" ],
137
+ "items" : {
138
+ "type" : " string"
131
139
}
140
+ }
132
141
},
133
142
"allOf" : [
134
143
{
286
295
" expected_failure_reason"
287
296
]
288
297
}
298
+ },
299
+ {
300
+ "if" : {
301
+ "properties" : {
302
+ "test_type" : { "const" : " validation" }
303
+ },
304
+ "required" : [" test_type" ]
305
+ },
306
+ "then" : {
307
+ "properties" : {
308
+ "input" : {
309
+ "title" : " Expected decoded PURL components" ,
310
+ "description" : " Test input as an object with decoded PURL components for validation." ,
311
+ "$ref" : " #/definitions/purl_components"
312
+ },
313
+ "expected_messages" : {
314
+ "title" : " Expected messages" ,
315
+ "description" : " Validation messages expected for this test. Can be null or a list of strings." ,
316
+ "default" : null ,
317
+ "type" : [" null" , " array" ],
318
+ "items" : { "type" : " string" }
319
+ }
320
+ },
321
+ "required" : [" input" ]
322
+ }
289
323
}
290
324
]
291
325
}
You can’t perform that action at this time.
0 commit comments