Validate JSON data with schemas, types, required fields, formats, composition, and API contracts.
Lessons
Validate positional array elements.
Tuples with prefixItems is easiest to learn by reading the example, changing it, and observing the result.
{
"type": "array",
"prefixItems": [
{ "type": "number" },
{ "type": "number" },
{ "type": "string" }
],
"items": false
}Practice the Tuples with prefixItems example in a small scratch file, then explain what changed and why.