minItems
minItems is a validation keyword used in JSON Schema to specify the minimum number of items that an array instance must contain. It applies to array types and takes a non-negative integer value. When present, an array must have at least minItems elements to be considered valid; if the instance is not an array, the constraint does not apply unless the schema also requires type: array.
Example: a schema with { "type": "array", "minItems": 2 } will consider ["a"] and [] invalid, while ["a","b"] is
Notes: The constraint is distinct from content-based checks. minItems only counts the number of elements, not
Implementation considerations: JSON Schema validators generally require non-negative integers for minItems; negative values are invalid per