{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ip-api-io/json-schema/ip-api-io-get-api-v1-risk-score-ip-response-schema.json",
  "title": "GetApiV1RiskScoreIpResponse",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/ip-api-io-openapi-generated.yml#/components/schemas/GetApiV1RiskScoreIpResponse",
  "type": "object",
  "properties": {
    "score": {
      "type": "number",
      "description": "Composite risk score between 0.0 and 1.0"
    },
    "risk_level": {
      "type": "string",
      "description": "Risk level (VERY_LOW, LOW, MEDIUM, HIGH, VERY_HIGH)"
    },
    "ip": {
      "type": "string",
      "description": "The IP address queried"
    },
    "factors": {
      "type": "object",
      "description": "Detailed signal breakdown"
    },
    "factors.ip_factors": {
      "type": "object",
      "description": "IP‑specific signals"
    },
    "factors.ip_factors.is_proxy": {
      "type": "boolean"
    },
    "factors.ip_factors.is_tor_node": {
      "type": "boolean"
    },
    "factors.ip_factors.is_spam": {
      "type": "boolean"
    },
    "factors.ip_factors.is_vpn": {
      "type": "boolean"
    },
    "factors.ip_factors.is_datacenter": {
      "type": "boolean"
    },
    "factors.ip_factors.risk_contribution": {
      "type": "number"
    },
    "factors.email_factors": {
      "type": "object",
      "description": "Email‑specific signals (present when email parameter is supplied)"
    },
    "factors.email_factors.is_disposable": {
      "type": "boolean"
    },
    "factors.email_factors.is_valid_syntax": {
      "type": "boolean"
    },
    "factors.email_factors.risk_contribution": {
      "type": "number"
    }
  }
}