Schema Middleware is a way to automatically validate all incoming data against a set of JSON hyperschemas.
You define what a body that gets POSTed to /users/:id
should look like in your hyperschema and this middleware ensures it always does. Also works on querystrings!
Hyperschemas are a fantastic way to document your APIs, and this lets you use them to also add additional safety at your points of ingress.