Validate JSON data with schemas, types, required fields, formats, composition, and API contracts.
Lessons
Know the six JSON value types and how they map to schema.
JSON Data Types 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 Data Types example in a small scratch file, then explain what changed and why.