{"x402Version":2,"resources":[{"url":"https://json-contract-tester-api.falcon-project-ai.workers.dev/v1/validate-batch","type":"http","serviceName":"JSON Contract Tester API","description":"JSON Schema validation API for AI agents, LLM structured outputs, API responses, webhook payloads, and backend data contracts. Validate 1–10 JSON samples in one batch against a documented JSON Schema subset; receive per-sample PASS/FAIL results and structured JSON Pointer diagnostics for contract testing and regression checks. Not full JSON Schema; the pattern keyword is unsupported. $0.005 USDC per batch on Base Mainnet via x402 v2 exact.","mimeType":"application/json","tags":["json-schema-validation","api-response-validation","ai-agent-output","structured-output","webhook-validation","contract-testing","regression-testing"],"outputSchema":{"type":"object","required":["reportVersion","tool","valid","summary","results","limitation"],"properties":{"reportVersion":{"const":"1.0"},"tool":{"const":"JSON Contract Tester API"},"valid":{"type":"boolean"},"summary":{"type":"object","required":["total","passed","failed"],"properties":{"total":{"type":"integer"},"passed":{"type":"integer"},"failed":{"type":"integer"}}},"results":{"type":"array","items":{"type":"object","required":["id","passed","errors"],"properties":{"id":{"type":"string"},"passed":{"type":"boolean"},"errors":{"type":"array","items":{"type":"object","required":["instancePath","schemaPath","keyword","message","expected","actual"],"properties":{"instancePath":{"type":"string"},"schemaPath":{"type":"string"},"keyword":{"type":"string"},"message":{"type":"string"},"expected":{},"actual":{}}}}}}},"limitation":{"type":"string"}}},"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"schema":{"type":"object","required":["ok"],"properties":{"ok":{"type":"boolean"}}},"outputs":[{"id":"valid-sample","json":{"ok":true}},{"id":"invalid-sample","json":{"ok":"yes"}}]}},"output":{"type":"json","example":{"reportVersion":"1.0","tool":"JSON Contract Tester API","valid":false,"summary":{"total":2,"passed":1,"failed":1},"results":[{"id":"valid-sample","passed":true,"errors":[]},{"id":"invalid-sample","passed":false,"errors":[{"instancePath":"/ok","schemaPath":"#/properties/ok/type","keyword":"type","message":"Value has the wrong type","expected":"boolean","actual":"string"}]}],"limitation":"Documented JSON Schema subset only; not a full JSON Schema implementation."}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["schema","outputs"],"properties":{"schema":{"type":"object","description":"Supported JSON Schema subset."},"outputs":{"type":"array","minItems":1,"maxItems":10,"items":{"type":"object","required":["json"],"properties":{"id":{"type":"string","maxLength":80},"json":{}}}}}},"queryParams":{"type":"object","additionalProperties":{"type":"string"}},"headers":{"type":"object","additionalProperties":{"type":"string"}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object","required":["reportVersion","tool","valid","summary","results","limitation"],"properties":{"reportVersion":{"const":"1.0"},"tool":{"const":"JSON Contract Tester API"},"valid":{"type":"boolean"},"summary":{"type":"object","required":["total","passed","failed"],"properties":{"total":{"type":"integer"},"passed":{"type":"integer"},"failed":{"type":"integer"}}},"results":{"type":"array","items":{"type":"object","required":["id","passed","errors"],"properties":{"id":{"type":"string"},"passed":{"type":"boolean"},"errors":{"type":"array","items":{"type":"object","required":["instancePath","schemaPath","keyword","message","expected","actual"],"properties":{"instancePath":{"type":"string"},"schemaPath":{"type":"string"},"keyword":{"type":"string"},"message":{"type":"string"},"expected":{},"actual":{}}}}}}},"limitation":{"type":"string"}}}},"required":["type"]}},"required":["input"]}}},"accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0xFEFA6Cb78Cb79bc140Cd776e038d2093F7A170a5","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"5000","maxTimeoutSeconds":60}]}]}