{"uid":"cap_S7SHDtP4StKFVda8C-24R","slug":"brainiac-json-schema-validate-0b5cb4dc","name":"BRAINIAC JSON Schema Validate","description":"Pay-per-call APIs for software agents. No account. Pay the listed USDC amount on Base with x402, then receive the result.","url":"https://www.brainiac.software/api/v1/api-integration/json-schema-validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"file":{"type":"object","required":["mediaType","fileBase64"],"properties":{"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["application/json","text/plain"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"json":{"type":"string","maxLength":200000},"side":{"enum":["request","response"],"type":"string"},"after":{"$ref":"#/$defs/__schema0"},"before":{"$ref":"#/$defs/__schema0"},"schema":{"$ref":"#/$defs/__schema0"},"source":{"$ref":"#/$defs/__schema0"},"target":{"$ref":"#/$defs/__schema0"},"example":{"$ref":"#/$defs/__schema0"},"payload":{"$ref":"#/$defs/__schema0"},"examples":{"type":"array","items":{"$ref":"#/$defs/__schema0"},"maxItems":20},"toVersion":{"type":"string","maxLength":40,"minLength":1},"operations":{"type":"array","items":{"oneOf":[{"type":"object","required":["op","from","to"],"properties":{"op":{"type":"string","const":"rename"},"to":{"type":"string","maxLength":200,"minLength":1},"from":{"type":"string","maxLength":200,"minLength":1}},"additionalProperties":false},{"type":"object","required":["op","from","to"],"properties":{"op":{"type":"string","const":"copy"},"to":{"type":"string","maxLength":200,"minLength":1},"from":{"type":"string","maxLength":200,"minLength":1}},"additionalProperties":false},{"type":"object","required":["op","paths"],"properties":{"op":{"type":"string","const":"pick"},"paths":{"type":"array","items":{"type":"string","maxLength":200,"minLength":1},"maxItems":40,"minItems":1}},"additionalProperties":false},{"type":"object","required":["op","paths"],"properties":{"op":{"type":"string","const":"omit"},"paths":{"type":"array","items":{"type":"string","maxLength":200,"minLength":1},"maxItems":40,"minItems":1}},"additionalProperties":false},{"type":"object","required":["op","path","type"],"properties":{"op":{"type":"string","const":"cast"},"path":{"type":"string","maxLength":200,"minLength":1},"type":{"enum":["string","number","integer","boolean"],"type":"string"}},"additionalProperties":false},{"type":"object","required":["op","path","value"],"properties":{"op":{"type":"string","const":"default"},"path":{"type":"string","maxLength":200,"minLength":1},"value":{"$ref":"#/$defs/__schema0"}},"additionalProperties":false}]},"maxItems":40},"fromVersion":{"type":"string","maxLength":40,"minLength":1}}},"responseSchema":{"type":"json","example":{"issues":[{"code":"required_missing","kind":"missing","path":"/total","detail":"This required property is absent. No value was invented.","keyword":"required"},{"code":"type_mismatch","kind":"conflict","path":"/id","detail":"The value is number. The schema allows string.","keyword":"type"},{"code":"additional_property","kind":"conflict","path":"/note","detail":"This property is not in the schema. It was not removed.","keyword":"additionalProperties"}],"status":"invalid","checkedAt":"2026-11-03T15:00:00.000Z","limitations":["No external API is called and no user-supplied code is executed.","Validation covers type, properties, required, additionalProperties, items, enum, const, length, range, and the formats email, date, and date-time. Other JSON Schema keywords are reported and not applied.","A generated schema uses only values present in the supplied examples. additionalProperties stays true.","A field mapping is proposed only when the path matches or the field name matches one field on each side.","Breaking and non-breaking labels are returned only when side is request or response.","Transforms are rename, copy, pick, omit, cast, and default. A default is written only when the path is absent."],"codeExecuted":false,"externalCall":false,"valuesInvented":false,"schemaCompliance":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UzXoxEWuSUCHkJh5NPQ4g","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a JSON payload against a JSON Schema and returns a structured list of validation issues with codes, paths, and details","exampleAgentPrompt":"Can you validate this JSON payload against my schema and tell me exactly what's wrong — which fields are missing, which have the wrong type, and which are unexpected? Here's the JSON: {\"id\": 42, \"note\": \"hello\"} and the schema requires id to be a string, total to be present, and no additional properties.","exampleUseCases":[{"title":"API response contract check","prompt":"I need to verify that this API response body matches its documented schema — can you validate this JSON and tell me if any required fields are missing, if any types are wrong, or if there are any extra properties that shouldn't be there?"},{"title":"Pre-send request body validation","prompt":"Before I send this request payload to the payment API, check it against the request schema and list every validation issue so I can fix them — flag any missing required fields, type mismatches, or anything that violates the schema."},{"title":"Debug schema violations in a data file","prompt":"I have a JSON file I want to validate against a schema — can you check it and give me a detailed breakdown of every issue including the path, what's wrong, and what keyword it violates?"}],"resultDescription":"A JSON object containing: a 'status' field ('valid' or 'invalid'), a 'checkedAt' ISO timestamp, an array of 'issues' each with a code (e.g. required_missing, type_mismatch, additional_property), a kind (missing or conflict), the JSON path where the issue occurs, a human-readable detail message, and the violated JSON Schema keyword. Also includes a 'limitations' array describing what the validator does and does not cover (e.g. supported keywords, format checks).","failureModes":["Unsupported JSON Schema keywords are reported but not applied — results may be incomplete for complex schemas","File payload exceeds 12MB base64 limit — request rejected","JSON string exceeds 200,000 character limit — request rejected","Invalid base64 encoding in file field — parsing error","Schema references external $refs — not resolved, external calls are never made","mediaType not in allowed enum (application/json, text/plain) — validation error","Malformed JSON in the json field — cannot parse","Payment not received or insufficient USDC — 402 response, no result returned"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call JSON Schema validation with no account setup, especially for one-off checks in an agentic workflow. It is well-suited for validating API request or response payloads against a known schema, detecting missing required fields, type mismatches, and additional properties. It is not suitable for schemas relying heavily on unsupported keywords (e.g. if/then/else, $ref to external URIs) or when you need code execution or external lookups during validation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:36:52.883Z","isFirstParty":false,"canonicalSlug":"brainiac-json-schema-validate-0b5cb4dc"}