Validate JSON data with schemas, types, required fields, formats, composition, and API contracts.
Lessons
Follow quoting, commas, and structure rules for valid JSON.
JSON Syntax Rules is easiest to learn by reading the example, changing it, and observing the result.
{
"slug": "json-schema-basics",
"title": "JSON Schema Basics",
"minutes": 30,
"published": true,
"tags": ["json", "validation"],
"author": null
}Practice the JSON Syntax Rules example in a small scratch file, then explain what changed and why.