# CORE JSON Validator

> CORE JSON Validator is a paid API for AI agents from 92-222-181-125.sslip.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-17).

Validates a JSON data document against a restricted draft-07 schema, returning whether the data is valid and any validation errors.

## Facts

- Endpoint: POST https://92-222-181-125.sslip.io/v1/json/validate?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/core-json-validator-2aab455d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KWiC1w1WbcH011ntpTqNj

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 core-json-validator-2aab455d -d '<json body>'
```

Example prompt: Before I import this user record JSON, validate it against my schema — the data is that user JSON string and the schema enforces required fields like 'id', 'email', and 'age' as an integer between 0 and 150. Tell me if it's valid or what violations were found.

## When to prefer this

Choose this endpoint when you need a lightweight, schema-constrained JSON validator that enforces draft-07 semantics (types, required, items, enums, numeric/length bounds) without needing regex, combinators, or external $ref resolution. Ideal for pre-import or pre-publish validation pipelines where you want a fast, bounded, pay-per-call check with predictable cost ($0.002 per call) and no server infrastructure to manage. Prefer alternatives if you need full draft-07 feature coverage including regex patterns, anyOf/oneOf/allOf combinators, or $ref to external schemas.

## Known failure modes

- Input JSON strings exceed 256 KiB limit — request rejected
- Schema depth exceeds 32 levels — validation refused
- Schema node count exceeds 2000 — work cap exceeded
- Data node count exceeds 10000 — node limit hit
- Schema contains regex patterns — not supported, returns error
- Schema uses combinators (anyOf, oneOf, allOf) — not supported
- Schema references external URIs — not supported
- Malformed JSON in dataJson or schemaJson — parse error returned
- Work cap of 50000 operations exceeded for complex schemas — error returned

## How this service works

Use this service before importing or publishing JSON to check it against a restricted draft-07 schema. Send dataJson and schemaJson as JSON-encoded strings. Max 256 KiB UTF-8 each, depth 32; bounded node and work limits. Supports types, required properties, items, enums and numeric/length bounds. No regex, combinators or external references. Invalid business data returns valid=false.

## Output

Returns a validation result object containing a boolean 'valid' field indicating whether the data conforms to the schema, plus a list of validation errors or constraint violations (e.g. missing required properties, wrong types, out-of-range values, invalid enum values) if validation fails.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "dataJson": {
   "type": "string",
   "maxLength": 262144,
   "description": "JSON-encoded data, at most 256 KiB UTF-8, depth 32, 10000 nodes."
  },
  "schemaJson": {
   "type": "string",
   "maxLength": 262144,
   "description": "JSON-encoded restricted draft-07 schema: at most 256 KiB UTF-8, depth 32, 2000 nodes. No external references, regex or combinators. Work cap 50000."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/core-json-validator-2aab455d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 92-222-181-125.sslip.io](https://www.zero.xyz/host/92-222-181-125.sslip.io/llms.txt)
