Validate
Validates JSON data against a JSON Schema, returning comprehensive error details with JSON-pointer paths.
Designed as an MCP server, Validate provides robust JSON schema validation capabilities. It leverages `ajv` and `ajv-formats` to support various JSON Schema drafts including draft-07, 2019-09, and 2020-12, along with standard formats like email and UUID. Crucially, it doesn't stop at the first error, but meticulously identifies and reports every validation issue, complete with JSON-pointer paths, enabling models or developers to precisely locate and rectify problematic fields.
主要功能
01Utilizes ajv and ajv-formats for standard format validation
02Reports all validation errors, not just the first
03Comprehensive JSON Schema validation
04Supports JSON Schema drafts: draft-07, 2019-09, 2020-12
05Provides JSON-pointer paths for each error
060 GitHub stars
使用案例
01Providing structured error feedback for AI models generating JSON
02Ensuring data quality and adherence to defined schemas in applications
03Validating API request and response payloads against schema definitions