{"uid":"cap_yVDQkK7nqL4W5ufgGlmDG","slug":"project-x402-schemacheck-agent-d2126d37","name":"Project x402 SchemaCheck Agent","description":"Validate JSON against a JSON Schema. Checks LLM and agent output and API request payloads, returning structured errors with error codes, JSONPath locations, and a plain-English summary. Optional automatic repair of invalid payloads.","url":"https://projectx402-production.up.railway.app/v1/schema-check","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"repair":{"type":"boolean","description":"If true, return a suggested corrected payload. Default: false"},"explain":{"type":"boolean","description":"If true, include a plain-English summary. Default: true"},"payload":{"description":"The JSON value to validate against the schema"},"strictness":{"enum":["strict","normal","lenient"],"type":"string","description":"Validation strictness. Default: normal"},"json_schema":{"type":"object","description":"JSON Schema document to validate the payload against"}}},"responseSchema":{"type":"json","example":{"valid":true,"errors":[],"summary":"Payload is valid against the supplied JSON Schema.","confidence":1,"suggested_payload":null}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1nxc6TDLvG2O60esVv4ij","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 provided JSON Schema, with optional repair suggestions and plain-English explanations, requiring a USDC micropayment via x402.","exampleAgentPrompt":"Can you validate this JSON payload against my schema and tell me in plain English what's wrong, and also suggest a corrected version? Use normal strictness. Here's the schema: {\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"age\":{\"type\":\"integer\"}},\"required\":[\"name\",\"age\"]} and here's the payload: {\"name\":\"Alice\",\"age\":\"thirty\"}.","exampleUseCases":null,"resultDescription":"Returns a JSON object with a boolean 'valid' field, an array of validation errors (empty if valid), a plain-English 'summary' of the result, a 'confidence' score (0-1), and an optional 'suggested_payload' with a repaired version of the input when repair=true was requested.","failureModes":["Payment not included or insufficient — x402 payment required ($0.002 USDC); returns 402 with payment details","Malformed json_schema — returns validation error if the schema itself is not a valid JSON Schema document","Payload exceeds size limits — large payloads may be rejected","Missing required fields — if json_schema or payload is absent, returns 400","Strictness enum mismatch — invalid value for strictness field returns a 400 error"],"whenToPreferThis":"Choose this endpoint when you need server-side JSON Schema validation with optional automated repair suggestions and human-readable explanations, especially in agentic pipelines where you want to validate API payloads or data records on-the-fly and can pay per-call micropayments via x402. Prefer it over client-side validators when you want repair suggestions or natural-language error explanations embedded in an automated workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:38:37.579Z","isFirstParty":false}