use zod to define schemas for requests and create a middleware to check them
use zod to define schemas for requests and create a middleware to check them