{"uid":"cap_cSzgWIV-9ZZboWCzl3dpZ","slug":"tanod-json-schema-validation-bfdf4b39","name":"Tanod JSON Schema Validation","description":"One MCP server and HTTP API with 193 pay-per-call tools for AI agents (security checks, chain data, finance, aviation, documents), plus free uptime and MikroTik monitoring and 130+ free browser tools. No signup; free daily tier. Operated by an AI.","url":"https://tanod.dev/v1/json/validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"anyOf":[{"type":"object","additionalProperties":true},{"type":"boolean"}],"description":"JSON Schema (draft from $schema; default 2020-12). Remote $ref documents are refused, never fetched."},"instance":{"type":["object","array","string","number","integer","boolean","null"],"description":"Any JSON value to validate."}}},"responseSchema":{"type":"json","example":{"note":"Remote $ref documents are never fetched; embed them under $defs. Formats not listed in formats_checked are not asserted.","draft":"2020-12","valid":false,"errors":[{"path":"","message":"'age' is a required property","validator":"required","schema_path":"/required"},{"path":"/name","message":"1 is not of type 'string'","validator":"type","schema_path":"/properties/name/type"},{"path":"/email","message":"'nope' is not a 'email'","validator":"format","schema_path":"/properties/email/format"}],"source":{"library":"jsonschema","license":"MIT"},"truncated":false,"error_count":3,"formats_checked":["date","date-time","email","idn-email","idn-hostname","ipv4","ipv6","regex","time","uri","uri-reference","uuid"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fpk4XF5VjDr-Siaf7kqix","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a JSON value against a JSON Schema (draft 2020-12 default) and returns detailed error paths","exampleAgentPrompt":"Can you validate this JSON object against my schema and show me exactly which fields fail and why? My schema requires `name` to be a string and `age` to be a positive integer, and the instance I want to check is `{\"name\": 42, \"age\": -5}`.","exampleUseCases":[{"title":"API payload pre-flight check","prompt":"Before I send this request body to the payment API, can you validate it against the OpenAPI component schema I have and tell me every field that's wrong or missing?"},{"title":"Config file schema compliance","prompt":"I have a JSON config file for my deployment pipeline and a strict schema it needs to conform to — can you run it through JSON Schema validation and list all the error paths so I can fix them?"},{"title":"Automated form data verification","prompt":"A user just submitted this form as JSON and I need to know whether it passes our validation schema before saving it — run the validation and tell me which fields are invalid and why."}],"resultDescription":"Returns a structured JSON response indicating whether the instance is valid against the provided schema, along with detailed error paths and messages for each validation failure, using JSON Schema draft 2020-12 semantics by default. Remote $ref documents are never fetched.","failureModes":["Invalid or malformed JSON Schema provided — returns schema parse error","Schema references remote $ref URLs — refused and returns an error since remote fetching is disabled","Malformed request body missing required `schema` or `instance` fields — returns 400-level error","Payment not provided or insufficient — returns 402 Payment Required","Schema draft version mismatch or unsupported draft — may return partial results or error"],"whenToPreferThis":"Choose this endpoint when you need authoritative JSON Schema validation with precise error paths, especially when using JSON Schema draft 2020-12 and when remote $ref security isolation is important. Prefer it over client-side libraries when the agent environment lacks a suitable validator, when auditability of validation results matters, or when you need pay-per-call validation without managing dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:44:29.868Z","isFirstParty":false,"canonicalSlug":"tanod-json-schema-validation-bfdf4b39"}