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 397
397
398
398
<section title =" required" >
399
399
<t >
400
- The value of this keyword MUST be an array. This array MUST have at
401
- least one element. Elements of this array MUST be strings, and MUST be
402
- unique.
400
+ The value of this keyword MUST be an array. Elements of this array
401
+ MUST be strings, and MUST be unique.
403
402
</t >
404
403
<t >
405
404
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" ,
117
119
"additionalProperties" : {
118
120
"anyOf" : [
119
121
{ "$ref" : " #" },
120
- { "$ref" : " #/definitions/stringArray " }
122
+ { "$ref" : " #/definitions/nonEmptyStringArray " }
121
123
]
122
124
}
123
125
},
You can’t perform that action at this time.
0 commit comments