{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vibesprings-net/json-schema/vibesprings-net-risk-result-schema.json",
  "title": "RiskResult",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vibesprings-net-openapi.json#/components/schemas/RiskResult",
  "type": "object",
  "properties": {
    "address": {
      "type": "string"
    },
    "network": {
      "type": "string"
    },
    "riskScore": {
      "type": "integer"
    },
    "riskLevel": {
      "type": "string",
      "enum": [
        "critical",
        "high",
        "medium",
        "low",
        "minimal"
      ]
    },
    "flags": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "severity": {
            "type": "string",
            "enum": [
              "critical",
              "high",
              "medium",
              "low",
              "info"
            ]
          },
          "label": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          }
        }
      }
    },
    "profile": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "eoa",
            "contract",
            "empty"
          ]
        },
        "balanceEth": {
          "type": "string"
        },
        "balanceWei": {
          "type": "string"
        },
        "transactionCount": {
          "type": "integer"
        },
        "hasCode": {
          "type": "boolean"
        },
        "codeSize": {
          "type": "integer"
        },
        "isProxy": {
          "type": "boolean"
        },
        "implementationAddress": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "metadata": {
      "type": "object",
      "properties": {
        "queriedAt": {
          "type": "string",
          "format": "date-time"
        },
        "processingTime": {
          "type": "string"
        },
        "signalsAnalyzed": {
          "type": "integer"
        },
        "warnings": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}