{"slug":"projectx402-production-up-railway-app-v1-schema-check-fe37e2","title":"Validate JSON against a JSON Schema","host":"projectx402-production.up.railway.app","method":"POST","resource":"https://projectx402-production.up.railway.app/v1/schema-check","category":"code","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.","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1356,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"explain":true,"json_schema":{"properties":{"age":{"type":"integer"},"name":{"type":"string"}},"required":["name","age"],"type":"object"},"payload":{"age":30,"name":"Alice"},"repair":false,"strictness":"normal"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"explain":{"description":"If true, include a plain-English summary. Default: true","type":"boolean"},"json_schema":{"description":"JSON Schema document to validate the payload against","type":"object"},"payload":{"description":"The JSON value to validate against the schema"},"repair":{"description":"If true, return a suggested corrected payload. Default: false","type":"boolean"},"strictness":{"description":"Validation strictness. Default: normal","enum":["strict","normal","lenient"],"type":"string"}},"required":["json_schema","payload"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-11","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1356,"error":null}],"description_full":"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.","last_updated":"2026-10-11T08:58:50.54Z","schemes":["exact"]}