{"id":64509,"recorded_at":"2026-10-26T14:37:36.751212Z","observed_at":"2026-10-26T14:37:36.751160Z","subject_kind":"source_record","subject":"x402_bazaar:https://api.17711.xyz/registry/extract-correct-service/v1/extract-correct/parse_json","kind":"listing","method":"baseline/1","body":{"endpoints":[["x402","https://api.17711.xyz/registry/extract-correct-service/v1/extract-correct/parse_json"]],"name":"17711 JSON Repair and Extract","owner_address":"0xc0bdc7d3635d0f8a907f41320d80e06f0cdf82ba","raw":{"accepts":[{"amount":"6000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:8453","payTo":"0xc0bdc7d3635d0f8a907f41320d80e06f0cdf82ba","scheme":"exact"}],"description":"JSON repair API: extract valid JSON from messy text or model output and fix it against a JSON Schema","extensions":{"bazaar":{"info":{"input":{"body":{"schema":null,"text":"string"},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"applied_fixes":[{"detail":"string","path":"string","rule":"string"}],"data":null,"extraction_method":"string","remaining_issues":[{"keyword":"string","message":"string","path":"string"}],"valid":false},"type":"json"}},"schema":{"$defs":{"AppliedFix":{"description":"One deterministic correction actually applied to the extracted value.","properties":{"detail":{"description":"Human-readable detail of what changed.","type":"string"},"path":{"description":"JSON Pointer to the field that was corrected (e.g. `/user/age`; `\"\"` = the whole value).","type":"string"},"rule":{"description":"Which bounded correction rule fired (e.g. `type_coercion`, `additional_property_stripped`,\n`enum_case_insensitive_match`, `required_default_filled`, `clamped_to_minimum`,\n`clamped_to_maximum`, `array_truncated_to_max_items`).","type":"string"}},"required":["path","rule","detail"],"type":"object"},"RemainingIssue":{"description":"One schema violation that could NOT be corrected -- never silently dropped or guessed.","properties":{"keyword":{"description":"The JSON Schema keyword that failed (e.g. `pattern`, `format`, `minItems`, `oneOf`).","type":"string"},"message":{"description":"The underlying validator's own error message.","type":"string"},"path":{"description":"JSON Pointer to the field that still fails validation.","type":"string"}},"required":["path","keyword","message"],"type":"object"}},"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"properties":{"body":{"properties":{"schema":{"default":null,"description":"Optional JSON Schema to validate the extracted value against and auto-correct where a\nbounded, deterministic fix rule applies. Omitted = extraction only, no validation."},"text":{"description":"Free-form or messy text to extract structured JSON from -- already-valid JSON, JSON\nwrapped in prose or a markdown code fence, or malformed JSON (trailing commas,\nsingle-quoted strings, unquoted keys, a truncated array/object).","type":"string"}},"required":["text"],"title":"ParseJsonRequest","type":"object"},"bodyType":{"const":"json"},"method":{"const":"POST"},"type":{"const":"http"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"applied_fixes":{"description":"Every correction actually applied, in the order applied.","items":{"$ref":"#/$defs/AppliedFix"},"type":"array"},"data":{"description":"The extracted (and, if a schema was supplied, corrected) JSON value."},"extraction_method":{"description":"How `data` was obtained: `\"direct\"` (already valid JSON), `\"repaired\"` (malformed JSON\nfixed in place), or `\"extracted_and_repaired\"` (isolated from surrounding text, then\nfixed).","type":"string"},"remaining_issues":{"description":"Every schema violation that remains after correction -- non-empty only when `schema` was\nsupplied and at least one issue couldn't be fixed by a bounded v1 rule.","items":{"$ref":"#/$defs/RemainingIssue"},"type":"array"},"valid":{"description":"Whether `data` satisfies `schema` after correction. `None` when no `schema` was supplied\n-- never conflated with \"assumed valid\".","type":["boolean","null"]}},"required":["data","extraction_method","applied_fixes","remaining_issues"],"title":"ParseJsonResponse","type":"object"},"type":{"const":"json"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"lastUpdated":"2026-10-12T09:19:33.146Z","quality":{"l30DaysTotalCalls":9,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-12T09:19:32.741Z"},"resource":"https://api.17711.xyz/registry/extract-correct-service/v1/extract-correct/parse_json","serviceName":"17711 JSON Repair and Extract","tags":["json-repair","json","json-schema","structured-data","model-output"],"type":"http","x402Version":2},"source":"x402_bazaar","summary":"JSON repair API: extract valid JSON from messy text or model output and fix it against a JSON Schema"},"body_sha256":"e7a29432f4ee391b22771c0e6e2392447b28a8ae02c27696733fa2bcd09a0d9f","prev_id":null,"leaf":"0x66199776af9685c25478526f78bf707d8bf461a2acac7af7cabfdde00adcbd36","leaf_text":"{\"body\":\"e7a29432f4ee391b22771c0e6e2392447b28a8ae02c27696733fa2bcd09a0d9f\",\"id\":64509,\"kind\":\"listing\",\"method\":\"baseline/1\",\"observed_us\":1793025456751160,\"prev\":null,\"subject\":\"x402_bazaar:https://api.17711.xyz/registry/extract-correct-service/v1/extract-correct/parse_json\",\"subject_kind\":\"source_record\"}","day":{"day":"2026-10-26","leaves":296695,"root":"0xf43e8dcc3d451a4788b26be904c55e8c4c0fa75c9666796c51db38d37e2c0df8","chained":"0x702d5ac508f08b0d1accf36af25822d8e5660367494edd17a642fb61e158a57a","anchor_chain":"eip155:5042002","anchor_tx":"0x495162f8936e19f0039918feebe6c307f327cd6bf8c37219620b1970041fa9ae","anchor_block":69251483},"proof":["0x6619b5688ef0feacbcc4b6ee175e12d82cd15d44e149c5d79a82e10ac43862d9","0x7d3f8596546366a06d9077e98707d8cbff9241bec8ee6ae3999ae817d0abd055","0xef69d304cea225045a9db0aeafa6b33c19faaf2aa4bd28aad5bd69284465f82c","0x0f6d2952b613e4c7f9463c58d5174c72418c471ca5fdd70c869bae6b03a35176","0x7696c3dc265bf545858d4484fc5d81e5a310369a8742c996e71dd8f7cbb11836","0x387e49e414ae5823ded6019a18d682a7a4aa0bd4941fbc479dd7b1ec5160917c","0xe4f67bb18043e6a284df553327de9d6fd5408965492720af4e96a5b5dc1e2ddf","0x14ffefc9d936e5304563a91e8a57cf301160eb9cfd0d28d8101f666e3e5eb0e6","0xe00e5dca78540c07d80ebe9ff376692c2e5f7c706ce1bc8acf86f3dd6a876229","0x17b7b18fdb5634f7375f480081f04da08fa690f97e6123e0cec534ab5ca72dd5","0x97befbe0402dae50d99027054f0d354513b22fda782f887ba0d9fae94219c296","0x611b1c1b68d04a71934006e383071a8f3836400d60beb86d81dd038bc102029f","0x13f4b94ecf613d585c952b5363dad2b247a55371eb8e358bb89dc033e83128b1","0x9a79c65e077cd9da9d436b3ade6f5ddc0d244510c4d5903ef2f02d81205f7666","0xa2d436d488e3600b0e5c3e3ed9c9234cd52853c59830b786334fd0c4292d9f40","0x47b89901b0f07938a6b9a66ddf35683903f79d756a7c7763665fd632758b08d0","0x9a83be955a206deb65b995adfd92c58fa31c95fbbf926bd199d300e70b08b26d","0x20704208aa6923d6b2450ef74ede87a6e0265d46447926038fe9506e9e154b2d","0x9b9ce5b74b9bab5121612ef6b64920a8d453cbf311096a423eef9702747e868a"]}