{"slug":"x402-outpimp-com-jsonschemavalidate-27d69c","title":"Validates a JSON document against a JSON Schema using the industry-standard ajv ","host":"x402.outpimp.com","method":"POST","resource":"https://x402.outpimp.com/jsonSchemaValidate","category":"code","description":"Validates a JSON document against a JSON Schema using the industry-standard ajv validator, returning whether it is valid and a list of human-readable error messages if not.","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":650,"reported_calls_30d":3,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"document":{"name":"Ada"},"schema":{"properties":{"name":{"type":"string"}},"required":["name"],"type":"object"}},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"document":{"description":"The JSON document to validate against the schema. Max 50KB serialized."},"schema":{"description":"A JSON Schema object. Max 50KB serialized.","type":"object"}},"required":["schema","document"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":650,"error":null}],"description_full":"Validates a JSON document against a JSON Schema using the industry-standard ajv validator, returning whether it is valid and a list of human-readable error messages if not.","last_updated":"2026-08-30T22:18:35.441Z","schemes":["exact"]}