{"uid":"cap_sUvTxdVgQlP4AqlkN-D2Z","slug":"strale-json-schema-validate-845a294b","name":"Strale JSON Schema Validate","description":"The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.","url":"https://api.strale.io/x402/v2/json-schema-validate","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0216","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.0216/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_g1TxWgrt6t02yfbhy8lyh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0216","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a JSON Schema document for correctness and conformance to the JSON Schema specification","exampleAgentPrompt":"Can you validate this JSON schema for me and tell me if it's correct: {\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"age\":{\"type\":\"integer\"}},\"required\":[\"name\"]}?","exampleUseCases":[{"title":"API schema pre-deployment check","prompt":"Before I publish my new API, can you validate this JSON schema I'm using for the request body to make sure it's spec-compliant and won't cause issues: {\"type\":\"object\",\"properties\":{\"userId\":{\"type\":\"string\"},\"amount\":{\"type\":\"number\",\"minimum\":0}},\"required\":[\"userId\",\"amount\"]}?"},{"title":"Debugging a broken schema","prompt":"My JSON schema keeps causing validation errors downstream — can you check what's wrong with it? Here it is: {\"type\":\"object\",\"properties\":{\"email\":{\"type\":\"string\",\"format\":\"email\"}},\"additionalProperties\":\"false\"} — I think I might have a type error somewhere."},{"title":"CI pipeline schema quality gate","prompt":"I need to verify that this JSON schema definition we auto-generated is valid JSON Schema before we commit it to the repo: {\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"integer\"}},\"required\":[\"id\"]}}"}],"resultDescription":"Returns a validation result indicating whether the provided JSON Schema is valid, along with any specific errors found (such as invalid keywords, type mismatches, or structural violations). Each call also returns a cryptographic audit record with chain hashing for traceability.","failureModes":["Missing or empty schema input — returns error indicating required field","Malformed JSON (not valid JSON at all) — returns parse error before schema validation","Unsupported draft version or unrecognized $schema value — may return partial or unexpected results","Network timeout — standard HTTP error response","Insufficient USDC balance for x402 micropayment — payment rejected before execution"],"whenToPreferThis":"Choose this endpoint when you need a programmatic, auditable check that a JSON Schema document is itself structurally valid and spec-compliant — especially in CI/CD pipelines, agent workflows that generate schemas dynamically, or when you need a cryptographic audit trail of the validation event. Prefer this over client-side linters when tamper-evident audit records matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:18:15.676Z","isFirstParty":false}