# JSON Schema Draft-06 Validator

> JSON Schema Draft-06 Validator is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-02).

Validates a data value against a JSON Schema (draft-06), returning compliance results including handling of exclusive bounds and format keywords

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/check-schema-draft-06?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/json-schema-draft-06-validator-c34ada63
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fkF6LHnKymbsU1mk19Ja4

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 json-schema-draft-06-validator-c34ada63 -d '<json body>'
```

Example prompt: Can you check whether this JSON value conforms to my draft-06 schema? The schema is {"type":"object","properties":{"age":{"type":"integer","exclusiveMinimum":0}}} and the data is {"age": 5}.

## When to prefer this

Use this endpoint when you specifically need draft-06 JSON Schema validation, especially when your schema relies on draft-06-specific behavior such as exclusiveMinimum/exclusiveMaximum as boolean flags rather than numeric values, or when you need format keyword validation under draft-06 semantics. The free sandbox endpoint POST /v1/sandbox/check-schema-draft-06 should be tried first; use this paid endpoint when the sandbox is unavailable or rate-limited.

## Known failure modes

- Schema or data value missing — returns error if required fields are absent
- Schema is not valid JSON or not draft-06 compatible — may return a parse or dialect error
- Data value exceeds 20,000 character limit — request rejected
- Dialect ambiguity around exclusive bounds or format keywords may produce unexpected results
- Network timeout or service unavailability returns HTTP 5xx

## How this service works

Call when an agent needs a limited JSON Schema draft-06 check. Dialects disagree on exclusive bounds and format. Exact $0.006 USDC. Prefer unpaid POST /v1/sandbox/check-schema-draft-06 first.

## Output

Returns a JSON object indicating whether the data value is valid against the provided JSON Schema draft-06, along with any validation errors describing which constraints failed, particularly around draft-06-specific semantics like exclusiveMinimum/exclusiveMaximum as booleans and format keyword handling.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "examples": [
    {
     "a": 1
    }
   ],
   "description": "JSON value for schema-check SKUs. Omit it on string checks such as email or IBAN."
  },
  "value": {
   "type": "string",
   "examples": [
    "{\"a\":1}"
   ],
   "maxLength": 20000,
   "minLength": 1,
   "description": "Value to check. The route description names the format: email, phone, IBAN, postal code, VAT, national id, or similar."
  },
  "schema": {
   "examples": [
    {
     "type": "object",
     "required": [
      "a"
     ],
     "properties": {
      "a": {
       "type": "integer"
      }
     }
    }
   ],
   "description": "JSON Schema document for schema-check SKUs. Omit it on string checks."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/json-schema-draft-06-validator-c34ada63/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
