File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 435
435
436
436
<section title =" required" >
437
437
<t >
438
- The value of this keyword MUST be an array. This array MUST have at
439
- least one element. Elements of this array MUST be strings, and MUST be
440
- unique.
438
+ The value of this keyword MUST be an array. Elements of this array
439
+ MUST be strings, and MUST be unique.
441
440
</t >
442
441
<t >
443
442
An object instance is valid against this keyword if its
Original file line number Diff line number Diff line change 21
21
"stringArray" : {
22
22
"type" : " array" ,
23
23
"items" : { "type" : " string" },
24
- "minItems" : 1 ,
25
24
"uniqueItems" : true
25
+ },
26
+ "nonEmptyStringArray" : {
27
+ "allOf" : [ { "$ref" : " #/definitions/stringArray" }, { "minItems" : 1 } ]
26
28
}
27
29
},
28
30
"type" : " object" ,
118
120
"additionalProperties" : {
119
121
"anyOf" : [
120
122
{ "$ref" : " #" },
121
- { "$ref" : " #/definitions/stringArray " }
123
+ { "$ref" : " #/definitions/nonEmptyStringArray " }
122
124
]
123
125
}
124
126
},
You can’t perform that action at this time.
0 commit comments