{"uid":"cap_hyhiO5bjkFExDj93MJkLt","slug":"apiacre-com-json-schema-validator-854131e3","name":"apiacre.com JSON Schema Validator","description":"Validate JSON data against a bounded JSON Schema Draft 2020-12 contract for nested objects, arrays, required properties, types, enums, formats, lengths, patterns, and numeric bounds; return deterministic instance and schema JSON Pointers, explicit error truncation, input hashes, and no remote reference resolution.","url":"https://apiacre.com/v1/data/schema-validate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"object"},"instance":{},"max_errors":{"type":"integer"},"check_formats":{"type":"boolean"}}},"responseSchema":{"type":"json","example":{"data":{"valid":false,"errors":[{"kind":"instance","keyword":"type","message":"'98' is not of type 'integer'","schemaPath":"/properties/score/type","instancePath":"/score"}],"schema":{"sha256":"9565a3dfc9aaadfaf2b3163f433b954d7d91246b6c225c11a8c16fe42ae841e4","dialect":"https://json-schema.org/draft/2020-12/schema","utf8Bytes":224,"declaredDialect":"https://json-schema.org/draft/2020-12/schema","remoteReferencesAllowed":false},"instance":{"sha256":"43d117eb76b608a0d05820c70320889a6577ff85446e00412b6e6487c1559149","utf8Bytes":27},"errorCount":1,"validation":{"draft":"2020-12","engine":"python-jsonschema","maxErrors":25,"engineVersion":"4.26.0","formatChecking":true},"schemaValid":true,"instanceValid":false,"errorsReturned":1,"errorCountExact":true,"errorsTruncated":false},"meta":{"cached":false,"sources":[],"warnings":[],"duration_ms":42,"next_actions":[{"path":"/v1/data/schema","title":"JSON Schema generator","method":"POST","reason":"Infer the rejected instance's observed Draft 2020-12 shape for comparison wit...","service":"data.schema"}]},"service":"data.schema-validate","version":"1","request_id":"018f1f54-7f38-7ba2-8dc3-5f90272d9f1a"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_j7sw0UYP54E2t8mmpBH8d","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates caller-supplied JSON against a JSON Schema Draft 2020-12 contract, returning deterministic error pointers, format checks, and input fingerprints without remote reference resolution.","exampleAgentPrompt":"Can you validate this JSON payload against my Draft 2020-12 schema and tell me exactly which fields are invalid and why, with precise error pointers?","exampleUseCases":[{"title":"API payload pre-flight validation","prompt":"Before I submit this order payload to the payment API, can you check it against my JSON Schema contract and tell me if there are any type mismatches or missing required fields?"},{"title":"CI pipeline schema conformance check","prompt":"I have a config file generated by my build script — can you validate it against our Draft 2020-12 schema and give me the exact JSON Pointer paths for any violations so I can fix them?"},{"title":"User-submitted form data verification","prompt":"A user just submitted this form data as JSON — can you run it against our schema to check for format errors like invalid emails or out-of-range numbers before we store it?"}],"resultDescription":"Returns a validation result indicating whether the JSON conforms to the supplied schema, along with deterministic error pointers (JSON Pointer paths) for each violation, format check results, an input fingerprint for the submitted document, and a bounded schema conformance status — with no remote $ref resolution performed.","failureModes":["Schema references external URIs — rejected because remote reference resolution is disabled","Malformed JSON input — parse error returned before validation begins","Invalid JSON Schema itself — schema validation error returned","Payload exceeds size bounds — request rejected with size limit error","Unsupported JSON Schema draft version — only Draft 2020-12 is supported"],"whenToPreferThis":"Prefer this endpoint when you need deterministic, reproducible JSON Schema Draft 2020-12 validation with precise JSON Pointer error locations and input fingerprinting, especially when security requires no outbound network calls for remote $ref resolution. Ideal for validating API payloads, configuration files, or user-submitted data against a known bounded schema contract.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:44:15.241Z","isFirstParty":false}