{"api":"v1","generated_at":"2026-09-16T00:42:28.171Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/keyronne-com-api-validate-json-4a188b","pinned_page":"https://tollindex.com/e/keyronne-com-api-validate-json-4a188b/at/2026-09-15T21-20Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-15T21:20:12.737Z","snapshot_stamp":"2026-09-15T21-20Z","endpoint":{"slug":"keyronne-com-api-validate-json-4a188b","canonical_url":"https://keyronne.com/api/validate-json","resource":"https://keyronne.com/api/validate-json","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Validate a JSON value against a JSON Schema and coerce common LLM-output mistakes (numbers as strings, stringified booleans, scalars where arrays are expected, missing defaults, extra properties). Returns the coerced value plus a structured error report. Built for cleaning up LLM tool-call arguments and structured outputs. POST a JSON body like: {\"schema\":{\"type\":\"object\",\"required\":[\"name\",\"age\"],\"properties\":{\"name\":{\"type\":\"string\"},\"age\":{\"type\":\"integer\"}}},\"data\":{\"name\":\"Ada\",\"age\":\"36\"}}","service_name":"JSON Schema Validator","declared_category":null,"declared_tags":["json","validation","llm-outputs","coercion","schema"],"route_template":null,"registry_updated":"2026-09-08T08:07:18.478Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"validate json","category":"inference","first_observed_by_toll":"2026-09-10T19:08:24.178Z","last_observed_by_toll":"2026-09-15T21:20:12.737Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-10T19:08:24.178Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.001 USDC","amount_units":0.001,"decimals_known":true,"pay_to":"0xB86F95EF5FA904318Ea9Df3b59AdCe099b478fC4","scheme":"exact"}],"counters":{"observed_at":"2026-09-15T21:20:12.737Z","calls_30d":2,"unique_payers_30d":2,"last_called_at":"2026-09-08T08:07:18.199Z"},"validation":{"latest":{"observed_at":"2026-09-15T04:39:27.741Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-09-15"},"uptime":[{"days":7,"observed":5,"passed":5,"ratio":1},{"days":30,"observed":5,"passed":5,"ratio":1},{"days":90,"observed":5,"passed":5,"ratio":1}],"history_90d":[{"observed_at":"2026-09-15T04:39:27.741Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-15","state_changed":false},{"observed_at":"2026-09-14T04:35:19.029Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-14","state_changed":false},{"observed_at":"2026-09-13T04:33:42.579Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-13","state_changed":false},{"observed_at":"2026-09-12T06:49:48.558Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-12","state_changed":false},{"observed_at":"2026-09-11T10:23:37.715Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-11","state_changed":true}]},"seller":{"wallet":"0xB86F95EF5FA904318Ea9Df3b59AdCe099b478fC4","page":"https://tollindex.com/seller/0xB86F95EF5FA904318Ea9Df3b59AdCe099b478fC4","endpoints":14,"hosts":1},"reports":0,"registry_record":{"cdp":[{"tags":["json","validation","llm-outputs","coercion","schema"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0xB86F95EF5FA904318Ea9Df3b59AdCe099b478fC4","amount":"1000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":60}],"quality":{"lastCalledAt":"2026-09-08T08:07:18.199Z","l30DaysTotalCalls":2,"l30DaysUniquePayers":2},"resource":"https://keyronne.com/api/validate-json","extensions":{"bazaar":{"info":{"input":{"body":{"data":{"age":"36","name":"Ada"},"schema":{"type":"object","required":["name","age"],"properties":{"age":{"type":"integer"},"name":{"type":"string"}}}},"type":"http","method":"POST","bodyType":"json"},"output":{"type":"json","example":{"valid":true,"value":{"age":36,"name":"Ada"},"errors":[],"warnings":[{"path":"$.age","message":"coerced string \"36\" to integer"}]}}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","properties":{"body":{"type":"object","required":["schema","data"],"properties":{"data":{"description":"The candidate JSON value to validate and coerce."},"coerce":{"type":"boolean","default":true,"description":"Attempt type coercion and default-filling before validating."},"schema":{"type":"object","description":"JSON Schema (draft-07 style subset: type, properties, required, items, enum, const, additionalProperties, min/max constraints, pattern, default)."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}}},"output":{"type":"object","properties":{"valid":{"type":"boolean"},"value":{"description":"The (possibly coerced) value."},"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}}}},"warnings":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}}}}}}}}}},"description":"Validate a JSON value against a JSON Schema and coerce common LLM-output mistakes (numbers as strings, stringified booleans, scalars where arrays are expected, missing defaults, extra properties). Returns the coerced value plus a structured error report. Built for cleaning up LLM tool-call arguments and structured outputs. POST a JSON body like: {\"schema\":{\"type\":\"object\",\"required\":[\"name\",\"age\"],\"properties\":{\"name\":{\"type\":\"string\"},\"age\":{\"type\":\"integer\"}}},\"data\":{\"name\":\"Ada\",\"age\":\"36\"}}","lastUpdated":"2026-09-08T08:07:18.478Z","serviceName":"JSON Schema Validator","x402Version":2}]}}