{"library":"express-jsonschema","type":"library","category":null,"description":"Express middleware for JSON Schema validation, currently at version 1.1.6. It leverages the jsonschema library to validate request bodies against JSON Schema v4. The library provides a simple validate() middleware that attaches validation results to req.validations. Error handling is left to the developer, allowing custom responses. Compared to express-validator or Joi, this library decouples validation logic from schema definitions. It is in maintenance mode, with the last release in 2016 and no recent updates.","language":"javascript","status":"maintenance","version":"1.1.6","tags":["javascript","express","jsonschema","validation","validate"],"last_verified":"Wed May 27","install":[{"cmd":"npm install express-jsonschema","imports":["const validate = require('express-jsonschema').validate;","const JsonSchemaValidation = require('express-jsonschema').JsonSchemaValidation;","import { validate } from 'express-jsonschema';"]},{"cmd":"yarn add express-jsonschema","imports":[]},{"cmd":"pnpm add express-jsonschema","imports":[]}],"homepage":null,"github":"https://github.com/trainiac/express-jsonschema","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/express-jsonschema","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/express-jsonschema/compatibility"}}