Overview
/api/json-schema -- JSON Schema validation and repair API: validates a JSON document against a JSON Schema and returns every violation with a JSON Pointer path and the failing keyword, and it repairs the malformed JSON a language model actually emits -- a markdown code fence, Python literals such as True and None, single-quoted keys and values, unquoted object keys, trailing commas and doubled quotes -- then validates the repaired document too. Local and deterministic. Accepts a JSON body as well as query parameters. via x402, $0.01