{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/horizonpulse-dev/json-schema/horizonpulse-dev-bazaar-check-response-schema.json",
  "title": "BazaarCheckResponse",
  "description": "Inferred from a real response recorded from GET /api/demo/bazaar-check at 2026-10-16T15:49Z UTC (trimmed). Fields may be added; clients should ignore unknown fields.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/horizonpulse-dev-openapi.json#/components/schemas/BazaarCheckResponse",
  "type": "object",
  "properties": {
    "source": {
      "type": "string"
    },
    "asOf": {
      "type": "string"
    },
    "ok": {
      "type": "boolean"
    },
    "target": {
      "type": "object",
      "properties": {
        "input": {
          "type": "string"
        },
        "host": {
          "type": "string"
        },
        "origin": {
          "type": "string"
        }
      }
    },
    "verdict": {
      "type": "string"
    },
    "summary": {
      "type": "object",
      "properties": {
        "routesListed": {
          "type": "number"
        },
        "routesProbed": {
          "type": "number"
        },
        "indexed": {
          "type": "number"
        },
        "notIndexed": {
          "type": "number"
        },
        "indexedOnBase": {
          "type": "number"
        },
        "indexedOnSolana": {
          "type": "number"
        },
        "indexedOnPolygon": {
          "type": "number"
        },
        "indexedOnXrpl": {
          "type": "number"
        },
        "fail": {
          "type": "number"
        },
        "warn": {
          "type": "number"
        }
      }
    },
    "wellKnown": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        },
        "httpStatus": {
          "type": "number"
        },
        "found": {
          "type": "boolean"
        },
        "entries": {
          "type": "number"
        }
      }
    },
    "index": {
      "type": "object",
      "properties": {
        "source": {
          "type": "string"
        },
        "payTos": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "network": {
                "type": "string"
              },
              "payTo": {
                "type": "string"
              },
              "indexedTotalForPayTo": {
                "type": "number"
              },
              "indexedOnHost": {
                "type": "number"
              }
            }
          }
        },
        "searchHitsOnHost": {
          "type": "number"
        },
        "searchError": {
          "description": "Null in the recorded example; may hold a value."
        },
        "indexedNotListed": {
          "type": "array"
        }
      }
    },
    "onchain": {
      "type": "array"
    },
    "routes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "methods": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "probed": {
            "type": "boolean"
          },
          "skippedReason": {
            "description": "Null in the recorded example; may hold a value."
          },
          "indexed": {
            "type": "boolean"
          },
          "indexedNetworks": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "advertisedNetworks": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "lastIndexed": {
            "type": [
              "string",
              "null"
            ]
          },
          "lastCalledAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "probes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "method": {
                  "type": "string"
                },
                "httpStatus": {
                  "type": "number"
                },
                "x402Version": {
                  "type": "number"
                },
                "challengeSource": {
                  "type": "string"
                },
                "bazaar": {
                  "type": "object",
                  "properties": {
                    "present": {
                      "type": "boolean"
                    },
                    "method": {
                      "type": "string"
                    },
                    "methodEnum": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "findings": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "level": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                },
                "fix": {
                  "type": "string"
                },
                "doc": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "findings": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "level": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "fix": {
            "type": "string"
          }
        }
      }
    },
    "elapsedMs": {
      "type": "number"
    }
  }
}