JSON Schema validation and express middleware