← All quick checks

JSON Schema validator for JSON or LLM output

$0.0021 USD per call Pay per call via x402, no signup

This call validates a JSON document against a JSON Schema (draft-07, 2019-09, or 2020-12, formats included) and returns valid true or false, with every error listed as a JSON Pointer, keyword, and message. Input is json and schema (POST for large documents), with limits of 1 MB of JSON, 200 KB of schema, and 100 errors listed; remote $ref is not fetched; the check runs offline; GET and POST endpoints are listed.

Call it

x402: GET https://shop.lordevo.com/api/quick/json-validate?json=%7B%22name%22:%22Ada%22,%22age%22:36%7D&schema=%7B%22type%22:%22object%22,%22required%22:%5B%22name%22,%22age%22%5D,%22properties%22:%7B%22name%22:%7B%22type%22:%22string%22%7D,%22age%22:%7B%22type%22:%22integer%22,%22minimum%22:0%7D%7D%7D or POST the same fields as JSON to https://shop.lordevo.com/api/quick/json-validate · MCP tool json_validate at https://shop.lordevo.com/mcp

The first call answers HTTP 402 with the price ($0.0021 USD per call, USDC on Base); any x402 client pays and retries. Instant tools that fail or are refused are not charged. Discovery is free: /catalog.json, /openapi.json, /llms.txt.

Example

The catalog's own example for this tool (illustrative sample values, not a live result).

Input

{
  "json": "{\"name\":\"Ada\",\"age\":36}",
  "schema": "{\"type\":\"object\",\"required\":[\"name\",\"age\"],\"properties\":{\"name\":{\"type\":\"string\"},\"age\":{\"type\":\"integer\",\"minimum\":0}}}"
}

Output

{
  "tool": "json-validate",
  "valid": false,
  "draft": "draft-07",
  "error_count": 2,
  "errors": [
    {
      "pointer": "",
      "keyword": "required",
      "message": "must have required property 'age'",
      "schema_path": "#/required",
      "params": {
        "missingProperty": "age"
      }
    },
    {
      "pointer": "/name",
      "keyword": "type",
      "message": "must be string",
      "schema_path": "#/properties/name/type",
      "params": {
        "type": "string"
      }
    }
  ],
  "errors_truncated": false
}

All quick checks and prices · Guides · Errors and limits