{"uid":"cap_fIvWSFH_NOp_xFzC-CVN8","slug":"forgekit-json-schema-validation-dc019524","name":"ForgeKit JSON Schema Validation","description":"ForgeKit JSON Schema validation","url":"https://useforgekit.dev/api/v1/json/validate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"json":{"type":"object"},"schema":{"type":"object"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7daCP57N0IXwvELx2uKv5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a JSON object against a provided JSON Schema and returns whether it conforms","exampleAgentPrompt":"Can you check if this JSON object — {\"name\":\"Alice\",\"age\":30} — is valid against this schema: {\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"age\":{\"type\":\"integer\"}},\"required\":[\"name\",\"age\"]}?","exampleUseCases":[{"title":"API response contract check","prompt":"Validate this API response against our expected schema before we process it — the response is {\"id\":\"123\",\"status\":\"active\"} and the schema requires id to be a string and status to be one of active, inactive, or pending."},{"title":"User input pre-submission guard","prompt":"Before I submit this form data to the backend, check that it satisfies our user registration schema — the data is {\"email\":\"user@example.com\",\"age\":17} and the schema requires email as a valid string and age as an integer of at least 18."},{"title":"CI pipeline schema conformance check","prompt":"I need to verify that this config object {\"timeout\":5000,\"retries\":3,\"mode\":\"strict\"} matches our deployment config schema, which requires timeout and retries to be integers and mode to be either strict or lenient."}],"resultDescription":"Returns a structured response indicating whether the JSON object is valid against the provided JSON Schema, along with any validation errors or constraint violations when the object fails.","failureModes":["Invalid or malformed JSON Schema provided — returns an error indicating the schema itself could not be parsed","Missing required fields in the request body (json or schema) — returns a 400-level error","JSON object or schema exceeds size limits — returns payload too large error","Network or server error — returns 5xx response"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-use JSON Schema validation call without spinning up your own schema validation library, especially in serverless or agent pipelines where adding dependencies is costly. Ideal when you already have a JSON Schema definition and just need to assert conformance on an object at runtime.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:30:46.051Z","isFirstParty":false}