{"uid":"cap_gkiYzFU6P4R00KoU9EJJ9","slug":"agentics-json-schema-validator-086bf840","name":"Agentics JSON Schema Validator","description":"Correctness-critical services for autonomous AI agents","url":"https://x402rail.net/v1/validate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{"description":"The JSON value to validate against `schema` (any JSON type: object, array, string, number, boolean, null)."},"schema":{"type":"object","description":"The JSON Schema to validate against (draft 2020-12 / draft-07 compatible). An invalid schema is rejected with 422 before settlement.","additionalProperties":true}}},"responseSchema":{"type":"json","example":{"valid":false,"errors":[{"path":"/email","keyword":"format","message":"must match format \"email\""}],"errorCount":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_e1Wgzh1_nxxVbegMSxCsI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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 provided JSON Schema (draft 2020-12 / draft-07) and returns detailed validation errors","exampleAgentPrompt":"Can you check whether this object {\"name\": \"Alice\", \"email\": \"not-an-email\", \"age\": -1} is valid against this JSON Schema: {\"type\": \"object\", \"properties\": {\"name\": {\"type\": \"string\"}, \"email\": {\"type\": \"string\", \"format\": \"email\"}, \"age\": {\"type\": \"integer\", \"minimum\": 0}}, \"required\": [\"name\", \"email\"]} — and list any errors?","exampleUseCases":null,"resultDescription":"Returns a JSON object with a boolean 'valid' field, an 'errors' array (each error includes a JSON pointer path, the failing keyword, and a human-readable message), and an 'errorCount' integer. If valid, errors is empty and errorCount is 0. If the provided schema itself is malformed, the request is rejected with 422 before payment is settled.","failureModes":["Invalid JSON Schema provided — rejected with HTTP 422 before payment, no charge incurred","Malformed request body — missing required 'value' or 'schema' fields","Network timeout or service unavailability","Payment failure via x402 protocol if USDC balance is insufficient","Schema uses unsupported draft features beyond draft-2020-12/draft-07 compatibility"],"whenToPreferThis":"Choose this endpoint when an AI agent needs correctness-critical, paid-for validation with guaranteed JSON Schema draft-07/2020-12 support and detailed per-field error reporting. Particularly useful when you need reliable validation as part of an autonomous workflow where schema conformance must be verified before downstream actions, and when the safety guarantee of rejecting invalid schemas before payment settlement is important.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:33:31.641Z","isFirstParty":false}