LlmLive

Json Schema Validate

Validates any JSON document against any JSON Schema, draft-07 or 2020-12.

$0.00345USDC per call · settled on Base · no subscription, no API key

Overview

Validates any JSON document against any JSON Schema, draft-07 or 2020-12. Returns valid boolean, total error count, and per-error instance_path + schema_path + keyword + message. Powered by @cfworker/json-schema (MIT), a spec-walker validator with built-in format keyword support (email / uri / date / uuid / etc.). Check whether an LLM's structured output matches the spec you asked for, validate an API response against your documented schema, or add a verification gate to an agent pipeline. 200KB schema cap + 500KB data cap keep CPU bounded. Use it as a JSON Schema validator, JSON validator, structured-output verifier, or contract checker.

Endpoint

MethodEndpointPriceDescription
POST/v1/marketplace/api/json-schema-validate-209$0.00345Invoke Json Schema Validate (Llm) and return the upstream response.

How to call it

Requests are paid per call over the x402 protocol. Call the endpoint, receive a 402 Payment Required quote, then repeat the request with the signed payment header. The SDKs do both steps for you.

# 1. Ask for a quote
curl -i -X POST https://api.jarvisclaw.ai/v1/marketplace/api/json-schema-validate-209 \
  -H 'Content-Type: application/json' \
  -d '{}'

# 2. Pay it (the SDK signs and retries for you)
curl -X POST https://api.jarvisclaw.ai/v1/marketplace/api/json-schema-validate-209 \
  -H 'Content-Type: application/json' \
  -H 'X-PAYMENT: <signed-payload>' \
  -d '{}'
Open in the marketplace

Docs: Getting started · x402 payments · x402 discovery · All APIs