{
  "accounts": [
    {
      "account_id": "A123",
      "account_type": "checking",
      "owner_name": "John Smith",
      "balance": 150000.00,
      "currency": "USD",
      "opening_date": "2020-03-15",
      "status": "active",
      "risk_level": "high",
      "flags": ["rapid_transfers", "device_changes", "unusual_pattern"],
      "devices": [
        {
          "device_id": "DEV001",
          "device_type": "mobile",
          "os": "iOS 17.1",
          "last_seen": "2024-01-01 10:02:00",
          "location": "New York",
          "is_trusted": true
        },
        {
          "device_id": "DEV002",
          "device_type": "desktop",
          "os": "Windows 11",
          "last_seen": "2024-01-01 10:04:00",
          "location": "California",
          "is_trusted": false
        },
        {
          "device_id": "DEV005",
          "device_type": "tablet",
          "os": "Android 14",
          "last_seen": "2024-01-01 10:08:00",
          "location": "Texas",
          "is_trusted": false
        },
        {
          "device_id": "DEV010",
          "device_type": "mobile",
          "os": "iOS 16.5",
          "last_seen": "2024-01-01 10:13:00",
          "location": "Florida",
          "is_trusted": false
        },
        {
          "device_id": "DEV015",
          "device_type": "desktop",
          "os": "macOS 14.2",
          "last_seen": "2024-01-01 10:18:00",
          "location": "New Jersey",
          "is_trusted": false
        },
        {
          "device_id": "DEV018",
          "device_type": "mobile",
          "os": "Android 13",
          "last_seen": "2024-01-01 10:21:00",
          "location": "California",
          "is_trusted": false
        }
      ],
      "transaction_count_24h": 8,
      "total_amount_24h": 163000.00
    },
    {
      "account_id": "B456",
      "account_type": "savings",
      "owner_name": "Jane Doe",
      "balance": 75000.00,
      "currency": "USD",
      "opening_date": "2019-07-22",
      "status": "active",
      "risk_level": "low",
      "flags": [],
      "devices": [
        {
          "device_id": "DEV003",
          "device_type": "mobile",
          "os": "iOS 17.0",
          "last_seen": "2024-01-01 10:04:00",
          "location": "Chicago",
          "is_trusted": true
        }
      ],
      "transaction_count_24h": 1,
      "total_amount_24h": 2000.00
    },
    {
      "account_id": "C789",
      "account_type": "checking",
      "owner_name": "Robert Johnson",
      "balance": 45000.00,
      "currency": "USD",
      "opening_date": "2021-11-08",
      "status": "active",
      "risk_level": "low",
      "flags": [],
      "devices": [
        {
          "device_id": "DEV004",
          "device_type": "mobile",
          "os": "Android 13",
          "last_seen": "2024-01-01 10:06:00",
          "location": "Boston",
          "is_trusted": true
        }
      ],
      "transaction_count_24h": 1,
      "total_amount_24h": 1500.00
    },
    {
      "account_id": "D012",
      "account_type": "checking",
      "owner_name": "Unknown",
      "balance": 25000.00,
      "currency": "USD",
      "opening_date": "2023-12-01",
      "status": "active",
      "risk_level": "medium",
      "flags": ["new_account", "large_inflow"],
      "devices": [
        {
          "device_id": "DEV999",
          "device_type": "mobile",
          "os": "Unknown",
          "last_seen": "2024-01-01 10:02:00",
          "location": "Unknown",
          "is_trusted": false
        }
      ],
      "transaction_count_24h": 1,
      "total_amount_24h": 10000.00
    },
    {
      "account_id": "E345",
      "account_type": "checking",
      "owner_name": "Unknown",
      "balance": 18000.00,
      "currency": "USD",
      "opening_date": "2023-11-15",
      "status": "active",
      "risk_level": "medium",
      "flags": ["new_account", "suspicious_inflow"],
      "devices": [],
      "transaction_count_24h": 1,
      "total_amount_24h": 7500.00
    },
    {
      "account_id": "F012",
      "account_type": "checking",
      "owner_name": "Unknown",
      "balance": 12000.00,
      "currency": "USD",
      "opening_date": "2023-12-20",
      "status": "active",
      "risk_level": "high",
      "flags": ["new_account", "fraud_related", "rapid_withdrawal"],
      "devices": [],
      "transaction_count_24h": 1,
      "total_amount_24h": 50000.00
    }
  ],
  "fraud_patterns": [
    {
      "pattern_id": "PAT001",
      "pattern_type": "rapid_transfers",
      "description": "Multiple large transfers from same account within short time window",
      "severity": "high",
      "accounts_affected": ["A123"],
      "detection_time": "2024-01-01 10:03:00"
    },
    {
      "pattern_id": "PAT002",
      "pattern_type": "device_hopping",
      "description": "Account accessed from multiple untrusted devices in different locations",
      "severity": "critical",
      "accounts_affected": ["A123"],
      "detection_time": "2024-01-01 10:08:00"
    },
    {
      "pattern_id": "PAT003",
      "pattern_type": "account_takeover",
      "description": "Suspected account compromise with unusual transaction patterns",
      "severity": "critical",
      "accounts_affected": ["A123"],
      "detection_time": "2024-01-01 10:18:00"
    }
  ],
  "anomalies": [
    {
      "anomaly_id": "ANOM001",
      "anomaly_type": "unusual_amount",
      "description": "Transaction amount significantly higher than account's typical transaction size",
      "severity": "medium",
      "transaction_id": "TX006",
      "detection_time": "2024-01-01 10:05:00"
    },
    {
      "anomaly_id": "ANOM002",
      "anomaly_type": "location_mismatch",
      "description": "Transaction initiated from location inconsistent with account holder's typical locations",
      "severity": "high",
      "transaction_id": "TX008",
      "detection_time": "2024-01-01 10:07:00"
    },
    {
      "anomaly_id": "ANOM003",
      "anomaly_type": "velocity_anomaly",
      "description": "Unusually high transaction velocity detected",
      "severity": "high",
      "transaction_id": "TX011",
      "detection_time": "2024-01-01 10:10:00"
    }
  ]
}
