{"uid":"cap_VB5aoyluIONADQ5XC7iqy","slug":"centralcity-ai-json-schema-validator-0c48a1b9","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_btlqpej3n73wietz?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_mRFSRt58n545qiol2qZqd","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 conforms to my schema? Here's the JSON: {\"name\":\"Alice\",\"age\":30} and the schema: {\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"age\":{\"type\":\"integer\",\"minimum\":0}},\"required\":[\"name\",\"age\"]}.","exampleUseCases":[{"title":"API request body pre-flight check","prompt":"Before I send this payload to the payment API, validate it against this schema to make sure all required fields are present and the types are correct — here's the JSON and schema."},{"title":"User-submitted form data validation","prompt":"A user submitted this form as JSON — can you check it against our registration schema to see if it's valid? The JSON is {\"email\":\"bob@example.com\",\"age\":\"twenty\"} and the schema requires email as a string and age as an integer."},{"title":"Config file schema compliance check","prompt":"I have a config file in JSON format and a strict schema that defines what fields are allowed. Can you validate the config against the schema and tell me what's wrong if anything fails?"}],"resultDescription":"Returns whether the JSON document is valid against the given schema, along with details of any violations such as which properties failed, which constraints were broken (type mismatch, missing required field, value out of range, pattern mismatch, etc.), and their locations within the document.","failureModes":["JSON document exceeds 64 KiB limit — rejected","JSON Schema exceeds 16 KiB limit — rejected","Malformed JSON in either field — parse error returned","Unsupported JSON Schema keywords silently ignored or errored","Payment failure due to insufficient USDC balance"],"whenToPreferThis":"Choose this endpoint when you need programmatic, deterministic JSON Schema validation without spinning up a local validator library. Ideal for agents that receive arbitrary JSON payloads and need to verify conformance to a known schema before processing, storing, or forwarding the data. Particularly useful for lightweight serverless pipelines where adding a validation dependency is impractical.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:38:30.344Z","isFirstParty":false,"canonicalSlug":"centralcity-ai-json-schema-validator-b25bd3a7"}