{"uid":"cap_I18sGUGX76ZNoXt1DX_2P","slug":"json-schema-validator-8df3fe6e","name":"JSON Schema Validator","description":"Validate a JSON value against a JSON Schema (draft-07, with the standard string formats enabled). An invalid schema is rejected as a clean 400 before payment; a valid schema that the data simply fails to satisfy is a successful result with valid=false and a list of errors (path, keyword, message).","url":"https://jsonschema.openverbs.com/v1/validate","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["schema","data"],"properties":{"data":{"description":"The value to validate (any JSON type)."},"schema":{"type":"object","description":"The JSON Schema to validate against."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wQML3JZ_vSxRSeVAKGiZu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates any JSON value against a provided JSON Schema (Draft 2020-12) and returns whether the data conforms","exampleAgentPrompt":"Can you validate this JSON object against my schema to check if it's valid? The schema requires a 'name' string and an 'age' integer, and I want to test the object {\"name\": \"Alice\", \"age\": 30}.","exampleUseCases":[{"title":"API request body pre-flight check","prompt":"Before I send this payload to our API, validate it against the schema that requires 'userId' as a string and 'amount' as a positive number — the data I want to check is {\"userId\": \"u123\", \"amount\": -5}."},{"title":"Config file structure enforcement","prompt":"Check whether this config JSON conforms to our schema: the schema says it must have a 'host' string and a 'port' integer between 1 and 65535, and the data is {\"host\": \"localhost\", \"port\": 99999}."},{"title":"User-submitted form data validation","prompt":"I have a user-submitted form response and need to know if it's valid — the schema requires 'email' as a string format email and 'age' as an integer minimum 18, and the submitted data is {\"email\": \"not-an-email\", \"age\": 15}."}],"resultDescription":"Returns a validation result indicating whether the provided JSON data conforms to the given JSON Schema, along with any validation errors, failed constraints, or path-specific issues found during schema evaluation.","failureModes":["Invalid JSON Schema provided — schema object is malformed or uses unsupported keywords","Missing required fields in request body (schema or data fields absent)","Internal validation engine error for extremely complex or recursive schemas","Network timeout for unusually large JSON payloads"],"whenToPreferThis":"Use this endpoint when you need a quick, paid, API-accessible JSON Schema validation without running your own validation library — especially in agent workflows where you need programmatic schema conformance checks as a step, or when validating untrusted external data against a known schema before further processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:30:26.690Z","isFirstParty":false}