{
  "openapi": "3.1.0",
  "info": {
    "title": "10x402",
    "version": "0.1.0",
    "summary": "x402 conformance linting, sold per call over x402",
    "description": "10x402 finds conformance blockers between a working 402, discovery and payment. Its 94-check catalogue covers the HTTP response, v1 body, v2 PAYMENT-REQUIRED header, dual-stack consistency, Bazaar discovery metadata and report safeguards. Every finding includes a specific fix. Paid per call over x402 itself, in USDC on Base or Solana (the 402 accepts array is the authoritative rail list); there is no account and no API key — the payment is the auth.",
    "contact": {
      "email": "support@10x402.com"
    },
    "x-guidance": "10x402 lints x402 endpoints for conformance: you hand it a live URL or a 402 response you already have, and it answers with the blockers between that endpoint and a working payment, each one carrying a specific fix. There are 8 paid routes — full reports across the 94-check catalogue, and single-check calls when you already suspect which one is wrong — priced from $0.004 to $0.12 per call. Every paid route answers 402 with the full quote before it reads or validates a body, so an unauthenticated call is the cheapest way to learn the exact terms, and a 402 here is a price rather than an error. There is no account, no API key and no minimum: the payment is the auth, settled per call in USDC on Base or Solana, and the accepts array in the live 402 is the authoritative rail list. GET /check is free and returns the whole catalogue with prices, so a caller can see what it would be buying without spending anything."
  },
  "servers": [
    {
      "url": "https://10x402.com"
    }
  ],
  "paths": {
    "/check": {
      "get": {
        "operationId": "check",
        "summary": "Start here: service info, the full check catalogue with sources, prices and grades. Free.",
        "description": "Free. Call this before paying for anything.",
        "responses": {
          "200": {
            "description": "service info, prices, the grade ladder and the full check catalogue",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/lint": {
      "post": {
        "operationId": "lint",
        "summary": "Find conformance blockers to x402 indexing and payment on a live endpoint ($0.10)",
        "description": "Sends ONE unauthenticated request to the URL you name and lints the response: HTTP status, the v1 body envelope, the v2 PAYMENT-REQUIRED header envelope, dual-stack consistency, and CDP Bazaar discovery requirements. Returns a grade and a specific fix for each finding. It identifies technical blockers; it does not verify a listing or payment.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri",
                    "description": "the https URL of the paid endpoint to lint"
                  },
                  "method": {
                    "type": "string",
                    "enum": [
                      "POST",
                      "GET"
                    ],
                    "default": "POST"
                  }
                }
              },
              "example": {
                "url": "https://toolshed.lemon-agent.dev/convert/md-html",
                "method": "POST"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "the lint report",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "grade",
                    "summary",
                    "findings",
                    "checks_run"
                  ],
                  "properties": {
                    "grade": {
                      "type": "string",
                      "enum": [
                        "A",
                        "B",
                        "C",
                        "D",
                        "F"
                      ],
                      "description": "CAN THIS ENDPOINT BE PAID, and only that. Computed from payment-regime findings; discovery is reported separately as summary.bazaar_ready. A: zero payment-regime errors and zero payment-regime warnings; B: zero payment-regime errors, one or two warnings; C: zero payment-regime errors, three or more warnings; D: one or more payment-regime errors, none of them core; F: any core error — the envelope is not usable as published"
                    },
                    "summary": {
                      "type": "object",
                      "properties": {
                        "versions_detected": {
                          "type": "array",
                          "items": {
                            "type": "integer",
                            "enum": [
                              1,
                              2
                            ]
                          }
                        },
                        "payTo": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "network": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "price": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "bazaar_ready": {
                          "oneOf": [
                            {
                              "type": "boolean"
                            },
                            {
                              "type": "string",
                              "enum": [
                                "n/a"
                              ]
                            }
                          ],
                          "description": "CAN THIS ENDPOINT BE FOUND — the second verdict, from bazaar-regime errors. \"n/a\" for a v1-only endpoint, whose CDP requirements are a v2 shape. Grade A with bazaar_ready false is a real and common answer: payable, and not catalogued."
                        },
                        "blockers": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "enum": [
                              "V2_HEADER_PRESENT",
                              "V2_NETWORK_SUPPORTED",
                              "V2_AMOUNT_MINIMUM",
                              "V2_INDEX_AMOUNT",
                              "V2_INDEX_TIMEOUT",
                              "V2_INDEX_ASSET",
                              "V2_INDEX_PAYTO",
                              "V2_RESOURCE_URL",
                              "V2_RESOURCE_METHOD",
                              "V2_RESOURCE_DESCRIPTION",
                              "V2_SERVICE_NAME",
                              "V2_TAGS",
                              "V2_BAZAAR_PRESENT",
                              "V2_BAZAAR_INFO",
                              "V2_BAZAAR_SCHEMA",
                              "V2_BAZAAR_SCHEMA_CONTENT",
                              "V2_BAZAAR_INFO_VALIDATES",
                              "V2_BAZAAR_BAG_MISMATCH",
                              "V2_BAZAAR_INPUT",
                              "V2_BAZAAR_INPUT_TYPE",
                              "V2_BAZAAR_INPUT_METHOD",
                              "V2_BAZAAR_OUTPUT_TYPE",
                              "V2_BAZAAR_OUTPUT_EXAMPLE",
                              "V1_OUTPUT_SCHEMA",
                              "V1_DISCOVERABLE"
                            ]
                          },
                          "description": "the check codes standing between this resource and an index entry"
                        },
                        "partial": {
                          "type": "string",
                          "description": "present when the response was not a 402 and carried no envelope, so the envelope checks could not run"
                        },
                        "edge_invented": {
                          "type": "string",
                          "description": "present when the linted response did not carry the origin marker the endpoint advertises, so an intermediary minted it rather than the origin. Every other finding in the report then describes that intermediary's reply, not the seller's envelope. Only set when a marker is advertised — see ORIGIN_MARKER_PRESENT."
                        }
                      }
                    },
                    "findings": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "severity",
                          "code",
                          "message",
                          "fix"
                        ],
                        "properties": {
                          "severity": {
                            "type": "string",
                            "enum": [
                              "error",
                              "warn",
                              "info"
                            ]
                          },
                          "code": {
                            "type": "string",
                            "enum": [
                              "HTTP_STATUS_402",
                              "HTTP_FREE_TIER_200",
                              "HTTP_SERVER_ERROR",
                              "HTTP_REDIRECT",
                              "HTTP_CONTENT_TYPE_JSON",
                              "ENVELOPE_PRESENT",
                              "HTTP_ROUTE_DISCRIMINATES",
                              "HTTP_SOFT_404",
                              "UA_GATE_402",
                              "UA_GATE_SURFACES",
                              "ORIGIN_MARKER_PRESENT",
                              "V2_HEADER_PRESENT",
                              "V2_B64_URLSAFE",
                              "V2_B64_DECODE",
                              "V2_JSON",
                              "V2_VERSION",
                              "V2_ACCEPTS_NONEMPTY",
                              "V2_SCHEME",
                              "V2_SCHEME_KNOWN",
                              "V2_NETWORK_CAIP2",
                              "V2_NETWORK_CAIP2_STYLE",
                              "V2_NAMESPACE_KNOWN",
                              "V2_NETWORK_SUPPORTED",
                              "V2_AMOUNT",
                              "V2_AMOUNT_ATOMIC",
                              "V2_AMOUNT_MINIMUM",
                              "V2_INDEX_AMOUNT",
                              "V2_INDEX_TIMEOUT",
                              "V2_INDEX_ASSET",
                              "V2_INDEX_PAYTO",
                              "V2_PAYTO",
                              "V2_ASSET",
                              "V2_MAX_TIMEOUT",
                              "V2_EXTRA_EIP712",
                              "V2_ACCEPTS_V1_FIELDS",
                              "V2_RESOURCE_OBJECT",
                              "V2_RESOURCE_URL_PARSES",
                              "V2_RESOURCE_URL",
                              "V2_RESOURCE_METHOD",
                              "V2_RESOURCE_DESCRIPTION",
                              "V2_RESOURCE_MIMETYPE",
                              "V2_RESOURCE_URL_MATCHES",
                              "V2_SERVICE_NAME",
                              "V2_TAGS",
                              "V2_BAZAAR_PRESENT",
                              "V2_BAZAAR_INFO",
                              "V2_BAZAAR_SCHEMA",
                              "V2_BAZAAR_SCHEMA_CONTENT",
                              "V2_BAZAAR_INFO_VALIDATES",
                              "V2_BAZAAR_BAG_MISMATCH",
                              "V2_BAZAAR_INPUT",
                              "V2_BAZAAR_INPUT_TYPE",
                              "V2_BAZAAR_INPUT_METHOD",
                              "V2_BAZAAR_OUTPUT_TYPE",
                              "V2_BAZAAR_OUTPUT_EXAMPLE",
                              "V2_BAZAAR_INPUT_REPLAYABLE",
                              "V2_BAZAAR_INPUT_QUERY_EXAMPLE",
                              "V1_ABSENT",
                              "V1_BODY_NOT_ENVELOPE",
                              "V1_BODY_PRESENT",
                              "V1_BODY_JSON",
                              "V1_VERSION",
                              "V1_ACCEPTS_NONEMPTY",
                              "V1_SCHEME",
                              "V1_SCHEME_KNOWN",
                              "V1_MAX_AMOUNT_REQUIRED",
                              "V1_AMOUNT_ATOMIC",
                              "V1_NETWORK_NAME",
                              "V1_NETWORK_KNOWN",
                              "V1_RESOURCE_STRING",
                              "V1_PAYTO",
                              "V1_ASSET",
                              "V1_MIMETYPE",
                              "V1_DESCRIPTION",
                              "V1_MAX_TIMEOUT",
                              "V1_EXTRA_EIP712",
                              "V1_OUTPUT_SCHEMA",
                              "V1_DISCOVERABLE",
                              "DUAL_PAYTO",
                              "DUAL_PRICE",
                              "DUAL_NETWORK",
                              "DUAL_ASSET",
                              "DUAL_RESOURCE",
                              "VERSION_HEADER_SAYS_V1",
                              "VERSION_BODY_SAYS_V2",
                              "BILLING_TERMS_DISCLOSED",
                              "EMPTY_BODY_200",
                              "UNPARSEABLE_BODY_200",
                              "SCHEMA_SHAPE_200",
                              "DEGENERATE_TEXT_200",
                              "CROSS_ROUTE_CONSISTENCY",
                              "LISTED_PRICE_MATCHES",
                              "ACCEPTS_TRUNCATED",
                              "FINDINGS_TRUNCATED"
                            ]
                          },
                          "message": {
                            "type": "string",
                            "description": "what is wrong, in this envelope"
                          },
                          "fix": {
                            "type": "string",
                            "description": "exactly how to fix it"
                          },
                          "core": {
                            "type": "boolean",
                            "description": "whether THIS finding makes the envelope unusable as published. Resolved per finding rather than per check: HTTP_STATUS_402 is core on a 401 and not on a 405, where the linter's own choice of verb is as likely an explanation."
                          },
                          "bucket": {
                            "type": "string",
                            "enum": [
                              "edge-invented"
                            ],
                            "description": "a diagnostic pile this finding belongs to, kept separate from schema drift. `edge-invented` means the response was minted on the path rather than by the origin, which is a vendor CONFIGURATION rather than a vendor bug and wants the opposite fix. Present only on ORIGIN_MARKER_PRESENT today."
                          }
                        }
                      }
                    },
                    "checks_run": {
                      "type": "integer",
                      "description": "how many checks APPLIED. A v1-only endpoint legitimately skips every v2 check, so this is the denominator a caller needs before comparing two reports."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "the request could not be linted. Nothing is charged for a call that was not served.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "fix": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "402": {
            "description": "Payment required — the ordinary answer to an unauthenticated call, and NOT an error. The body is the x402 v1 envelope; the PAYMENT-REQUIRED response header carries the v2 envelope as standard base64.",
            "headers": {
              "PAYMENT-REQUIRED": {
                "schema": {
                  "type": "string"
                },
                "description": "the x402 v2 envelope, standard base64"
              }
            }
          },
          "413": {
            "description": "the request body is larger than the limit"
          },
          "429": {
            "description": "the daily ceiling for this caller, or a deployment with no receiving address"
          }
        },
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.1"
          }
        },
        "x-billing-terms": {
          "billable_unit": {
            "unit": "one served report",
            "price_usd": "0.1",
            "amount_atomic": "100000",
            "metered": false,
            "note": "One served report. A single signed authorization buys exactly one response at the listed price; the amount settled is that whole price, and there is no partial, metered or per-check billing. Settlement is queued only after the report exists, and only for a payment the facilitator verified — a report served while the facilitator was unreachable settles nothing at all."
          },
          "hold": {
            "held": false,
            "note": "None. Verification is a read at the facilitator, so nothing is reserved, escrowed or held: the signed authorization moves no funds until it is submitted at settle, which runs after the response has already been sent. An authorization that never reaches settle simply goes unused."
          },
          "idempotency": {
            "key": "sha256(payment header, as presented)",
            "headers": [
              "PAYMENT-SIGNATURE",
              "X-PAYMENT"
            ],
            "idempotency_key_header": null,
            "replay": {
              "status": 402,
              "error": "payment_already_used"
            },
            "note": "There is no idempotency-key header. The key is the SHA-256 of the payment header exactly as presented — `X-PAYMENT` for x402 v1, `PAYMENT-SIGNATURE` for x402 v2, and PAYMENT-SIGNATURE is the one read when a request carries both — claimed single-use between verification and the work. A retry carrying the same authorization — concurrently, or an hour later — is answered 402 with invalidReason `payment_already_used` and the live terms attached; it runs no work, serves no second report and settles nothing. Sign a fresh authorization to buy another report."
          },
          "post_payment_error": {
            "settles": false,
            "on_4xx": "authorization released",
            "on_5xx": "authorization not released — sign a fresh one",
            "note": "Nothing is ever settled unless a report was served. Every 4xx after payment — an empty or malformed body, a missing or unknown field, an unknown check id, a refused or unreachable target — releases the single-use claim, so the very same authorization can be presented again. The one 5xx, a 503 raised when the store or the metering path is unavailable, also settles nothing, but does not release the claim: retry with a freshly signed authorization."
          },
          "refund": {
            "path": "none",
            "dispute": "none",
            "contact": "support@10x402.com",
            "note": "None. There is no refund, credit or dispute endpoint, and no reversal of a settled payment. The mechanism is non-charge rather than refund: an authorization for a report that was not served is never submitted, so no funds move. A settlement that fails after a report was served is recorded and not retried — the caller keeps the report. Anything else is support@10x402.com and a conversation, not a guaranteed remedy."
          }
        }
      }
    },
    "/lint/one": {
      "post": {
        "operationId": "lint_one",
        "summary": "Run ONE named check against a live endpoint ($0.015)",
        "description": "The same outbound probe as /lint, reported for exactly one check you name. For settling a single question — \"is my v2 header base64url\", \"does my bazaar info validate against its own schema\" — without buying the whole catalogue. The answer says whether the check PASSED, and when the check did not apply to this response it says that instead of quietly passing. GET /check lists every check id, and publishes the batch arithmetic — so you can work out where the full report becomes the cheaper buy before paying for any of it.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "url",
                  "check"
                ],
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri",
                    "description": "the https URL of the paid endpoint to lint"
                  },
                  "method": {
                    "type": "string",
                    "enum": [
                      "POST",
                      "GET"
                    ],
                    "default": "POST"
                  },
                  "check": {
                    "type": "string",
                    "enum": [
                      "HTTP_STATUS_402",
                      "HTTP_FREE_TIER_200",
                      "HTTP_SERVER_ERROR",
                      "HTTP_REDIRECT",
                      "HTTP_CONTENT_TYPE_JSON",
                      "ENVELOPE_PRESENT",
                      "HTTP_ROUTE_DISCRIMINATES",
                      "HTTP_SOFT_404",
                      "UA_GATE_402",
                      "UA_GATE_SURFACES",
                      "ORIGIN_MARKER_PRESENT",
                      "V2_HEADER_PRESENT",
                      "V2_B64_URLSAFE",
                      "V2_B64_DECODE",
                      "V2_JSON",
                      "V2_VERSION",
                      "V2_ACCEPTS_NONEMPTY",
                      "V2_SCHEME",
                      "V2_SCHEME_KNOWN",
                      "V2_NETWORK_CAIP2",
                      "V2_NETWORK_CAIP2_STYLE",
                      "V2_NAMESPACE_KNOWN",
                      "V2_NETWORK_SUPPORTED",
                      "V2_AMOUNT",
                      "V2_AMOUNT_ATOMIC",
                      "V2_AMOUNT_MINIMUM",
                      "V2_INDEX_AMOUNT",
                      "V2_INDEX_TIMEOUT",
                      "V2_INDEX_ASSET",
                      "V2_INDEX_PAYTO",
                      "V2_PAYTO",
                      "V2_ASSET",
                      "V2_MAX_TIMEOUT",
                      "V2_EXTRA_EIP712",
                      "V2_ACCEPTS_V1_FIELDS",
                      "V2_RESOURCE_OBJECT",
                      "V2_RESOURCE_URL_PARSES",
                      "V2_RESOURCE_URL",
                      "V2_RESOURCE_METHOD",
                      "V2_RESOURCE_DESCRIPTION",
                      "V2_RESOURCE_MIMETYPE",
                      "V2_RESOURCE_URL_MATCHES",
                      "V2_SERVICE_NAME",
                      "V2_TAGS",
                      "V2_BAZAAR_PRESENT",
                      "V2_BAZAAR_INFO",
                      "V2_BAZAAR_SCHEMA",
                      "V2_BAZAAR_SCHEMA_CONTENT",
                      "V2_BAZAAR_INFO_VALIDATES",
                      "V2_BAZAAR_BAG_MISMATCH",
                      "V2_BAZAAR_INPUT",
                      "V2_BAZAAR_INPUT_TYPE",
                      "V2_BAZAAR_INPUT_METHOD",
                      "V2_BAZAAR_OUTPUT_TYPE",
                      "V2_BAZAAR_OUTPUT_EXAMPLE",
                      "V2_BAZAAR_INPUT_REPLAYABLE",
                      "V2_BAZAAR_INPUT_QUERY_EXAMPLE",
                      "V1_ABSENT",
                      "V1_BODY_NOT_ENVELOPE",
                      "V1_BODY_PRESENT",
                      "V1_BODY_JSON",
                      "V1_VERSION",
                      "V1_ACCEPTS_NONEMPTY",
                      "V1_SCHEME",
                      "V1_SCHEME_KNOWN",
                      "V1_MAX_AMOUNT_REQUIRED",
                      "V1_AMOUNT_ATOMIC",
                      "V1_NETWORK_NAME",
                      "V1_NETWORK_KNOWN",
                      "V1_RESOURCE_STRING",
                      "V1_PAYTO",
                      "V1_ASSET",
                      "V1_MIMETYPE",
                      "V1_DESCRIPTION",
                      "V1_MAX_TIMEOUT",
                      "V1_EXTRA_EIP712",
                      "V1_OUTPUT_SCHEMA",
                      "V1_DISCOVERABLE",
                      "DUAL_PAYTO",
                      "DUAL_PRICE",
                      "DUAL_NETWORK",
                      "DUAL_ASSET",
                      "DUAL_RESOURCE",
                      "VERSION_HEADER_SAYS_V1",
                      "VERSION_BODY_SAYS_V2",
                      "BILLING_TERMS_DISCLOSED",
                      "EMPTY_BODY_200",
                      "UNPARSEABLE_BODY_200",
                      "SCHEMA_SHAPE_200",
                      "DEGENERATE_TEXT_200",
                      "CROSS_ROUTE_CONSISTENCY",
                      "LISTED_PRICE_MATCHES",
                      "ACCEPTS_TRUNCATED",
                      "FINDINGS_TRUNCATED"
                    ],
                    "description": "exactly one check id, from the catalogue GET /check publishes. Unknown or missing is a 400 that lints nothing and charges nothing."
                  }
                }
              },
              "example": {
                "url": "https://toolshed.lemon-agent.dev/convert/md-html",
                "method": "POST",
                "check": "V2_B64_URLSAFE"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "the single-check answer",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "check",
                    "applied",
                    "passed",
                    "finding",
                    "regime",
                    "sources",
                    "summary",
                    "checks_run"
                  ],
                  "properties": {
                    "check": {
                      "type": "string",
                      "enum": [
                        "HTTP_STATUS_402",
                        "HTTP_FREE_TIER_200",
                        "HTTP_SERVER_ERROR",
                        "HTTP_REDIRECT",
                        "HTTP_CONTENT_TYPE_JSON",
                        "ENVELOPE_PRESENT",
                        "HTTP_ROUTE_DISCRIMINATES",
                        "HTTP_SOFT_404",
                        "UA_GATE_402",
                        "UA_GATE_SURFACES",
                        "ORIGIN_MARKER_PRESENT",
                        "V2_HEADER_PRESENT",
                        "V2_B64_URLSAFE",
                        "V2_B64_DECODE",
                        "V2_JSON",
                        "V2_VERSION",
                        "V2_ACCEPTS_NONEMPTY",
                        "V2_SCHEME",
                        "V2_SCHEME_KNOWN",
                        "V2_NETWORK_CAIP2",
                        "V2_NETWORK_CAIP2_STYLE",
                        "V2_NAMESPACE_KNOWN",
                        "V2_NETWORK_SUPPORTED",
                        "V2_AMOUNT",
                        "V2_AMOUNT_ATOMIC",
                        "V2_AMOUNT_MINIMUM",
                        "V2_INDEX_AMOUNT",
                        "V2_INDEX_TIMEOUT",
                        "V2_INDEX_ASSET",
                        "V2_INDEX_PAYTO",
                        "V2_PAYTO",
                        "V2_ASSET",
                        "V2_MAX_TIMEOUT",
                        "V2_EXTRA_EIP712",
                        "V2_ACCEPTS_V1_FIELDS",
                        "V2_RESOURCE_OBJECT",
                        "V2_RESOURCE_URL_PARSES",
                        "V2_RESOURCE_URL",
                        "V2_RESOURCE_METHOD",
                        "V2_RESOURCE_DESCRIPTION",
                        "V2_RESOURCE_MIMETYPE",
                        "V2_RESOURCE_URL_MATCHES",
                        "V2_SERVICE_NAME",
                        "V2_TAGS",
                        "V2_BAZAAR_PRESENT",
                        "V2_BAZAAR_INFO",
                        "V2_BAZAAR_SCHEMA",
                        "V2_BAZAAR_SCHEMA_CONTENT",
                        "V2_BAZAAR_INFO_VALIDATES",
                        "V2_BAZAAR_BAG_MISMATCH",
                        "V2_BAZAAR_INPUT",
                        "V2_BAZAAR_INPUT_TYPE",
                        "V2_BAZAAR_INPUT_METHOD",
                        "V2_BAZAAR_OUTPUT_TYPE",
                        "V2_BAZAAR_OUTPUT_EXAMPLE",
                        "V2_BAZAAR_INPUT_REPLAYABLE",
                        "V2_BAZAAR_INPUT_QUERY_EXAMPLE",
                        "V1_ABSENT",
                        "V1_BODY_NOT_ENVELOPE",
                        "V1_BODY_PRESENT",
                        "V1_BODY_JSON",
                        "V1_VERSION",
                        "V1_ACCEPTS_NONEMPTY",
                        "V1_SCHEME",
                        "V1_SCHEME_KNOWN",
                        "V1_MAX_AMOUNT_REQUIRED",
                        "V1_AMOUNT_ATOMIC",
                        "V1_NETWORK_NAME",
                        "V1_NETWORK_KNOWN",
                        "V1_RESOURCE_STRING",
                        "V1_PAYTO",
                        "V1_ASSET",
                        "V1_MIMETYPE",
                        "V1_DESCRIPTION",
                        "V1_MAX_TIMEOUT",
                        "V1_EXTRA_EIP712",
                        "V1_OUTPUT_SCHEMA",
                        "V1_DISCOVERABLE",
                        "DUAL_PAYTO",
                        "DUAL_PRICE",
                        "DUAL_NETWORK",
                        "DUAL_ASSET",
                        "DUAL_RESOURCE",
                        "VERSION_HEADER_SAYS_V1",
                        "VERSION_BODY_SAYS_V2",
                        "BILLING_TERMS_DISCLOSED",
                        "EMPTY_BODY_200",
                        "UNPARSEABLE_BODY_200",
                        "SCHEMA_SHAPE_200",
                        "DEGENERATE_TEXT_200",
                        "CROSS_ROUTE_CONSISTENCY",
                        "LISTED_PRICE_MATCHES",
                        "ACCEPTS_TRUNCATED",
                        "FINDINGS_TRUNCATED"
                      ],
                      "description": "the check id that was asked about"
                    },
                    "applied": {
                      "type": "boolean",
                      "description": "whether the check RAN against this response. False means its precondition was not met — a v2 check against a v1-only endpoint, say — and `note` says which."
                    },
                    "passed": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "true: the check ran and found nothing. false: it ran and emitted, and `finding` carries the fix. NULL: it did not apply, and NOTHING WAS ASSERTED. A null is not a pass and must not be reported as one."
                    },
                    "finding": {
                      "oneOf": [
                        {
                          "type": "object",
                          "required": [
                            "severity",
                            "code",
                            "message",
                            "fix"
                          ],
                          "properties": {
                            "severity": {
                              "type": "string",
                              "enum": [
                                "error",
                                "warn",
                                "info"
                              ]
                            },
                            "code": {
                              "type": "string",
                              "enum": [
                                "HTTP_STATUS_402",
                                "HTTP_FREE_TIER_200",
                                "HTTP_SERVER_ERROR",
                                "HTTP_REDIRECT",
                                "HTTP_CONTENT_TYPE_JSON",
                                "ENVELOPE_PRESENT",
                                "HTTP_ROUTE_DISCRIMINATES",
                                "HTTP_SOFT_404",
                                "UA_GATE_402",
                                "UA_GATE_SURFACES",
                                "ORIGIN_MARKER_PRESENT",
                                "V2_HEADER_PRESENT",
                                "V2_B64_URLSAFE",
                                "V2_B64_DECODE",
                                "V2_JSON",
                                "V2_VERSION",
                                "V2_ACCEPTS_NONEMPTY",
                                "V2_SCHEME",
                                "V2_SCHEME_KNOWN",
                                "V2_NETWORK_CAIP2",
                                "V2_NETWORK_CAIP2_STYLE",
                                "V2_NAMESPACE_KNOWN",
                                "V2_NETWORK_SUPPORTED",
                                "V2_AMOUNT",
                                "V2_AMOUNT_ATOMIC",
                                "V2_AMOUNT_MINIMUM",
                                "V2_INDEX_AMOUNT",
                                "V2_INDEX_TIMEOUT",
                                "V2_INDEX_ASSET",
                                "V2_INDEX_PAYTO",
                                "V2_PAYTO",
                                "V2_ASSET",
                                "V2_MAX_TIMEOUT",
                                "V2_EXTRA_EIP712",
                                "V2_ACCEPTS_V1_FIELDS",
                                "V2_RESOURCE_OBJECT",
                                "V2_RESOURCE_URL_PARSES",
                                "V2_RESOURCE_URL",
                                "V2_RESOURCE_METHOD",
                                "V2_RESOURCE_DESCRIPTION",
                                "V2_RESOURCE_MIMETYPE",
                                "V2_RESOURCE_URL_MATCHES",
                                "V2_SERVICE_NAME",
                                "V2_TAGS",
                                "V2_BAZAAR_PRESENT",
                                "V2_BAZAAR_INFO",
                                "V2_BAZAAR_SCHEMA",
                                "V2_BAZAAR_SCHEMA_CONTENT",
                                "V2_BAZAAR_INFO_VALIDATES",
                                "V2_BAZAAR_BAG_MISMATCH",
                                "V2_BAZAAR_INPUT",
                                "V2_BAZAAR_INPUT_TYPE",
                                "V2_BAZAAR_INPUT_METHOD",
                                "V2_BAZAAR_OUTPUT_TYPE",
                                "V2_BAZAAR_OUTPUT_EXAMPLE",
                                "V2_BAZAAR_INPUT_REPLAYABLE",
                                "V2_BAZAAR_INPUT_QUERY_EXAMPLE",
                                "V1_ABSENT",
                                "V1_BODY_NOT_ENVELOPE",
                                "V1_BODY_PRESENT",
                                "V1_BODY_JSON",
                                "V1_VERSION",
                                "V1_ACCEPTS_NONEMPTY",
                                "V1_SCHEME",
                                "V1_SCHEME_KNOWN",
                                "V1_MAX_AMOUNT_REQUIRED",
                                "V1_AMOUNT_ATOMIC",
                                "V1_NETWORK_NAME",
                                "V1_NETWORK_KNOWN",
                                "V1_RESOURCE_STRING",
                                "V1_PAYTO",
                                "V1_ASSET",
                                "V1_MIMETYPE",
                                "V1_DESCRIPTION",
                                "V1_MAX_TIMEOUT",
                                "V1_EXTRA_EIP712",
                                "V1_OUTPUT_SCHEMA",
                                "V1_DISCOVERABLE",
                                "DUAL_PAYTO",
                                "DUAL_PRICE",
                                "DUAL_NETWORK",
                                "DUAL_ASSET",
                                "DUAL_RESOURCE",
                                "VERSION_HEADER_SAYS_V1",
                                "VERSION_BODY_SAYS_V2",
                                "BILLING_TERMS_DISCLOSED",
                                "EMPTY_BODY_200",
                                "UNPARSEABLE_BODY_200",
                                "SCHEMA_SHAPE_200",
                                "DEGENERATE_TEXT_200",
                                "CROSS_ROUTE_CONSISTENCY",
                                "LISTED_PRICE_MATCHES",
                                "ACCEPTS_TRUNCATED",
                                "FINDINGS_TRUNCATED"
                              ]
                            },
                            "message": {
                              "type": "string",
                              "description": "what is wrong, in this envelope"
                            },
                            "fix": {
                              "type": "string",
                              "description": "exactly how to fix it"
                            },
                            "core": {
                              "type": "boolean",
                              "description": "whether THIS finding makes the envelope unusable as published. Resolved per finding rather than per check: HTTP_STATUS_402 is core on a 401 and not on a 405, where the linter's own choice of verb is as likely an explanation."
                            },
                            "bucket": {
                              "type": "string",
                              "enum": [
                                "edge-invented"
                              ],
                              "description": "a diagnostic pile this finding belongs to, kept separate from schema drift. `edge-invented` means the response was minted on the path rather than by the origin, which is a vendor CONFIGURATION rather than a vendor bug and wants the opposite fix. Present only on ORIGIN_MARKER_PRESENT today."
                            }
                          }
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "the finding this check emitted, with its fix — or null when it emitted none"
                    },
                    "findings": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "severity",
                          "code",
                          "message",
                          "fix"
                        ],
                        "properties": {
                          "severity": {
                            "type": "string",
                            "enum": [
                              "error",
                              "warn",
                              "info"
                            ]
                          },
                          "code": {
                            "type": "string",
                            "enum": [
                              "HTTP_STATUS_402",
                              "HTTP_FREE_TIER_200",
                              "HTTP_SERVER_ERROR",
                              "HTTP_REDIRECT",
                              "HTTP_CONTENT_TYPE_JSON",
                              "ENVELOPE_PRESENT",
                              "HTTP_ROUTE_DISCRIMINATES",
                              "HTTP_SOFT_404",
                              "UA_GATE_402",
                              "UA_GATE_SURFACES",
                              "ORIGIN_MARKER_PRESENT",
                              "V2_HEADER_PRESENT",
                              "V2_B64_URLSAFE",
                              "V2_B64_DECODE",
                              "V2_JSON",
                              "V2_VERSION",
                              "V2_ACCEPTS_NONEMPTY",
                              "V2_SCHEME",
                              "V2_SCHEME_KNOWN",
                              "V2_NETWORK_CAIP2",
                              "V2_NETWORK_CAIP2_STYLE",
                              "V2_NAMESPACE_KNOWN",
                              "V2_NETWORK_SUPPORTED",
                              "V2_AMOUNT",
                              "V2_AMOUNT_ATOMIC",
                              "V2_AMOUNT_MINIMUM",
                              "V2_INDEX_AMOUNT",
                              "V2_INDEX_TIMEOUT",
                              "V2_INDEX_ASSET",
                              "V2_INDEX_PAYTO",
                              "V2_PAYTO",
                              "V2_ASSET",
                              "V2_MAX_TIMEOUT",
                              "V2_EXTRA_EIP712",
                              "V2_ACCEPTS_V1_FIELDS",
                              "V2_RESOURCE_OBJECT",
                              "V2_RESOURCE_URL_PARSES",
                              "V2_RESOURCE_URL",
                              "V2_RESOURCE_METHOD",
                              "V2_RESOURCE_DESCRIPTION",
                              "V2_RESOURCE_MIMETYPE",
                              "V2_RESOURCE_URL_MATCHES",
                              "V2_SERVICE_NAME",
                              "V2_TAGS",
                              "V2_BAZAAR_PRESENT",
                              "V2_BAZAAR_INFO",
                              "V2_BAZAAR_SCHEMA",
                              "V2_BAZAAR_SCHEMA_CONTENT",
                              "V2_BAZAAR_INFO_VALIDATES",
                              "V2_BAZAAR_BAG_MISMATCH",
                              "V2_BAZAAR_INPUT",
                              "V2_BAZAAR_INPUT_TYPE",
                              "V2_BAZAAR_INPUT_METHOD",
                              "V2_BAZAAR_OUTPUT_TYPE",
                              "V2_BAZAAR_OUTPUT_EXAMPLE",
                              "V2_BAZAAR_INPUT_REPLAYABLE",
                              "V2_BAZAAR_INPUT_QUERY_EXAMPLE",
                              "V1_ABSENT",
                              "V1_BODY_NOT_ENVELOPE",
                              "V1_BODY_PRESENT",
                              "V1_BODY_JSON",
                              "V1_VERSION",
                              "V1_ACCEPTS_NONEMPTY",
                              "V1_SCHEME",
                              "V1_SCHEME_KNOWN",
                              "V1_MAX_AMOUNT_REQUIRED",
                              "V1_AMOUNT_ATOMIC",
                              "V1_NETWORK_NAME",
                              "V1_NETWORK_KNOWN",
                              "V1_RESOURCE_STRING",
                              "V1_PAYTO",
                              "V1_ASSET",
                              "V1_MIMETYPE",
                              "V1_DESCRIPTION",
                              "V1_MAX_TIMEOUT",
                              "V1_EXTRA_EIP712",
                              "V1_OUTPUT_SCHEMA",
                              "V1_DISCOVERABLE",
                              "DUAL_PAYTO",
                              "DUAL_PRICE",
                              "DUAL_NETWORK",
                              "DUAL_ASSET",
                              "DUAL_RESOURCE",
                              "VERSION_HEADER_SAYS_V1",
                              "VERSION_BODY_SAYS_V2",
                              "BILLING_TERMS_DISCLOSED",
                              "EMPTY_BODY_200",
                              "UNPARSEABLE_BODY_200",
                              "SCHEMA_SHAPE_200",
                              "DEGENERATE_TEXT_200",
                              "CROSS_ROUTE_CONSISTENCY",
                              "LISTED_PRICE_MATCHES",
                              "ACCEPTS_TRUNCATED",
                              "FINDINGS_TRUNCATED"
                            ]
                          },
                          "message": {
                            "type": "string",
                            "description": "what is wrong, in this envelope"
                          },
                          "fix": {
                            "type": "string",
                            "description": "exactly how to fix it"
                          },
                          "core": {
                            "type": "boolean",
                            "description": "whether THIS finding makes the envelope unusable as published. Resolved per finding rather than per check: HTTP_STATUS_402 is core on a 401 and not on a 405, where the linter's own choice of verb is as likely an explanation."
                          },
                          "bucket": {
                            "type": "string",
                            "enum": [
                              "edge-invented"
                            ],
                            "description": "a diagnostic pile this finding belongs to, kept separate from schema drift. `edge-invented` means the response was minted on the path rather than by the origin, which is a vendor CONFIGURATION rather than a vendor bug and wants the opposite fix. Present only on ORIGIN_MARKER_PRESENT today."
                          }
                        }
                      },
                      "description": "present only when one check emitted more than once — several checks reach a single code from branches that diagnose different things, and each carries its own fix"
                    },
                    "note": {
                      "type": "string",
                      "description": "present when the check did not apply: what did not happen, and why"
                    },
                    "regime": {
                      "type": "string",
                      "enum": [
                        "payment",
                        "bazaar",
                        "hygiene",
                        "informational"
                      ]
                    },
                    "severity": {
                      "type": "string",
                      "enum": [
                        "error",
                        "warn",
                        "info"
                      ]
                    },
                    "core": {
                      "type": "boolean"
                    },
                    "sources": {
                      "type": "array",
                      "description": "where this rule comes from — the same provenance GET /check publishes",
                      "items": {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string"
                          },
                          "ref": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "summary": {
                      "type": "object",
                      "description": "the envelope description — versions, payTo, network, price, and any `partial` caveat. DELIBERATELY WITHOUT bazaar_ready: the second verdict is computed over every bazaar-regime check, and this call bought one check.",
                      "properties": {
                        "versions_detected": {
                          "type": "array",
                          "items": {
                            "type": "integer",
                            "enum": [
                              1,
                              2
                            ]
                          }
                        },
                        "payTo": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "network": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "price": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "partial": {
                          "type": "string",
                          "description": "present when the response was not a 402 and carried no envelope, so the envelope checks could not run"
                        }
                      }
                    },
                    "checks_run": {
                      "type": "integer",
                      "enum": [
                        0,
                        1
                      ],
                      "description": "1 when the named check applied, 0 when it did not — the same rule the full report uses"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "the request could not be linted. Nothing is charged for a call that was not served.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "fix": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "402": {
            "description": "Payment required — the ordinary answer to an unauthenticated call, and NOT an error. The body is the x402 v1 envelope; the PAYMENT-REQUIRED response header carries the v2 envelope as standard base64.",
            "headers": {
              "PAYMENT-REQUIRED": {
                "schema": {
                  "type": "string"
                },
                "description": "the x402 v2 envelope, standard base64"
              }
            }
          },
          "413": {
            "description": "the request body is larger than the limit"
          },
          "429": {
            "description": "the daily ceiling for this caller, or a deployment with no receiving address"
          }
        },
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.015"
          }
        },
        "x-billing-terms": {
          "billable_unit": {
            "unit": "one served report",
            "price_usd": "0.015",
            "amount_atomic": "15000",
            "metered": false,
            "note": "One served report. A single signed authorization buys exactly one response at the listed price; the amount settled is that whole price, and there is no partial, metered or per-check billing. Settlement is queued only after the report exists, and only for a payment the facilitator verified — a report served while the facilitator was unreachable settles nothing at all."
          },
          "hold": {
            "held": false,
            "note": "None. Verification is a read at the facilitator, so nothing is reserved, escrowed or held: the signed authorization moves no funds until it is submitted at settle, which runs after the response has already been sent. An authorization that never reaches settle simply goes unused."
          },
          "idempotency": {
            "key": "sha256(payment header, as presented)",
            "headers": [
              "PAYMENT-SIGNATURE",
              "X-PAYMENT"
            ],
            "idempotency_key_header": null,
            "replay": {
              "status": 402,
              "error": "payment_already_used"
            },
            "note": "There is no idempotency-key header. The key is the SHA-256 of the payment header exactly as presented — `X-PAYMENT` for x402 v1, `PAYMENT-SIGNATURE` for x402 v2, and PAYMENT-SIGNATURE is the one read when a request carries both — claimed single-use between verification and the work. A retry carrying the same authorization — concurrently, or an hour later — is answered 402 with invalidReason `payment_already_used` and the live terms attached; it runs no work, serves no second report and settles nothing. Sign a fresh authorization to buy another report."
          },
          "post_payment_error": {
            "settles": false,
            "on_4xx": "authorization released",
            "on_5xx": "authorization not released — sign a fresh one",
            "note": "Nothing is ever settled unless a report was served. Every 4xx after payment — an empty or malformed body, a missing or unknown field, an unknown check id, a refused or unreachable target — releases the single-use claim, so the very same authorization can be presented again. The one 5xx, a 503 raised when the store or the metering path is unavailable, also settles nothing, but does not release the claim: retry with a freshly signed authorization."
          },
          "refund": {
            "path": "none",
            "dispute": "none",
            "contact": "support@10x402.com",
            "note": "None. There is no refund, credit or dispute endpoint, and no reversal of a settled payment. The mechanism is non-charge rather than refund: an authorization for a report that was not served is never submitted, so no funds move. A settlement that fails after a report was served is recorded and not retried — the caller keeps the report. Anything else is support@10x402.com and a conversation, not a guaranteed remedy."
          }
        }
      }
    },
    "/presence": {
      "post": {
        "operationId": "presence",
        "summary": "Where a live x402 resource stands with the registries — Bazaar, x402scan, and on-chain ($0.06)",
        "description": "The question the stuck-seller threads open with: \"I settle payments — why can nobody find me?\" Fetches your 402, reads the payTo and resource it declares, then checks three public surfaces: the full CDP Bazaar discovery catalog (scanned end to end — its payTo filter is documented but inert, so the honest read is the whole catalog), the x402scan explorer, and USDC transfer activity to your payTo on Base. Per-registry verdict with the evidence and a specific way in for each miss. A surface that cannot be read reports `unknown`, never a guessed `not_found`. /lint answers whether your declaration is right; this answers whether the world can see it.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri",
                    "description": "the https URL of the paid endpoint to lint"
                  },
                  "method": {
                    "type": "string",
                    "enum": [
                      "POST",
                      "GET"
                    ],
                    "default": "POST"
                  }
                }
              },
              "example": {
                "url": "https://toolshed.lemon-agent.dev/convert/md-html",
                "method": "POST"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "the lint report",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "grade",
                    "summary",
                    "findings",
                    "checks_run"
                  ],
                  "properties": {
                    "grade": {
                      "type": "string",
                      "enum": [
                        "A",
                        "B",
                        "C",
                        "D",
                        "F"
                      ],
                      "description": "CAN THIS ENDPOINT BE PAID, and only that. Computed from payment-regime findings; discovery is reported separately as summary.bazaar_ready. A: zero payment-regime errors and zero payment-regime warnings; B: zero payment-regime errors, one or two warnings; C: zero payment-regime errors, three or more warnings; D: one or more payment-regime errors, none of them core; F: any core error — the envelope is not usable as published"
                    },
                    "summary": {
                      "type": "object",
                      "properties": {
                        "versions_detected": {
                          "type": "array",
                          "items": {
                            "type": "integer",
                            "enum": [
                              1,
                              2
                            ]
                          }
                        },
                        "payTo": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "network": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "price": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "bazaar_ready": {
                          "oneOf": [
                            {
                              "type": "boolean"
                            },
                            {
                              "type": "string",
                              "enum": [
                                "n/a"
                              ]
                            }
                          ],
                          "description": "CAN THIS ENDPOINT BE FOUND — the second verdict, from bazaar-regime errors. \"n/a\" for a v1-only endpoint, whose CDP requirements are a v2 shape. Grade A with bazaar_ready false is a real and common answer: payable, and not catalogued."
                        },
                        "blockers": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "enum": [
                              "V2_HEADER_PRESENT",
                              "V2_NETWORK_SUPPORTED",
                              "V2_AMOUNT_MINIMUM",
                              "V2_INDEX_AMOUNT",
                              "V2_INDEX_TIMEOUT",
                              "V2_INDEX_ASSET",
                              "V2_INDEX_PAYTO",
                              "V2_RESOURCE_URL",
                              "V2_RESOURCE_METHOD",
                              "V2_RESOURCE_DESCRIPTION",
                              "V2_SERVICE_NAME",
                              "V2_TAGS",
                              "V2_BAZAAR_PRESENT",
                              "V2_BAZAAR_INFO",
                              "V2_BAZAAR_SCHEMA",
                              "V2_BAZAAR_SCHEMA_CONTENT",
                              "V2_BAZAAR_INFO_VALIDATES",
                              "V2_BAZAAR_BAG_MISMATCH",
                              "V2_BAZAAR_INPUT",
                              "V2_BAZAAR_INPUT_TYPE",
                              "V2_BAZAAR_INPUT_METHOD",
                              "V2_BAZAAR_OUTPUT_TYPE",
                              "V2_BAZAAR_OUTPUT_EXAMPLE",
                              "V1_OUTPUT_SCHEMA",
                              "V1_DISCOVERABLE"
                            ]
                          },
                          "description": "the check codes standing between this resource and an index entry"
                        },
                        "partial": {
                          "type": "string",
                          "description": "present when the response was not a 402 and carried no envelope, so the envelope checks could not run"
                        },
                        "edge_invented": {
                          "type": "string",
                          "description": "present when the linted response did not carry the origin marker the endpoint advertises, so an intermediary minted it rather than the origin. Every other finding in the report then describes that intermediary's reply, not the seller's envelope. Only set when a marker is advertised — see ORIGIN_MARKER_PRESENT."
                        }
                      }
                    },
                    "findings": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "severity",
                          "code",
                          "message",
                          "fix"
                        ],
                        "properties": {
                          "severity": {
                            "type": "string",
                            "enum": [
                              "error",
                              "warn",
                              "info"
                            ]
                          },
                          "code": {
                            "type": "string",
                            "enum": [
                              "HTTP_STATUS_402",
                              "HTTP_FREE_TIER_200",
                              "HTTP_SERVER_ERROR",
                              "HTTP_REDIRECT",
                              "HTTP_CONTENT_TYPE_JSON",
                              "ENVELOPE_PRESENT",
                              "HTTP_ROUTE_DISCRIMINATES",
                              "HTTP_SOFT_404",
                              "UA_GATE_402",
                              "UA_GATE_SURFACES",
                              "ORIGIN_MARKER_PRESENT",
                              "V2_HEADER_PRESENT",
                              "V2_B64_URLSAFE",
                              "V2_B64_DECODE",
                              "V2_JSON",
                              "V2_VERSION",
                              "V2_ACCEPTS_NONEMPTY",
                              "V2_SCHEME",
                              "V2_SCHEME_KNOWN",
                              "V2_NETWORK_CAIP2",
                              "V2_NETWORK_CAIP2_STYLE",
                              "V2_NAMESPACE_KNOWN",
                              "V2_NETWORK_SUPPORTED",
                              "V2_AMOUNT",
                              "V2_AMOUNT_ATOMIC",
                              "V2_AMOUNT_MINIMUM",
                              "V2_INDEX_AMOUNT",
                              "V2_INDEX_TIMEOUT",
                              "V2_INDEX_ASSET",
                              "V2_INDEX_PAYTO",
                              "V2_PAYTO",
                              "V2_ASSET",
                              "V2_MAX_TIMEOUT",
                              "V2_EXTRA_EIP712",
                              "V2_ACCEPTS_V1_FIELDS",
                              "V2_RESOURCE_OBJECT",
                              "V2_RESOURCE_URL_PARSES",
                              "V2_RESOURCE_URL",
                              "V2_RESOURCE_METHOD",
                              "V2_RESOURCE_DESCRIPTION",
                              "V2_RESOURCE_MIMETYPE",
                              "V2_RESOURCE_URL_MATCHES",
                              "V2_SERVICE_NAME",
                              "V2_TAGS",
                              "V2_BAZAAR_PRESENT",
                              "V2_BAZAAR_INFO",
                              "V2_BAZAAR_SCHEMA",
                              "V2_BAZAAR_SCHEMA_CONTENT",
                              "V2_BAZAAR_INFO_VALIDATES",
                              "V2_BAZAAR_BAG_MISMATCH",
                              "V2_BAZAAR_INPUT",
                              "V2_BAZAAR_INPUT_TYPE",
                              "V2_BAZAAR_INPUT_METHOD",
                              "V2_BAZAAR_OUTPUT_TYPE",
                              "V2_BAZAAR_OUTPUT_EXAMPLE",
                              "V2_BAZAAR_INPUT_REPLAYABLE",
                              "V2_BAZAAR_INPUT_QUERY_EXAMPLE",
                              "V1_ABSENT",
                              "V1_BODY_NOT_ENVELOPE",
                              "V1_BODY_PRESENT",
                              "V1_BODY_JSON",
                              "V1_VERSION",
                              "V1_ACCEPTS_NONEMPTY",
                              "V1_SCHEME",
                              "V1_SCHEME_KNOWN",
                              "V1_MAX_AMOUNT_REQUIRED",
                              "V1_AMOUNT_ATOMIC",
                              "V1_NETWORK_NAME",
                              "V1_NETWORK_KNOWN",
                              "V1_RESOURCE_STRING",
                              "V1_PAYTO",
                              "V1_ASSET",
                              "V1_MIMETYPE",
                              "V1_DESCRIPTION",
                              "V1_MAX_TIMEOUT",
                              "V1_EXTRA_EIP712",
                              "V1_OUTPUT_SCHEMA",
                              "V1_DISCOVERABLE",
                              "DUAL_PAYTO",
                              "DUAL_PRICE",
                              "DUAL_NETWORK",
                              "DUAL_ASSET",
                              "DUAL_RESOURCE",
                              "VERSION_HEADER_SAYS_V1",
                              "VERSION_BODY_SAYS_V2",
                              "BILLING_TERMS_DISCLOSED",
                              "EMPTY_BODY_200",
                              "UNPARSEABLE_BODY_200",
                              "SCHEMA_SHAPE_200",
                              "DEGENERATE_TEXT_200",
                              "CROSS_ROUTE_CONSISTENCY",
                              "LISTED_PRICE_MATCHES",
                              "ACCEPTS_TRUNCATED",
                              "FINDINGS_TRUNCATED"
                            ]
                          },
                          "message": {
                            "type": "string",
                            "description": "what is wrong, in this envelope"
                          },
                          "fix": {
                            "type": "string",
                            "description": "exactly how to fix it"
                          },
                          "core": {
                            "type": "boolean",
                            "description": "whether THIS finding makes the envelope unusable as published. Resolved per finding rather than per check: HTTP_STATUS_402 is core on a 401 and not on a 405, where the linter's own choice of verb is as likely an explanation."
                          },
                          "bucket": {
                            "type": "string",
                            "enum": [
                              "edge-invented"
                            ],
                            "description": "a diagnostic pile this finding belongs to, kept separate from schema drift. `edge-invented` means the response was minted on the path rather than by the origin, which is a vendor CONFIGURATION rather than a vendor bug and wants the opposite fix. Present only on ORIGIN_MARKER_PRESENT today."
                          }
                        }
                      }
                    },
                    "checks_run": {
                      "type": "integer",
                      "description": "how many checks APPLIED. A v1-only endpoint legitimately skips every v2 check, so this is the denominator a caller needs before comparing two reports."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "the request could not be linted. Nothing is charged for a call that was not served.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "fix": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "402": {
            "description": "Payment required — the ordinary answer to an unauthenticated call, and NOT an error. The body is the x402 v1 envelope; the PAYMENT-REQUIRED response header carries the v2 envelope as standard base64.",
            "headers": {
              "PAYMENT-REQUIRED": {
                "schema": {
                  "type": "string"
                },
                "description": "the x402 v2 envelope, standard base64"
              }
            }
          },
          "413": {
            "description": "the request body is larger than the limit"
          },
          "429": {
            "description": "the daily ceiling for this caller, or a deployment with no receiving address"
          }
        },
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.06"
          }
        },
        "x-billing-terms": {
          "billable_unit": {
            "unit": "one served report",
            "price_usd": "0.06",
            "amount_atomic": "60000",
            "metered": false,
            "note": "One served report. A single signed authorization buys exactly one response at the listed price; the amount settled is that whole price, and there is no partial, metered or per-check billing. Settlement is queued only after the report exists, and only for a payment the facilitator verified — a report served while the facilitator was unreachable settles nothing at all."
          },
          "hold": {
            "held": false,
            "note": "None. Verification is a read at the facilitator, so nothing is reserved, escrowed or held: the signed authorization moves no funds until it is submitted at settle, which runs after the response has already been sent. An authorization that never reaches settle simply goes unused."
          },
          "idempotency": {
            "key": "sha256(payment header, as presented)",
            "headers": [
              "PAYMENT-SIGNATURE",
              "X-PAYMENT"
            ],
            "idempotency_key_header": null,
            "replay": {
              "status": 402,
              "error": "payment_already_used"
            },
            "note": "There is no idempotency-key header. The key is the SHA-256 of the payment header exactly as presented — `X-PAYMENT` for x402 v1, `PAYMENT-SIGNATURE` for x402 v2, and PAYMENT-SIGNATURE is the one read when a request carries both — claimed single-use between verification and the work. A retry carrying the same authorization — concurrently, or an hour later — is answered 402 with invalidReason `payment_already_used` and the live terms attached; it runs no work, serves no second report and settles nothing. Sign a fresh authorization to buy another report."
          },
          "post_payment_error": {
            "settles": false,
            "on_4xx": "authorization released",
            "on_5xx": "authorization not released — sign a fresh one",
            "note": "Nothing is ever settled unless a report was served. Every 4xx after payment — an empty or malformed body, a missing or unknown field, an unknown check id, a refused or unreachable target — releases the single-use claim, so the very same authorization can be presented again. The one 5xx, a 503 raised when the store or the metering path is unavailable, also settles nothing, but does not release the claim: retry with a freshly signed authorization."
          },
          "refund": {
            "path": "none",
            "dispute": "none",
            "contact": "support@10x402.com",
            "note": "None. There is no refund, credit or dispute endpoint, and no reversal of a settled payment. The mechanism is non-charge rather than refund: an authorization for a report that was not served is never submitted, so no funds move. A settlement that fails after a report was served is recorded and not retried — the caller keeps the report. Anything else is support@10x402.com and a conversation, not a guaranteed remedy."
          }
        }
      }
    },
    "/monitor/verdict": {
      "post": {
        "operationId": "monitor_verdict",
        "summary": "The latest stored reading for a host: three rating instruments plus what it answered when asked — dated, never live, and it says how old it is ($0.005)",
        "description": "The latest stored day for one host: agenteconomy.report, apistrust.com and the CDP Bazaar quality block side by side, plus what the endpoint itself answered to an unpaid request on the verb its own catalogue row declares and on GET. Read-time flags name the two findings that matter — a liveness contradiction between the instruments, and `wrongly-dead`: rated at uptime 0.0 while answering 402 on its declared verb. Stamped with the day it was measured, and if the stored probe is more than 36 hours old the answer says so instead of pretending to be current. Nothing is fetched to serve it.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "host"
                ],
                "properties": {
                  "host": {
                    "type": "string",
                    "description": "the hostname this wing has been watching — or the https URL of an endpoint, whose host is taken. A bare 0x… wallet address is also accepted: the rating instrument files some of its rows under one, and those carry readings but can never carry a probe."
                  }
                }
              },
              "example": {
                "host": "10x402.com"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "the lint report",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "grade",
                    "summary",
                    "findings",
                    "checks_run"
                  ],
                  "properties": {
                    "grade": {
                      "type": "string",
                      "enum": [
                        "A",
                        "B",
                        "C",
                        "D",
                        "F"
                      ],
                      "description": "CAN THIS ENDPOINT BE PAID, and only that. Computed from payment-regime findings; discovery is reported separately as summary.bazaar_ready. A: zero payment-regime errors and zero payment-regime warnings; B: zero payment-regime errors, one or two warnings; C: zero payment-regime errors, three or more warnings; D: one or more payment-regime errors, none of them core; F: any core error — the envelope is not usable as published"
                    },
                    "summary": {
                      "type": "object",
                      "properties": {
                        "versions_detected": {
                          "type": "array",
                          "items": {
                            "type": "integer",
                            "enum": [
                              1,
                              2
                            ]
                          }
                        },
                        "payTo": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "network": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "price": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "bazaar_ready": {
                          "oneOf": [
                            {
                              "type": "boolean"
                            },
                            {
                              "type": "string",
                              "enum": [
                                "n/a"
                              ]
                            }
                          ],
                          "description": "CAN THIS ENDPOINT BE FOUND — the second verdict, from bazaar-regime errors. \"n/a\" for a v1-only endpoint, whose CDP requirements are a v2 shape. Grade A with bazaar_ready false is a real and common answer: payable, and not catalogued."
                        },
                        "blockers": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "enum": [
                              "V2_HEADER_PRESENT",
                              "V2_NETWORK_SUPPORTED",
                              "V2_AMOUNT_MINIMUM",
                              "V2_INDEX_AMOUNT",
                              "V2_INDEX_TIMEOUT",
                              "V2_INDEX_ASSET",
                              "V2_INDEX_PAYTO",
                              "V2_RESOURCE_URL",
                              "V2_RESOURCE_METHOD",
                              "V2_RESOURCE_DESCRIPTION",
                              "V2_SERVICE_NAME",
                              "V2_TAGS",
                              "V2_BAZAAR_PRESENT",
                              "V2_BAZAAR_INFO",
                              "V2_BAZAAR_SCHEMA",
                              "V2_BAZAAR_SCHEMA_CONTENT",
                              "V2_BAZAAR_INFO_VALIDATES",
                              "V2_BAZAAR_BAG_MISMATCH",
                              "V2_BAZAAR_INPUT",
                              "V2_BAZAAR_INPUT_TYPE",
                              "V2_BAZAAR_INPUT_METHOD",
                              "V2_BAZAAR_OUTPUT_TYPE",
                              "V2_BAZAAR_OUTPUT_EXAMPLE",
                              "V1_OUTPUT_SCHEMA",
                              "V1_DISCOVERABLE"
                            ]
                          },
                          "description": "the check codes standing between this resource and an index entry"
                        },
                        "partial": {
                          "type": "string",
                          "description": "present when the response was not a 402 and carried no envelope, so the envelope checks could not run"
                        },
                        "edge_invented": {
                          "type": "string",
                          "description": "present when the linted response did not carry the origin marker the endpoint advertises, so an intermediary minted it rather than the origin. Every other finding in the report then describes that intermediary's reply, not the seller's envelope. Only set when a marker is advertised — see ORIGIN_MARKER_PRESENT."
                        }
                      }
                    },
                    "findings": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "severity",
                          "code",
                          "message",
                          "fix"
                        ],
                        "properties": {
                          "severity": {
                            "type": "string",
                            "enum": [
                              "error",
                              "warn",
                              "info"
                            ]
                          },
                          "code": {
                            "type": "string",
                            "enum": [
                              "HTTP_STATUS_402",
                              "HTTP_FREE_TIER_200",
                              "HTTP_SERVER_ERROR",
                              "HTTP_REDIRECT",
                              "HTTP_CONTENT_TYPE_JSON",
                              "ENVELOPE_PRESENT",
                              "HTTP_ROUTE_DISCRIMINATES",
                              "HTTP_SOFT_404",
                              "UA_GATE_402",
                              "UA_GATE_SURFACES",
                              "ORIGIN_MARKER_PRESENT",
                              "V2_HEADER_PRESENT",
                              "V2_B64_URLSAFE",
                              "V2_B64_DECODE",
                              "V2_JSON",
                              "V2_VERSION",
                              "V2_ACCEPTS_NONEMPTY",
                              "V2_SCHEME",
                              "V2_SCHEME_KNOWN",
                              "V2_NETWORK_CAIP2",
                              "V2_NETWORK_CAIP2_STYLE",
                              "V2_NAMESPACE_KNOWN",
                              "V2_NETWORK_SUPPORTED",
                              "V2_AMOUNT",
                              "V2_AMOUNT_ATOMIC",
                              "V2_AMOUNT_MINIMUM",
                              "V2_INDEX_AMOUNT",
                              "V2_INDEX_TIMEOUT",
                              "V2_INDEX_ASSET",
                              "V2_INDEX_PAYTO",
                              "V2_PAYTO",
                              "V2_ASSET",
                              "V2_MAX_TIMEOUT",
                              "V2_EXTRA_EIP712",
                              "V2_ACCEPTS_V1_FIELDS",
                              "V2_RESOURCE_OBJECT",
                              "V2_RESOURCE_URL_PARSES",
                              "V2_RESOURCE_URL",
                              "V2_RESOURCE_METHOD",
                              "V2_RESOURCE_DESCRIPTION",
                              "V2_RESOURCE_MIMETYPE",
                              "V2_RESOURCE_URL_MATCHES",
                              "V2_SERVICE_NAME",
                              "V2_TAGS",
                              "V2_BAZAAR_PRESENT",
                              "V2_BAZAAR_INFO",
                              "V2_BAZAAR_SCHEMA",
                              "V2_BAZAAR_SCHEMA_CONTENT",
                              "V2_BAZAAR_INFO_VALIDATES",
                              "V2_BAZAAR_BAG_MISMATCH",
                              "V2_BAZAAR_INPUT",
                              "V2_BAZAAR_INPUT_TYPE",
                              "V2_BAZAAR_INPUT_METHOD",
                              "V2_BAZAAR_OUTPUT_TYPE",
                              "V2_BAZAAR_OUTPUT_EXAMPLE",
                              "V2_BAZAAR_INPUT_REPLAYABLE",
                              "V2_BAZAAR_INPUT_QUERY_EXAMPLE",
                              "V1_ABSENT",
                              "V1_BODY_NOT_ENVELOPE",
                              "V1_BODY_PRESENT",
                              "V1_BODY_JSON",
                              "V1_VERSION",
                              "V1_ACCEPTS_NONEMPTY",
                              "V1_SCHEME",
                              "V1_SCHEME_KNOWN",
                              "V1_MAX_AMOUNT_REQUIRED",
                              "V1_AMOUNT_ATOMIC",
                              "V1_NETWORK_NAME",
                              "V1_NETWORK_KNOWN",
                              "V1_RESOURCE_STRING",
                              "V1_PAYTO",
                              "V1_ASSET",
                              "V1_MIMETYPE",
                              "V1_DESCRIPTION",
                              "V1_MAX_TIMEOUT",
                              "V1_EXTRA_EIP712",
                              "V1_OUTPUT_SCHEMA",
                              "V1_DISCOVERABLE",
                              "DUAL_PAYTO",
                              "DUAL_PRICE",
                              "DUAL_NETWORK",
                              "DUAL_ASSET",
                              "DUAL_RESOURCE",
                              "VERSION_HEADER_SAYS_V1",
                              "VERSION_BODY_SAYS_V2",
                              "BILLING_TERMS_DISCLOSED",
                              "EMPTY_BODY_200",
                              "UNPARSEABLE_BODY_200",
                              "SCHEMA_SHAPE_200",
                              "DEGENERATE_TEXT_200",
                              "CROSS_ROUTE_CONSISTENCY",
                              "LISTED_PRICE_MATCHES",
                              "ACCEPTS_TRUNCATED",
                              "FINDINGS_TRUNCATED"
                            ]
                          },
                          "message": {
                            "type": "string",
                            "description": "what is wrong, in this envelope"
                          },
                          "fix": {
                            "type": "string",
                            "description": "exactly how to fix it"
                          },
                          "core": {
                            "type": "boolean",
                            "description": "whether THIS finding makes the envelope unusable as published. Resolved per finding rather than per check: HTTP_STATUS_402 is core on a 401 and not on a 405, where the linter's own choice of verb is as likely an explanation."
                          },
                          "bucket": {
                            "type": "string",
                            "enum": [
                              "edge-invented"
                            ],
                            "description": "a diagnostic pile this finding belongs to, kept separate from schema drift. `edge-invented` means the response was minted on the path rather than by the origin, which is a vendor CONFIGURATION rather than a vendor bug and wants the opposite fix. Present only on ORIGIN_MARKER_PRESENT today."
                          }
                        }
                      }
                    },
                    "checks_run": {
                      "type": "integer",
                      "description": "how many checks APPLIED. A v1-only endpoint legitimately skips every v2 check, so this is the denominator a caller needs before comparing two reports."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "the request could not be linted. Nothing is charged for a call that was not served.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "fix": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "402": {
            "description": "Payment required — the ordinary answer to an unauthenticated call, and NOT an error. The body is the x402 v1 envelope; the PAYMENT-REQUIRED response header carries the v2 envelope as standard base64.",
            "headers": {
              "PAYMENT-REQUIRED": {
                "schema": {
                  "type": "string"
                },
                "description": "the x402 v2 envelope, standard base64"
              }
            }
          },
          "413": {
            "description": "the request body is larger than the limit"
          },
          "429": {
            "description": "the daily ceiling for this caller, or a deployment with no receiving address"
          }
        },
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.005"
          }
        },
        "x-billing-terms": {
          "billable_unit": {
            "unit": "one served report",
            "price_usd": "0.005",
            "amount_atomic": "5000",
            "metered": false,
            "note": "One served report. A single signed authorization buys exactly one response at the listed price; the amount settled is that whole price, and there is no partial, metered or per-check billing. Settlement is queued only after the report exists, and only for a payment the facilitator verified — a report served while the facilitator was unreachable settles nothing at all."
          },
          "hold": {
            "held": false,
            "note": "None. Verification is a read at the facilitator, so nothing is reserved, escrowed or held: the signed authorization moves no funds until it is submitted at settle, which runs after the response has already been sent. An authorization that never reaches settle simply goes unused."
          },
          "idempotency": {
            "key": "sha256(payment header, as presented)",
            "headers": [
              "PAYMENT-SIGNATURE",
              "X-PAYMENT"
            ],
            "idempotency_key_header": null,
            "replay": {
              "status": 402,
              "error": "payment_already_used"
            },
            "note": "There is no idempotency-key header. The key is the SHA-256 of the payment header exactly as presented — `X-PAYMENT` for x402 v1, `PAYMENT-SIGNATURE` for x402 v2, and PAYMENT-SIGNATURE is the one read when a request carries both — claimed single-use between verification and the work. A retry carrying the same authorization — concurrently, or an hour later — is answered 402 with invalidReason `payment_already_used` and the live terms attached; it runs no work, serves no second report and settles nothing. Sign a fresh authorization to buy another report."
          },
          "post_payment_error": {
            "settles": false,
            "on_4xx": "authorization released",
            "on_5xx": "authorization not released — sign a fresh one",
            "note": "Nothing is ever settled unless a report was served. Every 4xx after payment — an empty or malformed body, a missing or unknown field, an unknown check id, a refused or unreachable target — releases the single-use claim, so the very same authorization can be presented again. The one 5xx, a 503 raised when the store or the metering path is unavailable, also settles nothing, but does not release the claim: retry with a freshly signed authorization."
          },
          "refund": {
            "path": "none",
            "dispute": "none",
            "contact": "support@10x402.com",
            "note": "None. There is no refund, credit or dispute endpoint, and no reversal of a settled payment. The mechanism is non-charge rather than refund: an authorization for a report that was not served is never submitted, so no funds move. A settlement that fails after a report was served is recorded and not retried — the caller keeps the report. Anything else is support@10x402.com and a conversation, not a guaranteed remedy."
          }
        }
      }
    },
    "/monitor/history": {
      "post": {
        "operationId": "monitor_history",
        "summary": "Every day this wing has held for one host — instrument readings and probes ($0.03)",
        "description": "The full daily series for one host, oldest first: what each instrument reported that day and what the declared-verb probe found, with the flags computed per day. This is the half the free page deliberately does not give away — a single day says what a rating is, and the series says whether it is drifting, whether a correction stuck, and how long a wrong liveness reading has been costing you. A day the capture did not run is simply absent, and a day that was captured but not probed says so rather than reading as a silent endpoint.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "host"
                ],
                "properties": {
                  "host": {
                    "type": "string",
                    "description": "the hostname this wing has been watching — or the https URL of an endpoint, whose host is taken. A bare 0x… wallet address is also accepted: the rating instrument files some of its rows under one, and those carry readings but can never carry a probe."
                  }
                }
              },
              "example": {
                "host": "10x402.com"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "the lint report",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "grade",
                    "summary",
                    "findings",
                    "checks_run"
                  ],
                  "properties": {
                    "grade": {
                      "type": "string",
                      "enum": [
                        "A",
                        "B",
                        "C",
                        "D",
                        "F"
                      ],
                      "description": "CAN THIS ENDPOINT BE PAID, and only that. Computed from payment-regime findings; discovery is reported separately as summary.bazaar_ready. A: zero payment-regime errors and zero payment-regime warnings; B: zero payment-regime errors, one or two warnings; C: zero payment-regime errors, three or more warnings; D: one or more payment-regime errors, none of them core; F: any core error — the envelope is not usable as published"
                    },
                    "summary": {
                      "type": "object",
                      "properties": {
                        "versions_detected": {
                          "type": "array",
                          "items": {
                            "type": "integer",
                            "enum": [
                              1,
                              2
                            ]
                          }
                        },
                        "payTo": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "network": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "price": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "bazaar_ready": {
                          "oneOf": [
                            {
                              "type": "boolean"
                            },
                            {
                              "type": "string",
                              "enum": [
                                "n/a"
                              ]
                            }
                          ],
                          "description": "CAN THIS ENDPOINT BE FOUND — the second verdict, from bazaar-regime errors. \"n/a\" for a v1-only endpoint, whose CDP requirements are a v2 shape. Grade A with bazaar_ready false is a real and common answer: payable, and not catalogued."
                        },
                        "blockers": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "enum": [
                              "V2_HEADER_PRESENT",
                              "V2_NETWORK_SUPPORTED",
                              "V2_AMOUNT_MINIMUM",
                              "V2_INDEX_AMOUNT",
                              "V2_INDEX_TIMEOUT",
                              "V2_INDEX_ASSET",
                              "V2_INDEX_PAYTO",
                              "V2_RESOURCE_URL",
                              "V2_RESOURCE_METHOD",
                              "V2_RESOURCE_DESCRIPTION",
                              "V2_SERVICE_NAME",
                              "V2_TAGS",
                              "V2_BAZAAR_PRESENT",
                              "V2_BAZAAR_INFO",
                              "V2_BAZAAR_SCHEMA",
                              "V2_BAZAAR_SCHEMA_CONTENT",
                              "V2_BAZAAR_INFO_VALIDATES",
                              "V2_BAZAAR_BAG_MISMATCH",
                              "V2_BAZAAR_INPUT",
                              "V2_BAZAAR_INPUT_TYPE",
                              "V2_BAZAAR_INPUT_METHOD",
                              "V2_BAZAAR_OUTPUT_TYPE",
                              "V2_BAZAAR_OUTPUT_EXAMPLE",
                              "V1_OUTPUT_SCHEMA",
                              "V1_DISCOVERABLE"
                            ]
                          },
                          "description": "the check codes standing between this resource and an index entry"
                        },
                        "partial": {
                          "type": "string",
                          "description": "present when the response was not a 402 and carried no envelope, so the envelope checks could not run"
                        },
                        "edge_invented": {
                          "type": "string",
                          "description": "present when the linted response did not carry the origin marker the endpoint advertises, so an intermediary minted it rather than the origin. Every other finding in the report then describes that intermediary's reply, not the seller's envelope. Only set when a marker is advertised — see ORIGIN_MARKER_PRESENT."
                        }
                      }
                    },
                    "findings": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "severity",
                          "code",
                          "message",
                          "fix"
                        ],
                        "properties": {
                          "severity": {
                            "type": "string",
                            "enum": [
                              "error",
                              "warn",
                              "info"
                            ]
                          },
                          "code": {
                            "type": "string",
                            "enum": [
                              "HTTP_STATUS_402",
                              "HTTP_FREE_TIER_200",
                              "HTTP_SERVER_ERROR",
                              "HTTP_REDIRECT",
                              "HTTP_CONTENT_TYPE_JSON",
                              "ENVELOPE_PRESENT",
                              "HTTP_ROUTE_DISCRIMINATES",
                              "HTTP_SOFT_404",
                              "UA_GATE_402",
                              "UA_GATE_SURFACES",
                              "ORIGIN_MARKER_PRESENT",
                              "V2_HEADER_PRESENT",
                              "V2_B64_URLSAFE",
                              "V2_B64_DECODE",
                              "V2_JSON",
                              "V2_VERSION",
                              "V2_ACCEPTS_NONEMPTY",
                              "V2_SCHEME",
                              "V2_SCHEME_KNOWN",
                              "V2_NETWORK_CAIP2",
                              "V2_NETWORK_CAIP2_STYLE",
                              "V2_NAMESPACE_KNOWN",
                              "V2_NETWORK_SUPPORTED",
                              "V2_AMOUNT",
                              "V2_AMOUNT_ATOMIC",
                              "V2_AMOUNT_MINIMUM",
                              "V2_INDEX_AMOUNT",
                              "V2_INDEX_TIMEOUT",
                              "V2_INDEX_ASSET",
                              "V2_INDEX_PAYTO",
                              "V2_PAYTO",
                              "V2_ASSET",
                              "V2_MAX_TIMEOUT",
                              "V2_EXTRA_EIP712",
                              "V2_ACCEPTS_V1_FIELDS",
                              "V2_RESOURCE_OBJECT",
                              "V2_RESOURCE_URL_PARSES",
                              "V2_RESOURCE_URL",
                              "V2_RESOURCE_METHOD",
                              "V2_RESOURCE_DESCRIPTION",
                              "V2_RESOURCE_MIMETYPE",
                              "V2_RESOURCE_URL_MATCHES",
                              "V2_SERVICE_NAME",
                              "V2_TAGS",
                              "V2_BAZAAR_PRESENT",
                              "V2_BAZAAR_INFO",
                              "V2_BAZAAR_SCHEMA",
                              "V2_BAZAAR_SCHEMA_CONTENT",
                              "V2_BAZAAR_INFO_VALIDATES",
                              "V2_BAZAAR_BAG_MISMATCH",
                              "V2_BAZAAR_INPUT",
                              "V2_BAZAAR_INPUT_TYPE",
                              "V2_BAZAAR_INPUT_METHOD",
                              "V2_BAZAAR_OUTPUT_TYPE",
                              "V2_BAZAAR_OUTPUT_EXAMPLE",
                              "V2_BAZAAR_INPUT_REPLAYABLE",
                              "V2_BAZAAR_INPUT_QUERY_EXAMPLE",
                              "V1_ABSENT",
                              "V1_BODY_NOT_ENVELOPE",
                              "V1_BODY_PRESENT",
                              "V1_BODY_JSON",
                              "V1_VERSION",
                              "V1_ACCEPTS_NONEMPTY",
                              "V1_SCHEME",
                              "V1_SCHEME_KNOWN",
                              "V1_MAX_AMOUNT_REQUIRED",
                              "V1_AMOUNT_ATOMIC",
                              "V1_NETWORK_NAME",
                              "V1_NETWORK_KNOWN",
                              "V1_RESOURCE_STRING",
                              "V1_PAYTO",
                              "V1_ASSET",
                              "V1_MIMETYPE",
                              "V1_DESCRIPTION",
                              "V1_MAX_TIMEOUT",
                              "V1_EXTRA_EIP712",
                              "V1_OUTPUT_SCHEMA",
                              "V1_DISCOVERABLE",
                              "DUAL_PAYTO",
                              "DUAL_PRICE",
                              "DUAL_NETWORK",
                              "DUAL_ASSET",
                              "DUAL_RESOURCE",
                              "VERSION_HEADER_SAYS_V1",
                              "VERSION_BODY_SAYS_V2",
                              "BILLING_TERMS_DISCLOSED",
                              "EMPTY_BODY_200",
                              "UNPARSEABLE_BODY_200",
                              "SCHEMA_SHAPE_200",
                              "DEGENERATE_TEXT_200",
                              "CROSS_ROUTE_CONSISTENCY",
                              "LISTED_PRICE_MATCHES",
                              "ACCEPTS_TRUNCATED",
                              "FINDINGS_TRUNCATED"
                            ]
                          },
                          "message": {
                            "type": "string",
                            "description": "what is wrong, in this envelope"
                          },
                          "fix": {
                            "type": "string",
                            "description": "exactly how to fix it"
                          },
                          "core": {
                            "type": "boolean",
                            "description": "whether THIS finding makes the envelope unusable as published. Resolved per finding rather than per check: HTTP_STATUS_402 is core on a 401 and not on a 405, where the linter's own choice of verb is as likely an explanation."
                          },
                          "bucket": {
                            "type": "string",
                            "enum": [
                              "edge-invented"
                            ],
                            "description": "a diagnostic pile this finding belongs to, kept separate from schema drift. `edge-invented` means the response was minted on the path rather than by the origin, which is a vendor CONFIGURATION rather than a vendor bug and wants the opposite fix. Present only on ORIGIN_MARKER_PRESENT today."
                          }
                        }
                      }
                    },
                    "checks_run": {
                      "type": "integer",
                      "description": "how many checks APPLIED. A v1-only endpoint legitimately skips every v2 check, so this is the denominator a caller needs before comparing two reports."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "the request could not be linted. Nothing is charged for a call that was not served.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "fix": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "402": {
            "description": "Payment required — the ordinary answer to an unauthenticated call, and NOT an error. The body is the x402 v1 envelope; the PAYMENT-REQUIRED response header carries the v2 envelope as standard base64.",
            "headers": {
              "PAYMENT-REQUIRED": {
                "schema": {
                  "type": "string"
                },
                "description": "the x402 v2 envelope, standard base64"
              }
            }
          },
          "413": {
            "description": "the request body is larger than the limit"
          },
          "429": {
            "description": "the daily ceiling for this caller, or a deployment with no receiving address"
          }
        },
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.03"
          }
        },
        "x-billing-terms": {
          "billable_unit": {
            "unit": "one served report",
            "price_usd": "0.03",
            "amount_atomic": "30000",
            "metered": false,
            "note": "One served report. A single signed authorization buys exactly one response at the listed price; the amount settled is that whole price, and there is no partial, metered or per-check billing. Settlement is queued only after the report exists, and only for a payment the facilitator verified — a report served while the facilitator was unreachable settles nothing at all."
          },
          "hold": {
            "held": false,
            "note": "None. Verification is a read at the facilitator, so nothing is reserved, escrowed or held: the signed authorization moves no funds until it is submitted at settle, which runs after the response has already been sent. An authorization that never reaches settle simply goes unused."
          },
          "idempotency": {
            "key": "sha256(payment header, as presented)",
            "headers": [
              "PAYMENT-SIGNATURE",
              "X-PAYMENT"
            ],
            "idempotency_key_header": null,
            "replay": {
              "status": 402,
              "error": "payment_already_used"
            },
            "note": "There is no idempotency-key header. The key is the SHA-256 of the payment header exactly as presented — `X-PAYMENT` for x402 v1, `PAYMENT-SIGNATURE` for x402 v2, and PAYMENT-SIGNATURE is the one read when a request carries both — claimed single-use between verification and the work. A retry carrying the same authorization — concurrently, or an hour later — is answered 402 with invalidReason `payment_already_used` and the live terms attached; it runs no work, serves no second report and settles nothing. Sign a fresh authorization to buy another report."
          },
          "post_payment_error": {
            "settles": false,
            "on_4xx": "authorization released",
            "on_5xx": "authorization not released — sign a fresh one",
            "note": "Nothing is ever settled unless a report was served. Every 4xx after payment — an empty or malformed body, a missing or unknown field, an unknown check id, a refused or unreachable target — releases the single-use claim, so the very same authorization can be presented again. The one 5xx, a 503 raised when the store or the metering path is unavailable, also settles nothing, but does not release the claim: retry with a freshly signed authorization."
          },
          "refund": {
            "path": "none",
            "dispute": "none",
            "contact": "support@10x402.com",
            "note": "None. There is no refund, credit or dispute endpoint, and no reversal of a settled payment. The mechanism is non-charge rather than refund: an authorization for a report that was not served is never submitted, so no funds move. A settlement that fails after a report was served is recorded and not retried — the caller keeps the report. Anything else is support@10x402.com and a conversation, not a guaranteed remedy."
          }
        }
      }
    },
    "/monitor/receipt": {
      "post": {
        "operationId": "monitor_receipt",
        "summary": "The dispute pack: the series, the contradiction stated, a SHA-256 digest and an attestation ($0.12)",
        "description": "The artefact to attach to a corrections request. It carries the whole daily series, a CONTRADICTION STATEMENT in plain numbers — how many days two instruments disagreed about whether this host was alive, and on how many of them the endpoint answered 402 to an unpaid request on its declared verb — a SHA-256 digest over the canonical JSON of the document so two copies can be compared in one line, and an attestation naming the probe method, the exact User-Agent every request carried (searchable verbatim in the rater's own access log), and the fact that NO PAYMENT WAS EVER SENT. The digest is an integrity check, not a signature: it proves two copies are the same document, not who issued it.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "host"
                ],
                "properties": {
                  "host": {
                    "type": "string",
                    "description": "the hostname this wing has been watching — or the https URL of an endpoint, whose host is taken. A bare 0x… wallet address is also accepted: the rating instrument files some of its rows under one, and those carry readings but can never carry a probe."
                  }
                }
              },
              "example": {
                "host": "10x402.com"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "the lint report",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "grade",
                    "summary",
                    "findings",
                    "checks_run"
                  ],
                  "properties": {
                    "grade": {
                      "type": "string",
                      "enum": [
                        "A",
                        "B",
                        "C",
                        "D",
                        "F"
                      ],
                      "description": "CAN THIS ENDPOINT BE PAID, and only that. Computed from payment-regime findings; discovery is reported separately as summary.bazaar_ready. A: zero payment-regime errors and zero payment-regime warnings; B: zero payment-regime errors, one or two warnings; C: zero payment-regime errors, three or more warnings; D: one or more payment-regime errors, none of them core; F: any core error — the envelope is not usable as published"
                    },
                    "summary": {
                      "type": "object",
                      "properties": {
                        "versions_detected": {
                          "type": "array",
                          "items": {
                            "type": "integer",
                            "enum": [
                              1,
                              2
                            ]
                          }
                        },
                        "payTo": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "network": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "price": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "bazaar_ready": {
                          "oneOf": [
                            {
                              "type": "boolean"
                            },
                            {
                              "type": "string",
                              "enum": [
                                "n/a"
                              ]
                            }
                          ],
                          "description": "CAN THIS ENDPOINT BE FOUND — the second verdict, from bazaar-regime errors. \"n/a\" for a v1-only endpoint, whose CDP requirements are a v2 shape. Grade A with bazaar_ready false is a real and common answer: payable, and not catalogued."
                        },
                        "blockers": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "enum": [
                              "V2_HEADER_PRESENT",
                              "V2_NETWORK_SUPPORTED",
                              "V2_AMOUNT_MINIMUM",
                              "V2_INDEX_AMOUNT",
                              "V2_INDEX_TIMEOUT",
                              "V2_INDEX_ASSET",
                              "V2_INDEX_PAYTO",
                              "V2_RESOURCE_URL",
                              "V2_RESOURCE_METHOD",
                              "V2_RESOURCE_DESCRIPTION",
                              "V2_SERVICE_NAME",
                              "V2_TAGS",
                              "V2_BAZAAR_PRESENT",
                              "V2_BAZAAR_INFO",
                              "V2_BAZAAR_SCHEMA",
                              "V2_BAZAAR_SCHEMA_CONTENT",
                              "V2_BAZAAR_INFO_VALIDATES",
                              "V2_BAZAAR_BAG_MISMATCH",
                              "V2_BAZAAR_INPUT",
                              "V2_BAZAAR_INPUT_TYPE",
                              "V2_BAZAAR_INPUT_METHOD",
                              "V2_BAZAAR_OUTPUT_TYPE",
                              "V2_BAZAAR_OUTPUT_EXAMPLE",
                              "V1_OUTPUT_SCHEMA",
                              "V1_DISCOVERABLE"
                            ]
                          },
                          "description": "the check codes standing between this resource and an index entry"
                        },
                        "partial": {
                          "type": "string",
                          "description": "present when the response was not a 402 and carried no envelope, so the envelope checks could not run"
                        },
                        "edge_invented": {
                          "type": "string",
                          "description": "present when the linted response did not carry the origin marker the endpoint advertises, so an intermediary minted it rather than the origin. Every other finding in the report then describes that intermediary's reply, not the seller's envelope. Only set when a marker is advertised — see ORIGIN_MARKER_PRESENT."
                        }
                      }
                    },
                    "findings": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "severity",
                          "code",
                          "message",
                          "fix"
                        ],
                        "properties": {
                          "severity": {
                            "type": "string",
                            "enum": [
                              "error",
                              "warn",
                              "info"
                            ]
                          },
                          "code": {
                            "type": "string",
                            "enum": [
                              "HTTP_STATUS_402",
                              "HTTP_FREE_TIER_200",
                              "HTTP_SERVER_ERROR",
                              "HTTP_REDIRECT",
                              "HTTP_CONTENT_TYPE_JSON",
                              "ENVELOPE_PRESENT",
                              "HTTP_ROUTE_DISCRIMINATES",
                              "HTTP_SOFT_404",
                              "UA_GATE_402",
                              "UA_GATE_SURFACES",
                              "ORIGIN_MARKER_PRESENT",
                              "V2_HEADER_PRESENT",
                              "V2_B64_URLSAFE",
                              "V2_B64_DECODE",
                              "V2_JSON",
                              "V2_VERSION",
                              "V2_ACCEPTS_NONEMPTY",
                              "V2_SCHEME",
                              "V2_SCHEME_KNOWN",
                              "V2_NETWORK_CAIP2",
                              "V2_NETWORK_CAIP2_STYLE",
                              "V2_NAMESPACE_KNOWN",
                              "V2_NETWORK_SUPPORTED",
                              "V2_AMOUNT",
                              "V2_AMOUNT_ATOMIC",
                              "V2_AMOUNT_MINIMUM",
                              "V2_INDEX_AMOUNT",
                              "V2_INDEX_TIMEOUT",
                              "V2_INDEX_ASSET",
                              "V2_INDEX_PAYTO",
                              "V2_PAYTO",
                              "V2_ASSET",
                              "V2_MAX_TIMEOUT",
                              "V2_EXTRA_EIP712",
                              "V2_ACCEPTS_V1_FIELDS",
                              "V2_RESOURCE_OBJECT",
                              "V2_RESOURCE_URL_PARSES",
                              "V2_RESOURCE_URL",
                              "V2_RESOURCE_METHOD",
                              "V2_RESOURCE_DESCRIPTION",
                              "V2_RESOURCE_MIMETYPE",
                              "V2_RESOURCE_URL_MATCHES",
                              "V2_SERVICE_NAME",
                              "V2_TAGS",
                              "V2_BAZAAR_PRESENT",
                              "V2_BAZAAR_INFO",
                              "V2_BAZAAR_SCHEMA",
                              "V2_BAZAAR_SCHEMA_CONTENT",
                              "V2_BAZAAR_INFO_VALIDATES",
                              "V2_BAZAAR_BAG_MISMATCH",
                              "V2_BAZAAR_INPUT",
                              "V2_BAZAAR_INPUT_TYPE",
                              "V2_BAZAAR_INPUT_METHOD",
                              "V2_BAZAAR_OUTPUT_TYPE",
                              "V2_BAZAAR_OUTPUT_EXAMPLE",
                              "V2_BAZAAR_INPUT_REPLAYABLE",
                              "V2_BAZAAR_INPUT_QUERY_EXAMPLE",
                              "V1_ABSENT",
                              "V1_BODY_NOT_ENVELOPE",
                              "V1_BODY_PRESENT",
                              "V1_BODY_JSON",
                              "V1_VERSION",
                              "V1_ACCEPTS_NONEMPTY",
                              "V1_SCHEME",
                              "V1_SCHEME_KNOWN",
                              "V1_MAX_AMOUNT_REQUIRED",
                              "V1_AMOUNT_ATOMIC",
                              "V1_NETWORK_NAME",
                              "V1_NETWORK_KNOWN",
                              "V1_RESOURCE_STRING",
                              "V1_PAYTO",
                              "V1_ASSET",
                              "V1_MIMETYPE",
                              "V1_DESCRIPTION",
                              "V1_MAX_TIMEOUT",
                              "V1_EXTRA_EIP712",
                              "V1_OUTPUT_SCHEMA",
                              "V1_DISCOVERABLE",
                              "DUAL_PAYTO",
                              "DUAL_PRICE",
                              "DUAL_NETWORK",
                              "DUAL_ASSET",
                              "DUAL_RESOURCE",
                              "VERSION_HEADER_SAYS_V1",
                              "VERSION_BODY_SAYS_V2",
                              "BILLING_TERMS_DISCLOSED",
                              "EMPTY_BODY_200",
                              "UNPARSEABLE_BODY_200",
                              "SCHEMA_SHAPE_200",
                              "DEGENERATE_TEXT_200",
                              "CROSS_ROUTE_CONSISTENCY",
                              "LISTED_PRICE_MATCHES",
                              "ACCEPTS_TRUNCATED",
                              "FINDINGS_TRUNCATED"
                            ]
                          },
                          "message": {
                            "type": "string",
                            "description": "what is wrong, in this envelope"
                          },
                          "fix": {
                            "type": "string",
                            "description": "exactly how to fix it"
                          },
                          "core": {
                            "type": "boolean",
                            "description": "whether THIS finding makes the envelope unusable as published. Resolved per finding rather than per check: HTTP_STATUS_402 is core on a 401 and not on a 405, where the linter's own choice of verb is as likely an explanation."
                          },
                          "bucket": {
                            "type": "string",
                            "enum": [
                              "edge-invented"
                            ],
                            "description": "a diagnostic pile this finding belongs to, kept separate from schema drift. `edge-invented` means the response was minted on the path rather than by the origin, which is a vendor CONFIGURATION rather than a vendor bug and wants the opposite fix. Present only on ORIGIN_MARKER_PRESENT today."
                          }
                        }
                      }
                    },
                    "checks_run": {
                      "type": "integer",
                      "description": "how many checks APPLIED. A v1-only endpoint legitimately skips every v2 check, so this is the denominator a caller needs before comparing two reports."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "the request could not be linted. Nothing is charged for a call that was not served.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "fix": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "402": {
            "description": "Payment required — the ordinary answer to an unauthenticated call, and NOT an error. The body is the x402 v1 envelope; the PAYMENT-REQUIRED response header carries the v2 envelope as standard base64.",
            "headers": {
              "PAYMENT-REQUIRED": {
                "schema": {
                  "type": "string"
                },
                "description": "the x402 v2 envelope, standard base64"
              }
            }
          },
          "413": {
            "description": "the request body is larger than the limit"
          },
          "429": {
            "description": "the daily ceiling for this caller, or a deployment with no receiving address"
          }
        },
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.12"
          }
        },
        "x-billing-terms": {
          "billable_unit": {
            "unit": "one served report",
            "price_usd": "0.12",
            "amount_atomic": "120000",
            "metered": false,
            "note": "One served report. A single signed authorization buys exactly one response at the listed price; the amount settled is that whole price, and there is no partial, metered or per-check billing. Settlement is queued only after the report exists, and only for a payment the facilitator verified — a report served while the facilitator was unreachable settles nothing at all."
          },
          "hold": {
            "held": false,
            "note": "None. Verification is a read at the facilitator, so nothing is reserved, escrowed or held: the signed authorization moves no funds until it is submitted at settle, which runs after the response has already been sent. An authorization that never reaches settle simply goes unused."
          },
          "idempotency": {
            "key": "sha256(payment header, as presented)",
            "headers": [
              "PAYMENT-SIGNATURE",
              "X-PAYMENT"
            ],
            "idempotency_key_header": null,
            "replay": {
              "status": 402,
              "error": "payment_already_used"
            },
            "note": "There is no idempotency-key header. The key is the SHA-256 of the payment header exactly as presented — `X-PAYMENT` for x402 v1, `PAYMENT-SIGNATURE` for x402 v2, and PAYMENT-SIGNATURE is the one read when a request carries both — claimed single-use between verification and the work. A retry carrying the same authorization — concurrently, or an hour later — is answered 402 with invalidReason `payment_already_used` and the live terms attached; it runs no work, serves no second report and settles nothing. Sign a fresh authorization to buy another report."
          },
          "post_payment_error": {
            "settles": false,
            "on_4xx": "authorization released",
            "on_5xx": "authorization not released — sign a fresh one",
            "note": "Nothing is ever settled unless a report was served. Every 4xx after payment — an empty or malformed body, a missing or unknown field, an unknown check id, a refused or unreachable target — releases the single-use claim, so the very same authorization can be presented again. The one 5xx, a 503 raised when the store or the metering path is unavailable, also settles nothing, but does not release the claim: retry with a freshly signed authorization."
          },
          "refund": {
            "path": "none",
            "dispute": "none",
            "contact": "support@10x402.com",
            "note": "None. There is no refund, credit or dispute endpoint, and no reversal of a settled payment. The mechanism is non-charge rather than refund: an authorization for a report that was not served is never submitted, so no funds move. A settlement that fails after a report was served is recorded and not retried — the caller keeps the report. Anything else is support@10x402.com and a conversation, not a guaranteed remedy."
          }
        }
      }
    },
    "/lint/envelope": {
      "post": {
        "operationId": "lint_envelope",
        "summary": "Check a captured x402 402 for indexing and payment blockers — no fetch ($0.04)",
        "description": "Runs the same check catalogue against a response you already have: paste the status, headers and body. Nothing is fetched, so it works for v1/v2 migration work, on staging, on localhost and on an endpoint that is not deployed yet. Cheaper than /lint for that reason: there is no outbound request to make on your behalf.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "status"
                ],
                "properties": {
                  "status": {
                    "type": "integer",
                    "description": "the HTTP status the endpoint answered with"
                  },
                  "headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "response headers; names are matched case-insensitively"
                  },
                  "body": {
                    "type": "string",
                    "description": "the response body, as text"
                  },
                  "url": {
                    "type": "string",
                    "format": "uri",
                    "description": "optional: the URL it came from"
                  }
                }
              },
              "example": {
                "status": 402,
                "headers": {
                  "content-type": "application/json"
                },
                "body": "{\"x402Version\":1,\"accepts\":[{\"scheme\":\"exact\",\"network\":\"base\",\"maxAmountRequired\":\"1000\",\"resource\":\"https://example.com/api/thing\",\"description\":\"an example paid endpoint\",\"mimeType\":\"application/json\",\"payTo\":\"0x0000000000000000000000000000000000000001\",\"maxTimeoutSeconds\":60,\"asset\":\"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\"extra\":{\"name\":\"USD Coin\",\"version\":\"2\"},\"outputSchema\":{\"input\":{\"type\":\"http\",\"method\":\"POST\",\"discoverable\":true,\"bodyType\":\"text\",\"description\":\"the request body\"},\"output\":{\"type\":\"string\",\"description\":\"the response body\"}}}]}"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "the lint report",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "grade",
                    "summary",
                    "findings",
                    "checks_run"
                  ],
                  "properties": {
                    "grade": {
                      "type": "string",
                      "enum": [
                        "A",
                        "B",
                        "C",
                        "D",
                        "F"
                      ],
                      "description": "CAN THIS ENDPOINT BE PAID, and only that. Computed from payment-regime findings; discovery is reported separately as summary.bazaar_ready. A: zero payment-regime errors and zero payment-regime warnings; B: zero payment-regime errors, one or two warnings; C: zero payment-regime errors, three or more warnings; D: one or more payment-regime errors, none of them core; F: any core error — the envelope is not usable as published"
                    },
                    "summary": {
                      "type": "object",
                      "properties": {
                        "versions_detected": {
                          "type": "array",
                          "items": {
                            "type": "integer",
                            "enum": [
                              1,
                              2
                            ]
                          }
                        },
                        "payTo": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "network": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "price": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "bazaar_ready": {
                          "oneOf": [
                            {
                              "type": "boolean"
                            },
                            {
                              "type": "string",
                              "enum": [
                                "n/a"
                              ]
                            }
                          ],
                          "description": "CAN THIS ENDPOINT BE FOUND — the second verdict, from bazaar-regime errors. \"n/a\" for a v1-only endpoint, whose CDP requirements are a v2 shape. Grade A with bazaar_ready false is a real and common answer: payable, and not catalogued."
                        },
                        "blockers": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "enum": [
                              "V2_HEADER_PRESENT",
                              "V2_NETWORK_SUPPORTED",
                              "V2_AMOUNT_MINIMUM",
                              "V2_INDEX_AMOUNT",
                              "V2_INDEX_TIMEOUT",
                              "V2_INDEX_ASSET",
                              "V2_INDEX_PAYTO",
                              "V2_RESOURCE_URL",
                              "V2_RESOURCE_METHOD",
                              "V2_RESOURCE_DESCRIPTION",
                              "V2_SERVICE_NAME",
                              "V2_TAGS",
                              "V2_BAZAAR_PRESENT",
                              "V2_BAZAAR_INFO",
                              "V2_BAZAAR_SCHEMA",
                              "V2_BAZAAR_SCHEMA_CONTENT",
                              "V2_BAZAAR_INFO_VALIDATES",
                              "V2_BAZAAR_BAG_MISMATCH",
                              "V2_BAZAAR_INPUT",
                              "V2_BAZAAR_INPUT_TYPE",
                              "V2_BAZAAR_INPUT_METHOD",
                              "V2_BAZAAR_OUTPUT_TYPE",
                              "V2_BAZAAR_OUTPUT_EXAMPLE",
                              "V1_OUTPUT_SCHEMA",
                              "V1_DISCOVERABLE"
                            ]
                          },
                          "description": "the check codes standing between this resource and an index entry"
                        },
                        "partial": {
                          "type": "string",
                          "description": "present when the response was not a 402 and carried no envelope, so the envelope checks could not run"
                        },
                        "edge_invented": {
                          "type": "string",
                          "description": "present when the linted response did not carry the origin marker the endpoint advertises, so an intermediary minted it rather than the origin. Every other finding in the report then describes that intermediary's reply, not the seller's envelope. Only set when a marker is advertised — see ORIGIN_MARKER_PRESENT."
                        }
                      }
                    },
                    "findings": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "severity",
                          "code",
                          "message",
                          "fix"
                        ],
                        "properties": {
                          "severity": {
                            "type": "string",
                            "enum": [
                              "error",
                              "warn",
                              "info"
                            ]
                          },
                          "code": {
                            "type": "string",
                            "enum": [
                              "HTTP_STATUS_402",
                              "HTTP_FREE_TIER_200",
                              "HTTP_SERVER_ERROR",
                              "HTTP_REDIRECT",
                              "HTTP_CONTENT_TYPE_JSON",
                              "ENVELOPE_PRESENT",
                              "HTTP_ROUTE_DISCRIMINATES",
                              "HTTP_SOFT_404",
                              "UA_GATE_402",
                              "UA_GATE_SURFACES",
                              "ORIGIN_MARKER_PRESENT",
                              "V2_HEADER_PRESENT",
                              "V2_B64_URLSAFE",
                              "V2_B64_DECODE",
                              "V2_JSON",
                              "V2_VERSION",
                              "V2_ACCEPTS_NONEMPTY",
                              "V2_SCHEME",
                              "V2_SCHEME_KNOWN",
                              "V2_NETWORK_CAIP2",
                              "V2_NETWORK_CAIP2_STYLE",
                              "V2_NAMESPACE_KNOWN",
                              "V2_NETWORK_SUPPORTED",
                              "V2_AMOUNT",
                              "V2_AMOUNT_ATOMIC",
                              "V2_AMOUNT_MINIMUM",
                              "V2_INDEX_AMOUNT",
                              "V2_INDEX_TIMEOUT",
                              "V2_INDEX_ASSET",
                              "V2_INDEX_PAYTO",
                              "V2_PAYTO",
                              "V2_ASSET",
                              "V2_MAX_TIMEOUT",
                              "V2_EXTRA_EIP712",
                              "V2_ACCEPTS_V1_FIELDS",
                              "V2_RESOURCE_OBJECT",
                              "V2_RESOURCE_URL_PARSES",
                              "V2_RESOURCE_URL",
                              "V2_RESOURCE_METHOD",
                              "V2_RESOURCE_DESCRIPTION",
                              "V2_RESOURCE_MIMETYPE",
                              "V2_RESOURCE_URL_MATCHES",
                              "V2_SERVICE_NAME",
                              "V2_TAGS",
                              "V2_BAZAAR_PRESENT",
                              "V2_BAZAAR_INFO",
                              "V2_BAZAAR_SCHEMA",
                              "V2_BAZAAR_SCHEMA_CONTENT",
                              "V2_BAZAAR_INFO_VALIDATES",
                              "V2_BAZAAR_BAG_MISMATCH",
                              "V2_BAZAAR_INPUT",
                              "V2_BAZAAR_INPUT_TYPE",
                              "V2_BAZAAR_INPUT_METHOD",
                              "V2_BAZAAR_OUTPUT_TYPE",
                              "V2_BAZAAR_OUTPUT_EXAMPLE",
                              "V2_BAZAAR_INPUT_REPLAYABLE",
                              "V2_BAZAAR_INPUT_QUERY_EXAMPLE",
                              "V1_ABSENT",
                              "V1_BODY_NOT_ENVELOPE",
                              "V1_BODY_PRESENT",
                              "V1_BODY_JSON",
                              "V1_VERSION",
                              "V1_ACCEPTS_NONEMPTY",
                              "V1_SCHEME",
                              "V1_SCHEME_KNOWN",
                              "V1_MAX_AMOUNT_REQUIRED",
                              "V1_AMOUNT_ATOMIC",
                              "V1_NETWORK_NAME",
                              "V1_NETWORK_KNOWN",
                              "V1_RESOURCE_STRING",
                              "V1_PAYTO",
                              "V1_ASSET",
                              "V1_MIMETYPE",
                              "V1_DESCRIPTION",
                              "V1_MAX_TIMEOUT",
                              "V1_EXTRA_EIP712",
                              "V1_OUTPUT_SCHEMA",
                              "V1_DISCOVERABLE",
                              "DUAL_PAYTO",
                              "DUAL_PRICE",
                              "DUAL_NETWORK",
                              "DUAL_ASSET",
                              "DUAL_RESOURCE",
                              "VERSION_HEADER_SAYS_V1",
                              "VERSION_BODY_SAYS_V2",
                              "BILLING_TERMS_DISCLOSED",
                              "EMPTY_BODY_200",
                              "UNPARSEABLE_BODY_200",
                              "SCHEMA_SHAPE_200",
                              "DEGENERATE_TEXT_200",
                              "CROSS_ROUTE_CONSISTENCY",
                              "LISTED_PRICE_MATCHES",
                              "ACCEPTS_TRUNCATED",
                              "FINDINGS_TRUNCATED"
                            ]
                          },
                          "message": {
                            "type": "string",
                            "description": "what is wrong, in this envelope"
                          },
                          "fix": {
                            "type": "string",
                            "description": "exactly how to fix it"
                          },
                          "core": {
                            "type": "boolean",
                            "description": "whether THIS finding makes the envelope unusable as published. Resolved per finding rather than per check: HTTP_STATUS_402 is core on a 401 and not on a 405, where the linter's own choice of verb is as likely an explanation."
                          },
                          "bucket": {
                            "type": "string",
                            "enum": [
                              "edge-invented"
                            ],
                            "description": "a diagnostic pile this finding belongs to, kept separate from schema drift. `edge-invented` means the response was minted on the path rather than by the origin, which is a vendor CONFIGURATION rather than a vendor bug and wants the opposite fix. Present only on ORIGIN_MARKER_PRESENT today."
                          }
                        }
                      }
                    },
                    "checks_run": {
                      "type": "integer",
                      "description": "how many checks APPLIED. A v1-only endpoint legitimately skips every v2 check, so this is the denominator a caller needs before comparing two reports."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "the request could not be linted. Nothing is charged for a call that was not served.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "fix": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "402": {
            "description": "Payment required — the ordinary answer to an unauthenticated call, and NOT an error. The body is the x402 v1 envelope; the PAYMENT-REQUIRED response header carries the v2 envelope as standard base64.",
            "headers": {
              "PAYMENT-REQUIRED": {
                "schema": {
                  "type": "string"
                },
                "description": "the x402 v2 envelope, standard base64"
              }
            }
          },
          "413": {
            "description": "the request body is larger than the limit"
          },
          "429": {
            "description": "the daily ceiling for this caller, or a deployment with no receiving address"
          }
        },
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.04"
          }
        },
        "x-billing-terms": {
          "billable_unit": {
            "unit": "one served report",
            "price_usd": "0.04",
            "amount_atomic": "40000",
            "metered": false,
            "note": "One served report. A single signed authorization buys exactly one response at the listed price; the amount settled is that whole price, and there is no partial, metered or per-check billing. Settlement is queued only after the report exists, and only for a payment the facilitator verified — a report served while the facilitator was unreachable settles nothing at all."
          },
          "hold": {
            "held": false,
            "note": "None. Verification is a read at the facilitator, so nothing is reserved, escrowed or held: the signed authorization moves no funds until it is submitted at settle, which runs after the response has already been sent. An authorization that never reaches settle simply goes unused."
          },
          "idempotency": {
            "key": "sha256(payment header, as presented)",
            "headers": [
              "PAYMENT-SIGNATURE",
              "X-PAYMENT"
            ],
            "idempotency_key_header": null,
            "replay": {
              "status": 402,
              "error": "payment_already_used"
            },
            "note": "There is no idempotency-key header. The key is the SHA-256 of the payment header exactly as presented — `X-PAYMENT` for x402 v1, `PAYMENT-SIGNATURE` for x402 v2, and PAYMENT-SIGNATURE is the one read when a request carries both — claimed single-use between verification and the work. A retry carrying the same authorization — concurrently, or an hour later — is answered 402 with invalidReason `payment_already_used` and the live terms attached; it runs no work, serves no second report and settles nothing. Sign a fresh authorization to buy another report."
          },
          "post_payment_error": {
            "settles": false,
            "on_4xx": "authorization released",
            "on_5xx": "authorization not released — sign a fresh one",
            "note": "Nothing is ever settled unless a report was served. Every 4xx after payment — an empty or malformed body, a missing or unknown field, an unknown check id, a refused or unreachable target — releases the single-use claim, so the very same authorization can be presented again. The one 5xx, a 503 raised when the store or the metering path is unavailable, also settles nothing, but does not release the claim: retry with a freshly signed authorization."
          },
          "refund": {
            "path": "none",
            "dispute": "none",
            "contact": "support@10x402.com",
            "note": "None. There is no refund, credit or dispute endpoint, and no reversal of a settled payment. The mechanism is non-charge rather than refund: an authorization for a report that was not served is never submitted, so no funds move. A settlement that fails after a report was served is recorded and not retried — the caller keeps the report. Anything else is support@10x402.com and a conversation, not a guaranteed remedy."
          }
        }
      }
    },
    "/lint/envelope/one": {
      "post": {
        "operationId": "lint_envelope_one",
        "summary": "Run ONE named check against a response you paste ($0.004)",
        "description": "One named check over a response you already have — the cheapest answer this service sells, and the one to reach for in a test or a CI step that asserts a single property of a 402 it just built. Nothing is fetched. The answer says whether the check PASSED, and when the check did not apply to this response it says that instead of quietly passing. GET /check lists every check id.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "status",
                  "check"
                ],
                "properties": {
                  "status": {
                    "type": "integer",
                    "description": "the HTTP status the endpoint answered with"
                  },
                  "headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "response headers; names are matched case-insensitively"
                  },
                  "body": {
                    "type": "string",
                    "description": "the response body, as text"
                  },
                  "url": {
                    "type": "string",
                    "format": "uri",
                    "description": "optional: the URL it came from"
                  },
                  "check": {
                    "type": "string",
                    "enum": [
                      "HTTP_STATUS_402",
                      "HTTP_FREE_TIER_200",
                      "HTTP_SERVER_ERROR",
                      "HTTP_REDIRECT",
                      "HTTP_CONTENT_TYPE_JSON",
                      "ENVELOPE_PRESENT",
                      "HTTP_ROUTE_DISCRIMINATES",
                      "HTTP_SOFT_404",
                      "UA_GATE_402",
                      "UA_GATE_SURFACES",
                      "ORIGIN_MARKER_PRESENT",
                      "V2_HEADER_PRESENT",
                      "V2_B64_URLSAFE",
                      "V2_B64_DECODE",
                      "V2_JSON",
                      "V2_VERSION",
                      "V2_ACCEPTS_NONEMPTY",
                      "V2_SCHEME",
                      "V2_SCHEME_KNOWN",
                      "V2_NETWORK_CAIP2",
                      "V2_NETWORK_CAIP2_STYLE",
                      "V2_NAMESPACE_KNOWN",
                      "V2_NETWORK_SUPPORTED",
                      "V2_AMOUNT",
                      "V2_AMOUNT_ATOMIC",
                      "V2_AMOUNT_MINIMUM",
                      "V2_INDEX_AMOUNT",
                      "V2_INDEX_TIMEOUT",
                      "V2_INDEX_ASSET",
                      "V2_INDEX_PAYTO",
                      "V2_PAYTO",
                      "V2_ASSET",
                      "V2_MAX_TIMEOUT",
                      "V2_EXTRA_EIP712",
                      "V2_ACCEPTS_V1_FIELDS",
                      "V2_RESOURCE_OBJECT",
                      "V2_RESOURCE_URL_PARSES",
                      "V2_RESOURCE_URL",
                      "V2_RESOURCE_METHOD",
                      "V2_RESOURCE_DESCRIPTION",
                      "V2_RESOURCE_MIMETYPE",
                      "V2_RESOURCE_URL_MATCHES",
                      "V2_SERVICE_NAME",
                      "V2_TAGS",
                      "V2_BAZAAR_PRESENT",
                      "V2_BAZAAR_INFO",
                      "V2_BAZAAR_SCHEMA",
                      "V2_BAZAAR_SCHEMA_CONTENT",
                      "V2_BAZAAR_INFO_VALIDATES",
                      "V2_BAZAAR_BAG_MISMATCH",
                      "V2_BAZAAR_INPUT",
                      "V2_BAZAAR_INPUT_TYPE",
                      "V2_BAZAAR_INPUT_METHOD",
                      "V2_BAZAAR_OUTPUT_TYPE",
                      "V2_BAZAAR_OUTPUT_EXAMPLE",
                      "V2_BAZAAR_INPUT_REPLAYABLE",
                      "V2_BAZAAR_INPUT_QUERY_EXAMPLE",
                      "V1_ABSENT",
                      "V1_BODY_NOT_ENVELOPE",
                      "V1_BODY_PRESENT",
                      "V1_BODY_JSON",
                      "V1_VERSION",
                      "V1_ACCEPTS_NONEMPTY",
                      "V1_SCHEME",
                      "V1_SCHEME_KNOWN",
                      "V1_MAX_AMOUNT_REQUIRED",
                      "V1_AMOUNT_ATOMIC",
                      "V1_NETWORK_NAME",
                      "V1_NETWORK_KNOWN",
                      "V1_RESOURCE_STRING",
                      "V1_PAYTO",
                      "V1_ASSET",
                      "V1_MIMETYPE",
                      "V1_DESCRIPTION",
                      "V1_MAX_TIMEOUT",
                      "V1_EXTRA_EIP712",
                      "V1_OUTPUT_SCHEMA",
                      "V1_DISCOVERABLE",
                      "DUAL_PAYTO",
                      "DUAL_PRICE",
                      "DUAL_NETWORK",
                      "DUAL_ASSET",
                      "DUAL_RESOURCE",
                      "VERSION_HEADER_SAYS_V1",
                      "VERSION_BODY_SAYS_V2",
                      "BILLING_TERMS_DISCLOSED",
                      "EMPTY_BODY_200",
                      "UNPARSEABLE_BODY_200",
                      "SCHEMA_SHAPE_200",
                      "DEGENERATE_TEXT_200",
                      "CROSS_ROUTE_CONSISTENCY",
                      "LISTED_PRICE_MATCHES",
                      "ACCEPTS_TRUNCATED",
                      "FINDINGS_TRUNCATED"
                    ],
                    "description": "exactly one check id, from the catalogue GET /check publishes. Unknown or missing is a 400 that lints nothing and charges nothing."
                  }
                }
              },
              "example": {
                "status": 402,
                "headers": {
                  "content-type": "application/json"
                },
                "body": "{\"x402Version\":1,\"accepts\":[{\"scheme\":\"exact\",\"network\":\"base\",\"maxAmountRequired\":\"1000\",\"resource\":\"https://example.com/api/thing\",\"description\":\"an example paid endpoint\",\"mimeType\":\"application/json\",\"payTo\":\"0x0000000000000000000000000000000000000001\",\"maxTimeoutSeconds\":60,\"asset\":\"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\"extra\":{\"name\":\"USD Coin\",\"version\":\"2\"},\"outputSchema\":{\"input\":{\"type\":\"http\",\"method\":\"POST\",\"discoverable\":true,\"bodyType\":\"text\",\"description\":\"the request body\"},\"output\":{\"type\":\"string\",\"description\":\"the response body\"}}}]}",
                "check": "V2_HEADER_PRESENT"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "the single-check answer",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "check",
                    "applied",
                    "passed",
                    "finding",
                    "regime",
                    "sources",
                    "summary",
                    "checks_run"
                  ],
                  "properties": {
                    "check": {
                      "type": "string",
                      "enum": [
                        "HTTP_STATUS_402",
                        "HTTP_FREE_TIER_200",
                        "HTTP_SERVER_ERROR",
                        "HTTP_REDIRECT",
                        "HTTP_CONTENT_TYPE_JSON",
                        "ENVELOPE_PRESENT",
                        "HTTP_ROUTE_DISCRIMINATES",
                        "HTTP_SOFT_404",
                        "UA_GATE_402",
                        "UA_GATE_SURFACES",
                        "ORIGIN_MARKER_PRESENT",
                        "V2_HEADER_PRESENT",
                        "V2_B64_URLSAFE",
                        "V2_B64_DECODE",
                        "V2_JSON",
                        "V2_VERSION",
                        "V2_ACCEPTS_NONEMPTY",
                        "V2_SCHEME",
                        "V2_SCHEME_KNOWN",
                        "V2_NETWORK_CAIP2",
                        "V2_NETWORK_CAIP2_STYLE",
                        "V2_NAMESPACE_KNOWN",
                        "V2_NETWORK_SUPPORTED",
                        "V2_AMOUNT",
                        "V2_AMOUNT_ATOMIC",
                        "V2_AMOUNT_MINIMUM",
                        "V2_INDEX_AMOUNT",
                        "V2_INDEX_TIMEOUT",
                        "V2_INDEX_ASSET",
                        "V2_INDEX_PAYTO",
                        "V2_PAYTO",
                        "V2_ASSET",
                        "V2_MAX_TIMEOUT",
                        "V2_EXTRA_EIP712",
                        "V2_ACCEPTS_V1_FIELDS",
                        "V2_RESOURCE_OBJECT",
                        "V2_RESOURCE_URL_PARSES",
                        "V2_RESOURCE_URL",
                        "V2_RESOURCE_METHOD",
                        "V2_RESOURCE_DESCRIPTION",
                        "V2_RESOURCE_MIMETYPE",
                        "V2_RESOURCE_URL_MATCHES",
                        "V2_SERVICE_NAME",
                        "V2_TAGS",
                        "V2_BAZAAR_PRESENT",
                        "V2_BAZAAR_INFO",
                        "V2_BAZAAR_SCHEMA",
                        "V2_BAZAAR_SCHEMA_CONTENT",
                        "V2_BAZAAR_INFO_VALIDATES",
                        "V2_BAZAAR_BAG_MISMATCH",
                        "V2_BAZAAR_INPUT",
                        "V2_BAZAAR_INPUT_TYPE",
                        "V2_BAZAAR_INPUT_METHOD",
                        "V2_BAZAAR_OUTPUT_TYPE",
                        "V2_BAZAAR_OUTPUT_EXAMPLE",
                        "V2_BAZAAR_INPUT_REPLAYABLE",
                        "V2_BAZAAR_INPUT_QUERY_EXAMPLE",
                        "V1_ABSENT",
                        "V1_BODY_NOT_ENVELOPE",
                        "V1_BODY_PRESENT",
                        "V1_BODY_JSON",
                        "V1_VERSION",
                        "V1_ACCEPTS_NONEMPTY",
                        "V1_SCHEME",
                        "V1_SCHEME_KNOWN",
                        "V1_MAX_AMOUNT_REQUIRED",
                        "V1_AMOUNT_ATOMIC",
                        "V1_NETWORK_NAME",
                        "V1_NETWORK_KNOWN",
                        "V1_RESOURCE_STRING",
                        "V1_PAYTO",
                        "V1_ASSET",
                        "V1_MIMETYPE",
                        "V1_DESCRIPTION",
                        "V1_MAX_TIMEOUT",
                        "V1_EXTRA_EIP712",
                        "V1_OUTPUT_SCHEMA",
                        "V1_DISCOVERABLE",
                        "DUAL_PAYTO",
                        "DUAL_PRICE",
                        "DUAL_NETWORK",
                        "DUAL_ASSET",
                        "DUAL_RESOURCE",
                        "VERSION_HEADER_SAYS_V1",
                        "VERSION_BODY_SAYS_V2",
                        "BILLING_TERMS_DISCLOSED",
                        "EMPTY_BODY_200",
                        "UNPARSEABLE_BODY_200",
                        "SCHEMA_SHAPE_200",
                        "DEGENERATE_TEXT_200",
                        "CROSS_ROUTE_CONSISTENCY",
                        "LISTED_PRICE_MATCHES",
                        "ACCEPTS_TRUNCATED",
                        "FINDINGS_TRUNCATED"
                      ],
                      "description": "the check id that was asked about"
                    },
                    "applied": {
                      "type": "boolean",
                      "description": "whether the check RAN against this response. False means its precondition was not met — a v2 check against a v1-only endpoint, say — and `note` says which."
                    },
                    "passed": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "true: the check ran and found nothing. false: it ran and emitted, and `finding` carries the fix. NULL: it did not apply, and NOTHING WAS ASSERTED. A null is not a pass and must not be reported as one."
                    },
                    "finding": {
                      "oneOf": [
                        {
                          "type": "object",
                          "required": [
                            "severity",
                            "code",
                            "message",
                            "fix"
                          ],
                          "properties": {
                            "severity": {
                              "type": "string",
                              "enum": [
                                "error",
                                "warn",
                                "info"
                              ]
                            },
                            "code": {
                              "type": "string",
                              "enum": [
                                "HTTP_STATUS_402",
                                "HTTP_FREE_TIER_200",
                                "HTTP_SERVER_ERROR",
                                "HTTP_REDIRECT",
                                "HTTP_CONTENT_TYPE_JSON",
                                "ENVELOPE_PRESENT",
                                "HTTP_ROUTE_DISCRIMINATES",
                                "HTTP_SOFT_404",
                                "UA_GATE_402",
                                "UA_GATE_SURFACES",
                                "ORIGIN_MARKER_PRESENT",
                                "V2_HEADER_PRESENT",
                                "V2_B64_URLSAFE",
                                "V2_B64_DECODE",
                                "V2_JSON",
                                "V2_VERSION",
                                "V2_ACCEPTS_NONEMPTY",
                                "V2_SCHEME",
                                "V2_SCHEME_KNOWN",
                                "V2_NETWORK_CAIP2",
                                "V2_NETWORK_CAIP2_STYLE",
                                "V2_NAMESPACE_KNOWN",
                                "V2_NETWORK_SUPPORTED",
                                "V2_AMOUNT",
                                "V2_AMOUNT_ATOMIC",
                                "V2_AMOUNT_MINIMUM",
                                "V2_INDEX_AMOUNT",
                                "V2_INDEX_TIMEOUT",
                                "V2_INDEX_ASSET",
                                "V2_INDEX_PAYTO",
                                "V2_PAYTO",
                                "V2_ASSET",
                                "V2_MAX_TIMEOUT",
                                "V2_EXTRA_EIP712",
                                "V2_ACCEPTS_V1_FIELDS",
                                "V2_RESOURCE_OBJECT",
                                "V2_RESOURCE_URL_PARSES",
                                "V2_RESOURCE_URL",
                                "V2_RESOURCE_METHOD",
                                "V2_RESOURCE_DESCRIPTION",
                                "V2_RESOURCE_MIMETYPE",
                                "V2_RESOURCE_URL_MATCHES",
                                "V2_SERVICE_NAME",
                                "V2_TAGS",
                                "V2_BAZAAR_PRESENT",
                                "V2_BAZAAR_INFO",
                                "V2_BAZAAR_SCHEMA",
                                "V2_BAZAAR_SCHEMA_CONTENT",
                                "V2_BAZAAR_INFO_VALIDATES",
                                "V2_BAZAAR_BAG_MISMATCH",
                                "V2_BAZAAR_INPUT",
                                "V2_BAZAAR_INPUT_TYPE",
                                "V2_BAZAAR_INPUT_METHOD",
                                "V2_BAZAAR_OUTPUT_TYPE",
                                "V2_BAZAAR_OUTPUT_EXAMPLE",
                                "V2_BAZAAR_INPUT_REPLAYABLE",
                                "V2_BAZAAR_INPUT_QUERY_EXAMPLE",
                                "V1_ABSENT",
                                "V1_BODY_NOT_ENVELOPE",
                                "V1_BODY_PRESENT",
                                "V1_BODY_JSON",
                                "V1_VERSION",
                                "V1_ACCEPTS_NONEMPTY",
                                "V1_SCHEME",
                                "V1_SCHEME_KNOWN",
                                "V1_MAX_AMOUNT_REQUIRED",
                                "V1_AMOUNT_ATOMIC",
                                "V1_NETWORK_NAME",
                                "V1_NETWORK_KNOWN",
                                "V1_RESOURCE_STRING",
                                "V1_PAYTO",
                                "V1_ASSET",
                                "V1_MIMETYPE",
                                "V1_DESCRIPTION",
                                "V1_MAX_TIMEOUT",
                                "V1_EXTRA_EIP712",
                                "V1_OUTPUT_SCHEMA",
                                "V1_DISCOVERABLE",
                                "DUAL_PAYTO",
                                "DUAL_PRICE",
                                "DUAL_NETWORK",
                                "DUAL_ASSET",
                                "DUAL_RESOURCE",
                                "VERSION_HEADER_SAYS_V1",
                                "VERSION_BODY_SAYS_V2",
                                "BILLING_TERMS_DISCLOSED",
                                "EMPTY_BODY_200",
                                "UNPARSEABLE_BODY_200",
                                "SCHEMA_SHAPE_200",
                                "DEGENERATE_TEXT_200",
                                "CROSS_ROUTE_CONSISTENCY",
                                "LISTED_PRICE_MATCHES",
                                "ACCEPTS_TRUNCATED",
                                "FINDINGS_TRUNCATED"
                              ]
                            },
                            "message": {
                              "type": "string",
                              "description": "what is wrong, in this envelope"
                            },
                            "fix": {
                              "type": "string",
                              "description": "exactly how to fix it"
                            },
                            "core": {
                              "type": "boolean",
                              "description": "whether THIS finding makes the envelope unusable as published. Resolved per finding rather than per check: HTTP_STATUS_402 is core on a 401 and not on a 405, where the linter's own choice of verb is as likely an explanation."
                            },
                            "bucket": {
                              "type": "string",
                              "enum": [
                                "edge-invented"
                              ],
                              "description": "a diagnostic pile this finding belongs to, kept separate from schema drift. `edge-invented` means the response was minted on the path rather than by the origin, which is a vendor CONFIGURATION rather than a vendor bug and wants the opposite fix. Present only on ORIGIN_MARKER_PRESENT today."
                            }
                          }
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "the finding this check emitted, with its fix — or null when it emitted none"
                    },
                    "findings": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "severity",
                          "code",
                          "message",
                          "fix"
                        ],
                        "properties": {
                          "severity": {
                            "type": "string",
                            "enum": [
                              "error",
                              "warn",
                              "info"
                            ]
                          },
                          "code": {
                            "type": "string",
                            "enum": [
                              "HTTP_STATUS_402",
                              "HTTP_FREE_TIER_200",
                              "HTTP_SERVER_ERROR",
                              "HTTP_REDIRECT",
                              "HTTP_CONTENT_TYPE_JSON",
                              "ENVELOPE_PRESENT",
                              "HTTP_ROUTE_DISCRIMINATES",
                              "HTTP_SOFT_404",
                              "UA_GATE_402",
                              "UA_GATE_SURFACES",
                              "ORIGIN_MARKER_PRESENT",
                              "V2_HEADER_PRESENT",
                              "V2_B64_URLSAFE",
                              "V2_B64_DECODE",
                              "V2_JSON",
                              "V2_VERSION",
                              "V2_ACCEPTS_NONEMPTY",
                              "V2_SCHEME",
                              "V2_SCHEME_KNOWN",
                              "V2_NETWORK_CAIP2",
                              "V2_NETWORK_CAIP2_STYLE",
                              "V2_NAMESPACE_KNOWN",
                              "V2_NETWORK_SUPPORTED",
                              "V2_AMOUNT",
                              "V2_AMOUNT_ATOMIC",
                              "V2_AMOUNT_MINIMUM",
                              "V2_INDEX_AMOUNT",
                              "V2_INDEX_TIMEOUT",
                              "V2_INDEX_ASSET",
                              "V2_INDEX_PAYTO",
                              "V2_PAYTO",
                              "V2_ASSET",
                              "V2_MAX_TIMEOUT",
                              "V2_EXTRA_EIP712",
                              "V2_ACCEPTS_V1_FIELDS",
                              "V2_RESOURCE_OBJECT",
                              "V2_RESOURCE_URL_PARSES",
                              "V2_RESOURCE_URL",
                              "V2_RESOURCE_METHOD",
                              "V2_RESOURCE_DESCRIPTION",
                              "V2_RESOURCE_MIMETYPE",
                              "V2_RESOURCE_URL_MATCHES",
                              "V2_SERVICE_NAME",
                              "V2_TAGS",
                              "V2_BAZAAR_PRESENT",
                              "V2_BAZAAR_INFO",
                              "V2_BAZAAR_SCHEMA",
                              "V2_BAZAAR_SCHEMA_CONTENT",
                              "V2_BAZAAR_INFO_VALIDATES",
                              "V2_BAZAAR_BAG_MISMATCH",
                              "V2_BAZAAR_INPUT",
                              "V2_BAZAAR_INPUT_TYPE",
                              "V2_BAZAAR_INPUT_METHOD",
                              "V2_BAZAAR_OUTPUT_TYPE",
                              "V2_BAZAAR_OUTPUT_EXAMPLE",
                              "V2_BAZAAR_INPUT_REPLAYABLE",
                              "V2_BAZAAR_INPUT_QUERY_EXAMPLE",
                              "V1_ABSENT",
                              "V1_BODY_NOT_ENVELOPE",
                              "V1_BODY_PRESENT",
                              "V1_BODY_JSON",
                              "V1_VERSION",
                              "V1_ACCEPTS_NONEMPTY",
                              "V1_SCHEME",
                              "V1_SCHEME_KNOWN",
                              "V1_MAX_AMOUNT_REQUIRED",
                              "V1_AMOUNT_ATOMIC",
                              "V1_NETWORK_NAME",
                              "V1_NETWORK_KNOWN",
                              "V1_RESOURCE_STRING",
                              "V1_PAYTO",
                              "V1_ASSET",
                              "V1_MIMETYPE",
                              "V1_DESCRIPTION",
                              "V1_MAX_TIMEOUT",
                              "V1_EXTRA_EIP712",
                              "V1_OUTPUT_SCHEMA",
                              "V1_DISCOVERABLE",
                              "DUAL_PAYTO",
                              "DUAL_PRICE",
                              "DUAL_NETWORK",
                              "DUAL_ASSET",
                              "DUAL_RESOURCE",
                              "VERSION_HEADER_SAYS_V1",
                              "VERSION_BODY_SAYS_V2",
                              "BILLING_TERMS_DISCLOSED",
                              "EMPTY_BODY_200",
                              "UNPARSEABLE_BODY_200",
                              "SCHEMA_SHAPE_200",
                              "DEGENERATE_TEXT_200",
                              "CROSS_ROUTE_CONSISTENCY",
                              "LISTED_PRICE_MATCHES",
                              "ACCEPTS_TRUNCATED",
                              "FINDINGS_TRUNCATED"
                            ]
                          },
                          "message": {
                            "type": "string",
                            "description": "what is wrong, in this envelope"
                          },
                          "fix": {
                            "type": "string",
                            "description": "exactly how to fix it"
                          },
                          "core": {
                            "type": "boolean",
                            "description": "whether THIS finding makes the envelope unusable as published. Resolved per finding rather than per check: HTTP_STATUS_402 is core on a 401 and not on a 405, where the linter's own choice of verb is as likely an explanation."
                          },
                          "bucket": {
                            "type": "string",
                            "enum": [
                              "edge-invented"
                            ],
                            "description": "a diagnostic pile this finding belongs to, kept separate from schema drift. `edge-invented` means the response was minted on the path rather than by the origin, which is a vendor CONFIGURATION rather than a vendor bug and wants the opposite fix. Present only on ORIGIN_MARKER_PRESENT today."
                          }
                        }
                      },
                      "description": "present only when one check emitted more than once — several checks reach a single code from branches that diagnose different things, and each carries its own fix"
                    },
                    "note": {
                      "type": "string",
                      "description": "present when the check did not apply: what did not happen, and why"
                    },
                    "regime": {
                      "type": "string",
                      "enum": [
                        "payment",
                        "bazaar",
                        "hygiene",
                        "informational"
                      ]
                    },
                    "severity": {
                      "type": "string",
                      "enum": [
                        "error",
                        "warn",
                        "info"
                      ]
                    },
                    "core": {
                      "type": "boolean"
                    },
                    "sources": {
                      "type": "array",
                      "description": "where this rule comes from — the same provenance GET /check publishes",
                      "items": {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string"
                          },
                          "ref": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "summary": {
                      "type": "object",
                      "description": "the envelope description — versions, payTo, network, price, and any `partial` caveat. DELIBERATELY WITHOUT bazaar_ready: the second verdict is computed over every bazaar-regime check, and this call bought one check.",
                      "properties": {
                        "versions_detected": {
                          "type": "array",
                          "items": {
                            "type": "integer",
                            "enum": [
                              1,
                              2
                            ]
                          }
                        },
                        "payTo": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "network": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "price": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "partial": {
                          "type": "string",
                          "description": "present when the response was not a 402 and carried no envelope, so the envelope checks could not run"
                        }
                      }
                    },
                    "checks_run": {
                      "type": "integer",
                      "enum": [
                        0,
                        1
                      ],
                      "description": "1 when the named check applied, 0 when it did not — the same rule the full report uses"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "the request could not be linted. Nothing is charged for a call that was not served.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "fix": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "402": {
            "description": "Payment required — the ordinary answer to an unauthenticated call, and NOT an error. The body is the x402 v1 envelope; the PAYMENT-REQUIRED response header carries the v2 envelope as standard base64.",
            "headers": {
              "PAYMENT-REQUIRED": {
                "schema": {
                  "type": "string"
                },
                "description": "the x402 v2 envelope, standard base64"
              }
            }
          },
          "413": {
            "description": "the request body is larger than the limit"
          },
          "429": {
            "description": "the daily ceiling for this caller, or a deployment with no receiving address"
          }
        },
        "x-payment-info": {
          "protocols": [
            {
              "x402": {}
            }
          ],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.004"
          }
        },
        "x-billing-terms": {
          "billable_unit": {
            "unit": "one served report",
            "price_usd": "0.004",
            "amount_atomic": "4000",
            "metered": false,
            "note": "One served report. A single signed authorization buys exactly one response at the listed price; the amount settled is that whole price, and there is no partial, metered or per-check billing. Settlement is queued only after the report exists, and only for a payment the facilitator verified — a report served while the facilitator was unreachable settles nothing at all."
          },
          "hold": {
            "held": false,
            "note": "None. Verification is a read at the facilitator, so nothing is reserved, escrowed or held: the signed authorization moves no funds until it is submitted at settle, which runs after the response has already been sent. An authorization that never reaches settle simply goes unused."
          },
          "idempotency": {
            "key": "sha256(payment header, as presented)",
            "headers": [
              "PAYMENT-SIGNATURE",
              "X-PAYMENT"
            ],
            "idempotency_key_header": null,
            "replay": {
              "status": 402,
              "error": "payment_already_used"
            },
            "note": "There is no idempotency-key header. The key is the SHA-256 of the payment header exactly as presented — `X-PAYMENT` for x402 v1, `PAYMENT-SIGNATURE` for x402 v2, and PAYMENT-SIGNATURE is the one read when a request carries both — claimed single-use between verification and the work. A retry carrying the same authorization — concurrently, or an hour later — is answered 402 with invalidReason `payment_already_used` and the live terms attached; it runs no work, serves no second report and settles nothing. Sign a fresh authorization to buy another report."
          },
          "post_payment_error": {
            "settles": false,
            "on_4xx": "authorization released",
            "on_5xx": "authorization not released — sign a fresh one",
            "note": "Nothing is ever settled unless a report was served. Every 4xx after payment — an empty or malformed body, a missing or unknown field, an unknown check id, a refused or unreachable target — releases the single-use claim, so the very same authorization can be presented again. The one 5xx, a 503 raised when the store or the metering path is unavailable, also settles nothing, but does not release the claim: retry with a freshly signed authorization."
          },
          "refund": {
            "path": "none",
            "dispute": "none",
            "contact": "support@10x402.com",
            "note": "None. There is no refund, credit or dispute endpoint, and no reversal of a settled payment. The mechanism is non-charge rather than refund: an authorization for a report that was not served is never submitted, so no funds move. A settlement that fails after a report was served is recorded and not retried — the caller keeps the report. Anything else is support@10x402.com and a conversation, not a guaranteed remedy."
          }
        }
      }
    }
  },
  "x-x402": {
    "versions": [
      1,
      2
    ],
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "networks": {
      "1": "base",
      "2": "eip155:8453"
    },
    "prices": {
      "/lint": {
        "usd": "$0.10",
        "atomic": "100000",
        "scope": "all 94 checks",
        "fetches": true
      },
      "/lint/one": {
        "usd": "$0.015",
        "atomic": "15000",
        "scope": "one named check",
        "fetches": true
      },
      "/presence": {
        "usd": "$0.06",
        "atomic": "60000",
        "scope": "registry presence, by evidence",
        "fetches": true
      },
      "/monitor/verdict": {
        "usd": "$0.005",
        "atomic": "5000",
        "scope": "one host, from stored daily observations",
        "fetches": false
      },
      "/monitor/history": {
        "usd": "$0.03",
        "atomic": "30000",
        "scope": "one host, from stored daily observations",
        "fetches": false
      },
      "/monitor/receipt": {
        "usd": "$0.12",
        "atomic": "120000",
        "scope": "one host, from stored daily observations",
        "fetches": false
      },
      "/lint/envelope": {
        "usd": "$0.04",
        "atomic": "40000",
        "scope": "all 94 checks",
        "fetches": false
      },
      "/lint/envelope/one": {
        "usd": "$0.004",
        "atomic": "4000",
        "scope": "one named check",
        "fetches": false
      }
    },
    "pricing_note": "A full 94-check report costs 6.667x one check on a live URL and 10x on a pasted response — a 14.1x and 9.4x per-check advantage. Singles stay the cheaper buy through 6 questions live and 9 pasted; past that, buy the report.",
    "free_tier": false
  }
}
