# Strale JSON Schema Validate

> Strale JSON Schema Validate is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0216/call, status unknown (last checked 2026-09-15).

Validates a JSON Schema document for correctness and conformance to the JSON Schema specification

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/json-schema-validate
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-json-schema-validate-845a294b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sUvTxdVgQlP4AqlkN-D2Z

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 strale-json-schema-validate-845a294b
```

Example prompt: Can you validate this JSON schema for me and tell me if it's correct: {"type":"object","properties":{"name":{"type":"string"},"age":{"type":"integer"}},"required":["name"]}?

## When to prefer this

Choose this endpoint when you need a programmatic, auditable check that a JSON Schema document is itself structurally valid and spec-compliant — especially in CI/CD pipelines, agent workflows that generate schemas dynamically, or when you need a cryptographic audit trail of the validation event. Prefer this over client-side linters when tamper-evident audit records matter.

## Known failure modes

- Missing or empty schema input — returns error indicating required field
- Malformed JSON (not valid JSON at all) — returns parse error before schema validation
- Unsupported draft version or unrecognized $schema value — may return partial or unexpected results
- Network timeout — standard HTTP error response
- Insufficient USDC balance for x402 micropayment — payment rejected before execution

## How this service works

The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.

## Output

Returns a validation result indicating whether the provided JSON Schema is valid, along with any specific errors found (such as invalid keywords, type mismatches, or structural violations). Each call also returns a cryptographic audit record with chain hashing for traceability.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "schema": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-json-schema-validate-845a294b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
