JSON Schema items Keyword

The items keyword describes the schema for array elements.

Syntax

{"type": "array", "items": {"type": "integer"}}

Explanation

Use items to require every array element to match the same schema.