Util JSON validate
util_json_validateUse when you must check that a JSON document fits a schema before acting on it: validates json against a JSON Schema subset. Returns the exact paid x402 request for your input (GET /util/json-validate, $0.001 per call), with the response schema and an example; call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. With a P0 access key (header Authorization: Bearer p0k_…, buy one at https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/keys/buy?usd=5) this tool makes the paid call itself and returns the data, deducting the listed price.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | The document (JSON text; an object in a POST body is accepted too) | |
| schema | Yes | JSON Schema (subset) as JSON text |