{"uid":"cap_HWfLdxp2g9X_3l9l-ZMCo","slug":"moneytools-json-schema-validator-ae71e566","name":"MoneyTools JSON Schema Validator","description":"Catalog of MoneyTools: 116 cheap, read-only tools for AI agents. Free daily tier, then x402 USDC micropayments or prepaid credits. Token safety, approvals, tx decoding, EIP-712 risk, gas, ENS, x402 validation, DNS, RDAP, JSON Schema, time, FX.","url":"https://tools.moneytools.dev/v1/json-validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"object","examples":[{"name":"gas","price":0.001}],"description":"JSON value to validate"},"draft":{"type":"string","description":"4 | 7 | 2019-09 | 2020-12 (default)"},"schema":{"type":"object","examples":[{"type":"object","required":["name","price"],"properties":{"name":{"type":"string"},"price":{"type":"number","minimum":0}}}],"description":"JSON Schema"}}},"responseSchema":{"type":"json","example":{"draft":"2020-12","valid":true,"errors":[],"errorCount":0}},"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_YpGFWXSUc2bfyZcrvUyqD","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 provided JSON Schema, supporting drafts 4, 7, 2019-09, and 2020-12","exampleAgentPrompt":"Validate this JSON object {\"name\":\"gas\",\"price\":0.001} against my schema {\"type\":\"object\",\"required\":[\"name\",\"price\"],\"properties\":{\"name\":{\"type\":\"string\"},\"price\":{\"type\":\"number\",\"minimum\":0}}} using JSON Schema draft 2020-12 and tell me if it passes.","exampleUseCases":[{"title":"API response contract verification","prompt":"Check if this API response payload {\"id\":42,\"status\":\"active\",\"tags\":[\"web\",\"mobile\"]} conforms to my schema {\"type\":\"object\",\"required\":[\"id\",\"status\"],\"properties\":{\"id\":{\"type\":\"integer\"},\"status\":{\"type\":\"string\"},\"tags\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}} using draft 7 — tell me if anything fails validation."},{"title":"User input validation before database write","prompt":"Before I save this user record {\"email\":\"alice@example.com\",\"age\":28} to the database, validate it against {\"type\":\"object\",\"required\":[\"email\",\"age\"],\"properties\":{\"email\":{\"type\":\"string\",\"format\":\"email\"},\"age\":{\"type\":\"integer\",\"minimum\":0,\"maximum\":120}}} with JSON Schema 2019-09 so I know it's safe."},{"title":"Configuration file schema check","prompt":"Can you validate my config file {\"timeout\":30,\"retries\":3,\"endpoint\":\"https://api.example.com\"} against {\"type\":\"object\",\"required\":[\"timeout\",\"endpoint\"],\"properties\":{\"timeout\":{\"type\":\"number\"},\"retries\":{\"type\":\"integer\"},\"endpoint\":{\"type\":\"string\"}}} using the default draft and list any errors?"}],"resultDescription":"Returns a JSON response indicating whether the input data is valid against the provided schema, along with any validation error details such as which fields failed and why (e.g. missing required properties, type mismatches, constraint violations).","failureModes":["Invalid or malformed JSON Schema provided — returns schema parsing error","Unsupported draft version specified — falls back to default or returns error","Missing required 'data' or 'schema' fields in request body — returns 400-level error","Deeply nested or extremely large payloads may exceed processing limits","Network timeout or service unavailability — returns 5xx error"],"whenToPreferThis":"Choose this endpoint when you need fast, cheap, one-off JSON Schema validation without spinning up a local validator library. Ideal for AI agents that receive dynamic JSON payloads and need to verify conformance before further processing. Supports all major JSON Schema drafts (4, 7, 2019-09, 2020-12), making it suitable for both legacy and modern schemas. At $0.001 per call with a free daily tier, it is cost-effective for high-frequency validation tasks in automated pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-01T06:44:23.416Z","isFirstParty":false,"canonicalSlug":"moneytools-json-schema-validator-ae71e566"}