{"uid":"cap_1l_uUq5X_rKoOXN4lbgxQ","slug":"centralcity-ai-json-schema-validator-ada866f0","name":"centralcity.ai JSON Schema Validator","description":"Checks a JSON document against a JSON Schema (type, properties, required, items, enum, const, minimum, maximum, minLength, maxLength, pattern, additionalProperties).","url":"https://centralcity.ai/api/public/x402/off_yn5qtdn2prjtohs3?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"json":{"type":"string","description":"The JSON document, at most 64 KiB."},"schema":{"type":"string","description":"The JSON Schema as JSON text, at most 16 KiB."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_x3GaDl2SioXEvOt1_4PNC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","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 JSON Schema, checking type, properties, required fields, items, enum, const, min/max, length, pattern, and additionalProperties constraints.","exampleAgentPrompt":"Can you check whether this JSON — {\"name\":\"Alice\",\"age\":28,\"email\":\"alice@example.com\"} — is valid against this schema: {\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"age\":{\"type\":\"integer\",\"minimum\":0},\"email\":{\"type\":\"string\",\"format\":\"email\"}},\"required\":[\"name\",\"age\"]}?","exampleUseCases":[{"title":"API response contract check","prompt":"I got this JSON response from a third-party API and I need to make sure it matches the schema my backend expects — can you validate it and tell me if anything is missing or the wrong type?"},{"title":"User input validation before processing","prompt":"Before I store this form submission JSON in the database, check it against my validation schema — flag any fields that fail the required, type, or pattern rules."},{"title":"CI pipeline schema conformance test","prompt":"I have a config JSON file that must conform to our deployment schema — please validate it and list every violation so I can fix them before the build runs."}],"resultDescription":"Returns a validation result indicating whether the JSON document is valid against the provided JSON Schema, along with details of any constraint violations found (e.g. wrong type, missing required field, value out of range, pattern mismatch, disallowed additional properties).","failureModes":["JSON document exceeds 64 KiB limit — rejected","JSON Schema exceeds 16 KiB limit — rejected","Malformed JSON in the 'json' field — parse error returned","Malformed JSON Schema in the 'schema' field — schema parse error returned","Unsupported JSON Schema keywords silently ignored or returning unexpected results","Network timeout on large documents near the size limit"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call JSON Schema validation without standing up a validation library or server. Ideal for agents that occasionally need to verify JSON payloads against schemas (API responses, config files, form data) without integrating a full validation SDK. Prefer over general-purpose LLM-based validation when you need deterministic, spec-compliant schema enforcement.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:38:18.647Z","isFirstParty":false,"canonicalSlug":"centralcity-ai-json-schema-validator-b25bd3a7"}