const z = require("zod") module.exports = { GET: { headers: z.object({ "content-type": z.string() .regex(/application\/json/i, { message: "Content-Type must be application/json" }) .optional() }), params: z.object({ uuid: z.string().uuid({ message: "Invalid UUID format." }) }), error: { code: 204, message: "No content" } } }