# Vextorium JSON Schema Validator

> Vextorium JSON Schema Validator is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-13).

Validates JSON data against a JSON Schema (drafts 4–2020-12) and returns a valid/invalid flag plus every error with its exact path and failing rule.

## Facts

- Endpoint: POST https://api.vextorium.com/validar-esquema-json-pago?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-json-schema-validator-506b3404
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tbB5FYAd0Ght_SJ4PmlhK

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability vextorium-json-schema-validator-506b3404 -d '<json body>'
```

Example prompt: Validate this JSON object against my schema and tell me exactly which fields are invalid, what rule they broke, and where in the document each error is — I need the full error list with paths.

## When to prefer this

Choose this endpoint when you need precise, path-level JSON Schema validation across any supported draft (4 through 2020-12) with format checks enabled. Ideal for validating LLM-generated structured output, API response contracts, or user-submitted data before storage. Prefer this over generic JSON linting tools when you need the exact failing rule name and JSON Pointer path for each error, not just a pass/fail result.

## Known failure modes

- Invalid or malformed JSON Schema provided — returns validation or parsing error
- datos or esquema fields missing from request body — returns 400-level error
- Schema draft version not supported — may return unsupported draft error
- Extremely large or deeply nested JSON may time out
- Format checks unavailable for custom formats not defined in the schema spec

## How this service works

Validate JSON data against a JSON Schema (drafts 4 to 2020-12, with format checks): valid flag and every error with its exact path and failing rule. Check API responses or LLM structured output.

## Output

Returns a JSON object with: the schema draft used (e.g. 'Draft202012Validator'), a boolean 'valido' flag indicating whether the data is valid, the total error count ('errores'), and a 'detalle' array where each element contains the error path ('ruta'), the failing rule name ('regla'), and a human-readable message ('mensaje').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "datos",
      "esquema"
     ],
     "properties": {
      "datos": {
       "description": "JSON data"
      },
      "esquema": {
       "description": "JSON Schema"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": [
      "object",
      "null"
     ],
     "properties": {
      "draft": {
       "type": [
        "string",
        "null"
       ]
      },
      "valido": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "detalle": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": [
         "null",
         "object"
        ],
        "properties": {
         "ruta": {
          "type": [
           "null",
           "string"
          ]
         },
         "regla": {
          "type": [
           "null",
           "string"
          ]
         },
         "mensaje": {
          "type": [
           "null",
           "string"
          ]
         }
        }
       }
      },
      "errores": {
       "type": [
        "number",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "draft": "Draft202012Validator",
  "valido": false,
  "detalle": [
   {
    "ruta": "$",
    "regla": "required",
    "mensaje": "'name' is a required property"
   },
   {
    "ruta": "$.id",
    "regla": "type",
    "mensaje": "'1' is not of type 'integer'"
   }
  ],
  "errores": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-json-schema-validator-506b3404/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
