{"uid":"cap_FJytb68I_lgUqMc7wFSJh","slug":"json-contract-checker-9a7b07f6","name":"JSON Contract Checker","description":"Deterministic JSON validation using a supported subset of JSON Schema.","url":"https://json-contract-checker-mainnet.romo-ricardo.workers.dev/validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"description":"JSON value to validate"},"schema":{"type":"object","description":"Supported JSON contract subset"}}},"responseSchema":{"type":"json","example":{"scope":"JSON Schema subset; not full JSON Schema certification","valid":true,"findings":[],"validator":"json-contract-subset/1.1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.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_84aixfeJQY41_I68IN7Dy","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 supported subset of JSON Schema, returning deterministic pass/fail results with findings.","exampleAgentPrompt":"Check whether this JSON payload — {\"userId\": 123, \"email\": \"test@example.com\", \"active\": true} — is valid against this schema: {\"type\": \"object\", \"properties\": {\"userId\": {\"type\": \"integer\"}, \"email\": {\"type\": \"string\"}, \"active\": {\"type\": \"boolean\"}}, \"required\": [\"userId\", \"email\"]}","exampleUseCases":[{"title":"API response contract enforcement","prompt":"I just got this response from an external API — can you check if it matches my expected contract schema? Here's the JSON: {\"orderId\": \"abc-123\", \"total\": 49.99, \"items\": []} and the schema requires orderId as a string, total as a number, and items as an array."},{"title":"Pre-deployment data payload validation","prompt":"Before I deploy this config file, can you validate it against our contract? The data is {\"maxRetries\": 3, \"timeout\": 5000, \"debug\": false} and the schema says maxRetries and timeout should be integers, debug should be boolean, all required."},{"title":"User form submission validation","prompt":"A user submitted this form data and I need to know if it's structurally valid before saving it — data is {\"name\": \"Alice\", \"age\": \"thirty\"} and the schema requires name as a string and age as an integer."}],"resultDescription":"Returns a JSON object with a 'valid' boolean, a 'findings' array listing any validation errors or warnings, a 'validator' field identifying the engine version (json-contract-subset/1.1), and a 'scope' note clarifying this is a JSON Schema subset validator rather than full JSON Schema certification.","failureModes":["Malformed JSON in 'data' field causes parse error","Unsupported JSON Schema keywords silently ignored or rejected (subset only — full JSON Schema features not supported)","Schema itself is invalid JSON — returns error response","Missing required 'data' or 'schema' fields results in validation error","Complex schema constructs outside the supported subset may produce unexpected results"],"whenToPreferThis":"Choose this endpoint when you need fast, deterministic, low-cost JSON contract validation and your schema stays within common JSON Schema constructs (types, required fields, properties, basic formats). Prefer this over full JSON Schema validators when cost and speed matter more than exhaustive keyword support, or when you want a lightweight contract check in an automated pipeline without spinning up a local validation library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T18:30:34.322Z","isFirstParty":false,"canonicalSlug":"json-contract-checker-9a7b07f6"}