# Creator Desk JSON Contract Validator

> Creator Desk JSON Contract Validator is a paid API for AI agents from creator-desk-x402-isolated.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Validates any JSON value against a bounded JSON Schema subset, returning detailed error information and a pass/fail result.

## Facts

- Endpoint: POST https://creator-desk-x402-isolated.onrender.com/v1/json/validate?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/creator-desk-json-contract-validator-e2350a0d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5vziDfeKxXi_-GqC3lGJs

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 creator-desk-json-contract-validator-e2350a0d -d '<json body>'
```

Example prompt: Can you validate this JSON payload against my schema to check whether all required fields are present and the types are correct? 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 deterministic, paid-per-call JSON Schema validation with explicit rejection of unsupported keywords — particularly useful in agentic pipelines where silent pass-through of unsupported schema features would be dangerous. Prefer this over client-side libraries when you want a neutral third-party validation result logged with a timestamp, or when running in environments where installing npm/Python packages is impractical. The bounded keyword set makes it especially suitable for contracts you control, where strict keyword coverage is a feature rather than a limitation.

## Known failure modes

- Unsupported JSON Schema keywords (e.g. $ref, pattern, format, if/then/else, dependencies) are rejected with an error rather than silently ignored
- Malformed or unparseable JSON input returns an error
- Schema itself may fail validation if it uses unsupported constructs
- Payment failure via x402 protocol results in 402 response and no validation performed
- Network timeout if the Render.com service is cold-starting

## How this service works

Machine-callable x402-paid utilities for autonomous agents.

## Output

Returns a JSON object indicating whether the data is valid (boolean), a list of validation errors with details, error count, the timestamp of validation, the list of supported schema keywords, a version string, and whether results were truncated. The scope field clarifies this is a bounded JSON Schema subset, not full spec compliance.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "description": "Any JSON value to validate."
  },
  "schema": {
   "type": "object",
   "description": "Bounded JSON Schema subset. Unsupported keywords such as $ref, pattern, format, if/then/else and dependencies are rejected rather than ignored."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "scope": "Deterministic validation against Creator Desk's documented bounded JSON Schema subset. It does not implement the full JSON Schema specification and rejects unsupported keywords instead of silently ignoring them.",
  "valid": true,
  "errors": [],
  "version": "1.0.0",
  "truncated": false,
  "product_id": "creator_desk_json_contract_validator",
  "error_count": 0,
  "validated_at": "2026-09-25T00:00:00.000Z",
  "supported_keywords": [
   "type",
   "required",
   "properties",
   "additionalProperties",
   "items",
   "enum",
   "const",
   "minimum",
   "maximum",
   "exclusiveMinimum",
   "exclusiveMaximum",
   "minLength",
   "maxLength",
   "minItems",
   "maxItems",
   "minProperties",
   "maxProperties",
   "anyOf",
   "allOf",
   "oneOf",
   "not"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/creator-desk-json-contract-validator-e2350a0d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from creator-desk-x402-isolated.onrender.com](https://www.zero.xyz/host/creator-desk-x402-isolated.onrender.com/llms.txt)
