# IPIntel.ai JSON Schema Validator

> IPIntel.ai JSON Schema Validator is a paid API for AI agents from tools.ipintel.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Validates a JSON document against a provided JSON Schema and returns a list of validation errors or confirms it is valid

## Facts

- Endpoint: POST https://tools.ipintel.ai/json-schema-validator
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ipintel-ai-json-schema-validator-9f8588ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8cq1UcHyyufpco0M6tajg

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 ipintel-ai-json-schema-validator-9f8588ee -d '<json body>'
```

Example prompt: Can you validate this JSON object against my schema and tell me if it's valid or list any errors? Here's the data: {"name": "Alice", "age": 30} and the schema requires name as a string and age as an integer between 0 and 120.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call JSON Schema validation without setting up a local validator library, especially in autonomous agent workflows, API testing pipelines, or when verifying structured outputs from LLMs conform to a defined schema.

## Known failure modes

- Invalid or malformed JSON schema provided — returns validation error indicating schema itself is invalid
- Missing required fields in request body — returns 400-level error
- JSON document and schema fields not provided — returns error indicating missing input
- Network or service unavailability — returns non-ok response
- Payment not settled via x402 — request rejected before processing

## How this service works

JSON Schema Validator API. Validate JSON data against a JSON Schema and receive structured valid/invalid results with detailed validation errors. Supports common JSON Schema features including type, required, properties, additionalProperties, enum, const, items, string lengths, patterns, and numeric bounds. Useful for agents, developers, API testing, structured output validation, schema checks, and automation workflows. Paid per call via x402.

## Output

Returns a JSON object with an 'ok' boolean, a 'valid' boolean indicating whether the document conforms to the schema, an 'errors' array listing any schema violations (empty if valid), the service name 'json_schema_validator', and an ISO 8601 timestamp.

## 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": {
     "type": "object",
     "required": [
      "schema",
      "data"
     ],
     "properties": {
      "data": {
       "description": "JSON value to validate against the schema"
      },
      "schema": {
       "type": "object",
       "description": "JSON Schema object"
      }
     },
     "additionalProperties": false
    },
    "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",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "valid": {
       "type": "boolean"
      },
      "errors": {
       "type": "array",
       "items": {}
      },
      "service": {
       "type": "string"
      },
      "timestamp": {
       "type": "string"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "valid": true,
  "errors": [],
  "service": "json_schema_validator",
  "timestamp": "2026-06-23T00:00:00+00:00"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ipintel-ai-json-schema-validator-9f8588ee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tools.ipintel.ai](https://www.zero.xyz/host/tools.ipintel.ai/llms.txt)
