Schema template
JSON Schema
{
"type": "array",
"items": {
"type": "string"
}
}Valid example JSON
[
"alpha",
"beta"
]Invalid example JSON
[
"alpha",
42
]Fields
| Field | Type | Required | Description |
|---|---|---|---|
items | schema | Yes | Defines the validation rule for array elements. In modern drafts, use prefixItems for tuple-like arrays. |
How to use this schema
Use items on arrays returned by APIs, imported CSV rows, tag lists, and repeated form fields. Pair it with minItems or uniqueItems when the collection has stronger rules.
Version support and combinations
This keyword or pattern is commonly supported across modern JSON Schema workflows. Check your validator for Draft-04, Draft-07, 2019-09, and 2020-12 behavior before relying on newer composition or conditional features.
Common combination: pair this reference with type, required, and properties so validation errors are specific enough for API clients and form users.
Batch validation seed
Want to validate JSON Schema in bulk? Toolumina Pro can grow into batch validation for 100+ files, saved schemas, and repeatable API contract checks.