{"ok":true,"result":{"slug":"json-schema-validator","name":"JSON Schema Validator","summary":"Validate a JSON document against a JSON Schema (draft 2020-12 or draft-07). Returns valid, every error with its JSON Pointer path and schema keyword, and warnings about unsupported keywords.","description":"Validate JSON data against a JSON Schema in your browser. See every error with its path and a plain English message. Supports draft 2020-12, draft-07 and common formats.","method":"POST","endpoint":"/api/v1/tools/json-schema-validator","plan":"free","mcpName":"json_schema_validator","input":{"type":"object","additionalProperties":false,"properties":{"schema":{"type":"string","description":"The JSON Schema, as JSON text.","maxLength":200000},"data":{"type":"string","description":"The JSON document to validate, as JSON text.","maxLength":200000},"draft":{"type":"string","description":"Schema draft; auto reads $schema and defaults to 2020-12.","default":"auto","enum":["auto","2020-12","draft-07"],"maxLength":200000}},"required":["schema","data"]},"example":{"schema":"{\"type\":\"object\",\"required\":[\"name\",\"age\"],\"properties\":{\"name\":{\"type\":\"string\"},\"age\":{\"type\":\"integer\",\"minimum\":0}}}","data":"{\"name\":\"Ada\",\"age\":-1}"},"randomOutput":false,"network":false,"docs":"https://pithlab.com/developers/tools/json-schema-validator","page":"https://pithlab.com/tools/json-schema-validator"}}