{"partialResults":false,"resources":[{"accepts":[{"amount":"100000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0x097f9685D1e0752bF8B02d61E5Ce9be7eA0FBA7F","scheme":"exact"}],"description":"Repair one x402 route's Bazaar discovery metadata. Send a resource URL and one real sample; get the defect report plus a package that ships only after passing both x402 SDK validators: full output schema inferred from the sample, a sub-500-char description with a use-when sentence, OpenAPI and well-known snippets, instructions. Mode 'compact' returns the repaired fields only (description, extension info, changes). Use this when your listing is hollow, invalid, or invisible in the Bazaar.","extensions":{"bazaar":{"info":{"input":{"body":{"category":"data","mode":"compact","name":"Target Thing","resource_url":"https://target.example.com/v1/thing","sample_output":{"score":12,"verdict":"OK"}},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"defects":[{"detail":"info.output carries only type/example — the hollow shape 87.8% of listings ship. No field is typed, so a buyer cannot validate a response.","name":"hollow output schema (example only, no typed schema)","severity":"major"}],"failure":null,"graded_at":"2026-10-25T05:23:52.455109+00:00","mode":"compact","notes":["compact: fields only — set route description = package.description, extension info = package.info (meta-schema via your x402 SDK); full mode returns snippets + instructions.","inferred_from: single_sample — review inferred schema before shipping."],"ok":true,"package":{"changes":["description rewritten (139 chars, sub-500, with a use-when sentence)","output schema inferred from sample (verdict, score)"],"description":"Target Thing — returns verdict, score. Use when you need structured data inside an agent workflow. $0.02 per call in USDC on Base via x402.","inferred_from":"single_sample","info":{"input":{"body":{"thing_id":"abc"},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"score":12,"verdict":"OK"},"schema":{"properties":{"score":{"type":"integer"},"verdict":{"type":"string"}},"required":["verdict","score"],"type":"object"},"type":"json"}},"validation":{"consistency_valid":true,"spec_valid":true}},"resource_url":"https://target.example.com/v1/thing","score_before":88},"schema":{"properties":{"defects":{"items":{"properties":{"detail":{"type":"string"},"name":{"type":"string"},"severity":{"enum":["critical","major","minor"],"type":"string"}},"required":["name","severity","detail"],"type":"object"},"type":"array"},"failure":{"description":"Why no package was shipped, when ok is false — an unvalidatable package is never shipped broken","type":["string","null"]},"graded_at":{"type":"string"},"mode":{"description":"The response mode that produced this result (echo of the request's mode, 'full' when omitted). Present on fix results; the package shape follows it.","enum":["full","compact"],"type":"string"},"notes":{"items":{"type":"string"},"type":"array"},"ok":{"type":"boolean"},"package":{"anyOf":[{"type":"null"},{"properties":{"description":{"description":"Under 500 chars, with a use-when sentence","type":"string"},"extension":{"description":"The repaired Bazaar discovery extension (passed both SDK validators)","type":"object"},"inferred_from":{"const":"single_sample","type":"string"},"instructions":{"type":"string"},"openapi_snippet":{"type":"object"},"validation":{"properties":{"consistency_valid":{"type":"boolean"},"spec_valid":{"type":"boolean"}},"required":["consistency_valid","spec_valid"],"type":"object"},"well_known_snippet":{"type":"object"}},"required":["inferred_from","description","extension","openapi_snippet","well_known_snippet","instructions","validation"],"type":"object"},{"properties":{"changes":{"description":"What the repair changed, in plain strings","items":{"type":"string"},"type":"array"},"description":{"description":"Under 500 chars, with a use-when sentence","type":"string"},"inferred_from":{"const":"single_sample","type":"string"},"info":{"description":"The repaired Bazaar extension info: input carried from the listing, output carrying the sample and the full typed schema inferred from it. Set it as your extension's info and regenerate the extension meta-schema with your x402 SDK (full mode returns it paste-ready).","type":"object"},"validation":{"properties":{"consistency_valid":{"type":"boolean"},"spec_valid":{"type":"boolean"}},"required":["consistency_valid","spec_valid"],"type":"object"}},"required":["inferred_from","description","info","changes","validation"],"type":"object"}]},"resource_url":{"type":"string"},"score_before":{"description":"The /v1/grade score of the listing as found","type":["integer","null"]}},"required":["resource_url","graded_at","ok","failure","score_before","defects","package","notes"],"type":"object"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"category":{"description":"Optional category (e.g. token-risk, search, data, media, monitoring) used to phrase the description's use-when sentence.","type":"string"},"mode":{"description":"Optional response mode, default 'full'. 'full' returns the complete package (extension with meta-schema, OpenAPI + well-known snippets, instructions). 'compact' returns the repaired fields only (description, extension info, changes) in a smaller response; the package is validated the same way in both modes.","enum":["full","compact"],"type":"string"},"name":{"description":"Optional display name for the generated description; derived from the URL when omitted.","type":"string"},"resource_url":{"description":"Full URL of the x402 resource to repair, e.g. https://service.example.com/v1/endpoint","type":"string"},"sample_output":{"description":"One real response body from the endpoint (required). The repaired output schema is inferred from this sample only — nothing is invented."}},"required":["resource_url","sample_output"],"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":{"properties":{"defects":{"items":{"properties":{"detail":{"type":"string"},"name":{"type":"string"},"severity":{"enum":["critical","major","minor"],"type":"string"}},"required":["name","severity","detail"],"type":"object"},"type":"array"},"failure":{"description":"Why no package was shipped, when ok is false — an unvalidatable package is never shipped broken","type":["string","null"]},"graded_at":{"type":"string"},"mode":{"description":"The response mode that produced this result (echo of the request's mode, 'full' when omitted). Present on fix results; the package shape follows it.","enum":["full","compact"],"type":"string"},"notes":{"items":{"type":"string"},"type":"array"},"ok":{"type":"boolean"},"package":{"anyOf":[{"type":"null"},{"properties":{"description":{"description":"Under 500 chars, with a use-when sentence","type":"string"},"extension":{"description":"The repaired Bazaar discovery extension (passed both SDK validators)","type":"object"},"inferred_from":{"const":"single_sample","type":"string"},"instructions":{"type":"string"},"openapi_snippet":{"type":"object"},"validation":{"properties":{"consistency_valid":{"type":"boolean"},"spec_valid":{"type":"boolean"}},"required":["consistency_valid","spec_valid"],"type":"object"},"well_known_snippet":{"type":"object"}},"required":["inferred_from","description","extension","openapi_snippet","well_known_snippet","instructions","validation"],"type":"object"},{"properties":{"changes":{"description":"What the repair changed, in plain strings","items":{"type":"string"},"type":"array"},"description":{"description":"Under 500 chars, with a use-when sentence","type":"string"},"inferred_from":{"const":"single_sample","type":"string"},"info":{"description":"The repaired Bazaar extension info: input carried from the listing, output carrying the sample and the full typed schema inferred from it. Set it as your extension's info and regenerate the extension meta-schema with your x402 SDK (full mode returns it paste-ready).","type":"object"},"validation":{"properties":{"consistency_valid":{"type":"boolean"},"spec_valid":{"type":"boolean"}},"required":["consistency_valid","spec_valid"],"type":"object"}},"required":["inferred_from","description","info","changes","validation"],"type":"object"}]},"resource_url":{"type":"string"},"score_before":{"description":"The /v1/grade score of the listing as found","type":["integer","null"]}},"required":["resource_url","graded_at","ok","failure","score_before","defects","package","notes"],"type":"object"},"schema":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"lastUpdated":"2026-11-23T08:51:14.588Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":2,"lastCalledAt":"2026-11-23T08:51:14.368Z"},"resource":"https://list-smith-production.up.railway.app/v1/fix","serviceName":"list-smith","tags":["x402","bazaar","discovery","validation","schema"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"micph3atdbwnqaa"}}
