Validate JSON data with schemas, types, required fields, formats, composition, and API contracts.
Lessons
Build UI forms automatically from a schema.
Generating Forms from Schema is easiest to learn by reading the example, changing it, and observing the result.
// A schema can drive an auto-generated form (e.g. @rjsf/core)
{
"title": "New lesson",
"type": "object",
"required": ["title"],
"properties": {
"title": { "type": "string", "title": "Lesson title" },
"level": { "type": "string", "enum": ["beginner", "advanced"] },
"minutes": { "type": "integer", "minimum": 1 }
}
}Practice the Generating Forms from Schema example in a small scratch file, then explain what changed and why.