JSON-Schema (2020-12) validate + explain (paid $0.001)
jsonschemaValidates any value against a JSON Schema (draft 2020-12) and translates each error into plain English, specifying the property, what went wrong, and allowed values. Pay $0.001 per call via x402.
Instructions
PAID $0.001. Validate a value against a JSON Schema (draft 2020-12) and explain every error in plain English (which property, what was wrong, allowed values). Args: schema (object), data (any). Without payment returns the x402 challenge; pass x_payment to settle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | The value to validate against the schema. | |
| schema | Yes | A JSON Schema (draft 2020-12) object. | |
| x_payment | No | x402 payment payload (base64) for this PAID tool. If supplied it is forwarded as the X-PAYMENT header to settle the $0.001 call and return the real result instead of a 402 challenge. Omit to get the price challenge first. |