Validate JSON data with schemas, types, required fields, formats, composition, and API contracts.
Lessons
Require data to fail a subschema.
The not Keyword is easiest to learn by reading the example, changing it, and observing the result.
{
"type": "string",
"not": { "enum": ["admin", "root"] }
}Practice the The not Keyword example in a small scratch file, then explain what changed and why.