{"uid":"cap_1rBgwomT3dbaYDigiLMCL","slug":"json-schema-validator-api-c50464a9","name":"JSON Schema Validator API","description":"Validate JSON data against a JSON Schema (draft-07, Ajv). Returns valid + detailed errors with instance paths.","url":"https://validate.yankii.fr/v1/validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"description":"Any JSON value to validate"},"schema":{"type":"object","description":"JSON Schema (draft-07) to validate against"}}},"responseSchema":{"type":"json","example":{"valid":true,"errors":[],"validatedAt":"2026-10-03T10:00:00.000Z"}},"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_FO0gRLgncpylAULXcuHa1","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 any JSON value against a JSON Schema (draft-07, Ajv) and returns a validity flag plus detailed error paths.","exampleAgentPrompt":"Check if this JSON object is valid against my schema — the data is {\"name\":\"Alice\",\"age\":30} and the schema requires name to be a string and age to be an integer greater than 0.","exampleUseCases":[{"title":"API response contract verification","prompt":"Validate this API response payload against our expected schema — the response is {\"id\":\"abc123\",\"status\":\"active\",\"count\":5} and the schema says id must be a string, status one of ['active','inactive'], and count a positive integer."},{"title":"User form submission validation","prompt":"Check if this user registration form data is valid according to our schema — the data is {\"email\":\"user@example\",\"age\":-1} and the schema requires email to match an email format and age to be a number between 1 and 120."},{"title":"Config file schema compliance check","prompt":"Validate this config JSON against the schema — config is {\"timeout\":\"30\",\"retries\":3} and the schema says timeout must be a number and retries an integer between 1 and 10, and tell me exactly which fields are wrong."}],"resultDescription":"Returns a JSON object with a 'valid' boolean, an 'errors' array containing detailed Ajv validation error objects with instance paths and messages for each failure, and a 'validatedAt' ISO timestamp.","failureModes":["Missing or malformed 'schema' field returns an error response","Invalid JSON in request body causes a parse error","Schema references external $refs that cannot be resolved may fail validation","Very deeply nested schemas may hit processing limits","Network timeout if the service is unavailable"],"whenToPreferThis":"Choose this endpoint when you need server-side JSON Schema draft-07 validation powered by Ajv with detailed per-field error paths, especially in automated pipelines where you cannot run Ajv locally or need a language-agnostic HTTP-based validation step. Prefer it over client-side validation libraries when the validating agent lacks a JavaScript runtime or when you want a consistent, auditable validation service with a timestamp.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:31:22.847Z","isFirstParty":false,"canonicalSlug":"json-schema-validator-api-c50464a9"}