{"uid":"cap_NLpRI3jhzwjE3SmiCjS_9","slug":"json-schema-validator-x402-offline-gate-1718458b","name":"JSON Schema Validator (x402 Offline Gate)","description":"Offline JSON Schema gate (type/required/properties/items + formats). Validate only — not schema-json-repair. Amp port.","url":"https://x402-v2-mint-json-schema-validate.vercel.app/v1/json-schema-validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"object"},"instance":{},"request_id":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"skill":"json-schema-validate","charged":true,"summary":"ok"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AcGi5oRORxl0kYih8gZgs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a JSON instance against a JSON Schema definition offline, checking type, required fields, properties, items, and formats — returning a pass/fail summary.","exampleAgentPrompt":"Can you check whether this JSON object passes its schema — the schema requires a 'name' string and an 'age' integer, and the instance I have is {\"name\": \"Alice\", \"age\": \"thirty\"} — I need to know if it validates or fails?","exampleUseCases":[{"title":"API response contract enforcement","prompt":"I'm getting back data from an external API and I need to know if the response matches our expected schema before I process it — the schema requires 'id' as a string and 'amount' as a number. Can you validate this response object against that schema for me?"},{"title":"User form submission validation","prompt":"Before I save this form submission to the database, validate it against our user profile schema — it requires 'email' as a valid email format and 'age' as an integer. Here's the submitted object: {\"email\": \"notanemail\", \"age\": 25}."},{"title":"Config file structure check","prompt":"I have a config JSON that's supposed to follow a strict schema with required fields 'host', 'port', and 'retries' — can you validate this config object against that schema and tell me if anything is missing or the wrong type?"}],"resultDescription":"Returns a JSON object with an 'ok' boolean (true if the instance is valid, false if not), a 'summary' string describing the validation outcome (e.g. 'ok' or an error description), a 'skill' identifier, and a 'charged' flag indicating the payment was processed.","failureModes":["Schema or instance missing from request body — returns validation error or 400","Instance violates type constraints — ok: false with summary describing the type mismatch","Required fields absent from instance — ok: false with summary listing missing properties","Invalid format values (e.g. bad email, malformed date-time) — ok: false with format error detail","Malformed schema object that cannot be parsed — may return error or unexpected result"],"whenToPreferThis":"Choose this endpoint when you need a fast, offline (no external network calls), pay-per-use JSON Schema validation gate that checks type correctness, required fields, property definitions, array items, and format constraints without modifying or repairing the input. Ideal for agentic pipelines that need to enforce data contracts at runtime without bundling a local validation library, or when operating in an x402 payment-gated microservice architecture.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T00:34:41.968Z","isFirstParty":false,"canonicalSlug":"json-schema-validator-x402-offline-gate-1718458b"}