{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/horizonpulse-dev/json-schema/horizonpulse-dev-x402-check-deep-response-schema.json",
  "title": "X402CheckDeepResponse",
  "description": "Inferred from a real response recorded from GET /api/demo/x402-check-deep at 2026-10-19T19:46Z 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/X402CheckDeepResponse",
  "type": "object",
  "properties": {
    "source": {
      "type": "string"
    },
    "priced": {
      "type": "object",
      "properties": {
        "amountUsd": {
          "type": "string"
        },
        "amountAtomic": {
          "type": "string"
        },
        "asset": {
          "type": "string"
        },
        "network": {
          "type": "string"
        },
        "payTo": {
          "type": "string"
        }
      }
    },
    "asOf": {
      "type": "string"
    },
    "ok": {
      "type": "boolean"
    },
    "target": {
      "type": "string"
    },
    "finalUrl": {
      "type": "string"
    },
    "method": {
      "type": "string"
    },
    "httpStatus": {
      "type": "number"
    },
    "isX402": {
      "type": "boolean"
    },
    "x402Version": {
      "type": "number"
    },
    "challengeSource": {
      "type": "string"
    },
    "resource": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "mimeType": {
          "type": "string"
        }
      }
    },
    "accepts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "scheme": {
            "type": "string"
          },
          "network": {
            "type": "string"
          },
          "asset": {
            "type": "string"
          },
          "assetLabel": {
            "type": [
              "string",
              "null"
            ]
          },
          "amountAtomic": {
            "type": "string"
          },
          "amountUsd": {
            "type": [
              "string",
              "null"
            ]
          },
          "payTo": {
            "type": "string"
          },
          "payToType": {
            "type": [
              "string",
              "null"
            ]
          },
          "payToDelegate": {
            "type": [
              "string",
              "null"
            ]
          },
          "maxTimeoutSeconds": {
            "type": "number"
          }
        }
      }
    },
    "discovery": {
      "type": "object",
      "properties": {
        "present": {
          "type": "boolean"
        },
        "method": {
          "type": "string"
        },
        "hasInputSchema": {
          "type": "boolean"
        },
        "hasOutputExample": {
          "type": "boolean"
        }
      }
    },
    "tier": {
      "type": "string"
    },
    "baseChecks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "level": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      }
    },
    "tls": {
      "type": "object",
      "properties": {
        "ok": {
          "type": "boolean"
        },
        "protocol": {
          "type": "string"
        },
        "authorized": {
          "type": "boolean"
        },
        "authorizationError": {
          "description": "Null in the recorded example; may hold a value."
        },
        "validFrom": {
          "type": "string"
        },
        "validTo": {
          "type": "string"
        },
        "daysLeft": {
          "type": "number"
        },
        "issuer": {
          "type": "string"
        },
        "subject": {
          "type": "string"
        },
        "san": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "checked": {
          "type": "boolean"
        }
      }
    },
    "securityHeaders": {
      "type": "object",
      "properties": {
        "status": {
          "type": "number"
        },
        "hsts": {
          "type": "string"
        },
        "contentTypeOptions": {
          "type": "string"
        },
        "frameOptions": {
          "description": "Null in the recorded example; may hold a value."
        },
        "csp": {
          "description": "Null in the recorded example; may hold a value."
        },
        "referrerPolicy": {
          "description": "Null in the recorded example; may hold a value."
        },
        "error": {
          "description": "Null in the recorded example; may hold a value."
        }
      }
    },
    "cors": {
      "type": "object",
      "properties": {
        "allowOrigin": {
          "description": "Null in the recorded example; may hold a value."
        },
        "exposeHeaders": {
          "description": "Null in the recorded example; may hold a value."
        },
        "allowCredentials": {
          "description": "Null in the recorded example; may hold a value."
        },
        "paymentRequiredExposed": {
          "type": "boolean"
        }
      }
    },
    "publishedSources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "addresses": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "error": {
            "description": "Null in the recorded example; may hold a value."
          }
        }
      }
    },
    "payToReports": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "network": {
            "type": "string"
          },
          "payTo": {
            "type": "string"
          },
          "payToType": {
            "type": [
              "string",
              "null"
            ]
          },
          "published": {
            "type": "string"
          },
          "publishedIn": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "lookalikes": {
            "type": "array"
          }
        }
      }
    },
    "drift": {
      "type": "object",
      "properties": {
        "wellKnown": {
          "type": "string"
        },
        "openapi": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string"
            },
            "detail": {
              "description": "Null in the recorded example; may hold a value."
            }
          }
        },
        "bazaar": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string"
            },
            "networks": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "detail": {
              "description": "Null in the recorded example; may hold a value."
            }
          }
        }
      }
    },
    "checks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "level": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      }
    },
    "summary": {
      "type": "object",
      "properties": {
        "pass": {
          "type": "number"
        },
        "warn": {
          "type": "number"
        },
        "fail": {
          "type": "number"
        }
      }
    },
    "elapsedMs": {
      "type": "number"
    }
  }
}