{"uid":"cap_bFwyd3t9M-ciws69XfwJR","slug":"centralcity-ai-json-schema-validator-b25bd3a7","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_5j5v4uiwahzooxen?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_NZSNDBEOfSYE4h75B-jzy","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 document is valid against my schema? The JSON is '{\"name\":\"Alice\",\"age\":28}' and the schema requires name to be a string, age to be an integer between 0 and 120, and both fields to be required with no additional properties allowed.","exampleUseCases":[{"title":"API response schema conformance check","prompt":"I got this JSON back from a third-party API: '{\"id\":\"abc123\",\"price\":\"19.99\",\"tags\":[\"sale\"]}' — can you check it against my schema that requires id to be a string, price to be a number, and tags to be an array of strings? I need to know if it's valid before I process it."},{"title":"User-submitted form data validation","prompt":"A user submitted this form payload: '{\"email\":\"not-an-email\",\"age\":17,\"role\":\"superadmin\"}' — validate it against a schema that requires email to match an email pattern, age to be a minimum of 18, and role to be one of 'admin', 'editor', or 'viewer'."},{"title":"Config file structure enforcement","prompt":"Before I deploy, can you validate this config JSON against my schema? The config is '{\"maxRetries\":5,\"timeout\":30,\"mode\":\"fast\"}' and the schema says maxRetries must be an integer, timeout must be between 1 and 60, mode must be either 'fast' or 'slow', and no extra properties are allowed."}],"resultDescription":"Returns a validation result indicating whether the JSON document conforms to the provided JSON Schema, along with details of any constraint violations such as missing required fields, type mismatches, enum failures, out-of-range values, pattern failures, or unexpected additional properties.","failureModes":["JSON document exceeds 64 KiB limit — rejected","JSON Schema exceeds 16 KiB limit — rejected","Malformed JSON in either input field — parse error returned","Unsupported JSON Schema keywords silently ignored","Schema references ($ref) to external URIs not resolved"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call JSON Schema validation service without spinning up a local validator or managing dependencies. Ideal for agents that need to validate ad-hoc JSON payloads or API responses against schemas at runtime, particularly when the schema includes standard keywords like type, required, enum, pattern, minimum, maximum, minLength, maxLength, and additionalProperties.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:40:53.609Z","isFirstParty":false,"canonicalSlug":"centralcity-ai-json-schema-validator-b25bd3a7"}