{"uid":"cap_yeRKbnF4_0ioTGFf0Ill9","slug":"sindri-json-schema-validator-cd0ecdca","name":"Sindri JSON Schema Validator","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.","url":"https://x402.outpimp.com/jsonSchemaValidate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"object","description":"A JSON Schema object. Max 50KB serialized."},"document":{"description":"The JSON document to validate against the schema. Max 50KB serialized."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fU5pkPRZFUW7Zl2525D-E","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a JSON document against a provided JSON Schema using the ajv validator, returning a validity flag and human-readable error messages.","exampleAgentPrompt":"Can you validate this JSON document against my schema and tell me if it's valid, and if not, list exactly what's wrong? Here's my schema: {\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"age\":{\"type\":\"integer\"}},\"required\":[\"name\",\"age\"]} and my document: {\"name\":\"Alice\",\"age\":\"thirty\"}.","exampleUseCases":[{"title":"API request body validation","prompt":"Before I send this request to our payment API, validate this JSON payload against the payment schema to catch any type mismatches or missing required fields — schema is {\"type\":\"object\",\"required\":[\"amount\",\"currency\"],\"properties\":{\"amount\":{\"type\":\"number\"},\"currency\":{\"type\":\"string\"}}} and the document is {\"amount\":\"100\",\"currency\":\"USD\"}."},{"title":"Config file correctness check","prompt":"I have a deployment config JSON and a strict schema for it — can you check whether the config is valid and give me a plain-English list of any problems? Schema: {\"type\":\"object\",\"required\":[\"host\",\"port\"],\"properties\":{\"host\":{\"type\":\"string\"},\"port\":{\"type\":\"integer\"}}} and config: {\"host\":\"localhost\"}."},{"title":"User form submission validation","prompt":"A user submitted this JSON form data and I need to know if it passes our user registration schema before storing it — schema requires 'email' as a string and 'age' as an integer at minimum, and the submitted data is {\"email\":42,\"username\":\"jdoe\"}."}],"resultDescription":"Returns a validity boolean indicating whether the document conforms to the schema, plus a list of human-readable error messages (each describing the exact field path and constraint violation) when validation fails. If valid, the error list is empty.","failureModes":["Schema or document exceeds 50KB serialized limit — request rejected","Malformed or invalid JSON Schema object provided — ajv may throw a parse/compile error","Missing 'schema' or 'document' fields in request body — returns error","Document is null or non-JSON — validation fails or errors returned","Payment not included or insufficient — 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need programmatic, standards-compliant JSON Schema validation with human-readable error messages powered by ajv — the industry-standard validator. Ideal for agents validating API payloads, form data, or config files on-the-fly without running local code. Prefer over custom validators when ajv compatibility and clear error messaging matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:57:12.252Z","isFirstParty":false}