Response
{
"example": {
"defects": [
{
"detail": "info.output carries only type/example \u2014 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-21T21:38:16.624678+00:00",
"notes": [
"inferred_from: single_sample \u2014 the output schema was inferred from the one sample supplied; review it before shipping, especially arrays (element schemas are merged) and any field whose real type varies."
],
"ok": true,
"package": {
"description": "Target Thing \u2014 returns verdict, score. Use when you need structured data inside an agent workflow. $0.02 per call in USDC on Base via x402.",
"extension": {
"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"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"thing_id": {
"type": "string"
}
},
"required": [
"thing_id"
],
"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": {
"score": {
"type": "integer"
},
"verdict": {
"type": "string"
}
},
"required": [
"verdict",
"score"
],
"type": "object"
},
"schema": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"inferred_from": "single_sample",
"instructions": "How to ship this package (standard x402 middleware, e.g. the Python/TS x402 SDKs):\n\n1. Set your route's description to package.description (it is under 500 characters,\n so CDP-facilitator payments will not be rejected for length), e.g.:\n RouteConfig(description=<package.description>, extensions={\"bazaar\": <package.extension>})\n2. Attach package.extension as the route's Bazaar discovery extension:\n extensions={\"bazaar\": package[\"extension\"]} on the same route config.\n The extension passed validate_discovery_extension and\n validate_discovery_extension_spec at generation time.\n3. Replace the resource entry in your /.well-known/x402 manifest with\n package.well_known_snippet, and merge package.openapi_snippet.paths into\n your OpenAPI document.\n4. Keep the manifest accepts IDENTICAL to your live 402 challenge \u2014 directory\n validators read the two against each other and reject mismatches.\n5. Metadata alone never lists you: settle one real payment through the CDP\n facilitator (CDP Bazaar / Agentic.Market) or the PayAI facilitator (PayAI\n index) and that index catalogs this route; re-settle at least every ~30 days\n or the listing ages out.",
"openapi_snippet": {
"openapi": "3.0.3",
"paths": {
"/v1/thing": {
"post": {
"description": "Target Thing \u2014 returns verdict, score. Use when you need structured data inside an agent workflow. $0.02 per call in USDC on Base via x402.",
"requestBody": {
"content": {
"application/json": {
"example": {
"thing_id": "abc"
},
"schema": {
"properties": {
"thing_id": {
"type": "string"
}
},
"required": [
"thing_id"
],
"type": "object"
}
}
},
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"example": {
"score": 12,
"verdict": "OK"
},
"schema": {
"properties": {
"score": {
"type": "integer"
},
"verdict": {
"type": "string"
}
},
"required": [
"verdict",
"score"
],
"type": "object"
}
}
},
"description": "Success"
},
"402": {
"description": "Payment required \u2014 x402 challenge; extensions.bazaar carries the discovery extension from this package."
}
},
"summary": "Target Thing \u2014 returns verdict, score"
}
}
}
},
"validation": {
"consistency_valid": true,
"spec_valid": true
},
"well_known_snippet": {
"accepts": [
{
"amount": "20000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"maxTimeoutSeconds": 300,
"network": "eip155:8453",
"payTo": "0x1111111111111111111111111111111111111111",
"scheme": "exact"
}
],
"description": "Target Thing \u2014 returns verdict, score. Use when you need structured data inside an agent workflow. $0.02 per call in USDC on Base via x402.",
"inputSchema": {
"properties": {
"thing_id": {
"type": "string"
}
},
"required": [
"thing_id"
],
"type": "object"
},
"method": "POST",
"mimeType": "application/json",
"outputSchema": {
"properties": {
"score": {
"type": "integer"
},
"verdict": {
"type": "string"
}
},
"required": [
"verdict",
"score"
],
"type": "object"
},
"price": "$0.02",
"resource": "https://target.example.com/v1/thing",
"scheme": "exact"
}
},
"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 \u2014 an unvalidatable package is never shipped broken",
"type": [
"string",
"null"
]
},
"graded_at": {
"type": "string"
},
"notes": {
"items": {
"type": "string"
},
"type": "array"
},
"ok": {
"type": "boolean"
},
"package": {
"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",
"null"
]
},
"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"
}