Validate JSON data with schemas, types, required fields, formats, composition, and API contracts.
Lessons
See how a schema describes and constrains JSON data.
JSON vs JSON Schema 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 vs JSON Schema example in a small scratch file, then explain what changed and why.