Skip to content

Glossary: Real-Time Apps with WebSockets

JSON Schema

A description of what a JSON body must look like, such as required string fields. Fastify uses it to reject bad requests with a 400 before the handler runs.

Where the book teaches it

Related terms

FastifyHTTP status codes