forked from JamsheerJabbar/Hackathon_backend_deriv
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathactual_schema_fixed.json
More file actions
93 lines (92 loc) · 4.35 KB
/
actual_schema_fixed.json
File metadata and controls
93 lines (92 loc) · 4.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"users": {
"columns": [
"user_id",
"username",
"age",
"kyc_status",
"risk_level",
"risk_score",
"is_pep",
"account_status",
"created_at",
"updated_at"
],
"sample": {
"user_id": "1",
"username": "john_smith",
"age": 34,
"kyc_status": "VERIFIED",
"risk_level": "LOW",
"risk_score": 12,
"is_pep": 0,
"account_status": "ACTIVE",
"created_at": "2023-01-15T09:30:00Z",
"updated_at": "2025-12-10T14:22:00Z"
}
},
"transactions": {
"columns": [
"txn_id",
"user_id",
"txn_type",
"instrument",
"amount",
"currency",
"amount_usd",
"status",
"flag_reason",
"payment_method",
"external_ref",
"ip_address",
"created_at",
"processed_at"
],
"sample": {
"txn_id": "TXN-000001",
"user_id": "86",
"txn_type": "REFUND",
"instrument": "XRP/USD",
"amount": 18965.78,
"currency": "AUD",
"amount_usd": 12327.76,
"status": "COMPLETED",
"flag_reason": "",
"payment_method": "Wire Transfer",
"external_ref": "EXT-XQ01LWYF63TD",
"ip_address": "128.74.249.135",
"created_at": "3/31/24 6:07",
"processed_at": "3/31/24 18:08"
}
},
"login_events": {
"columns": [
"event_id",
"user_id",
"email_attempted",
"ip_address",
"country",
"city",
"device_type",
"device_fingerprint",
"user_agent",
"status",
"failure_reason",
"created_at"
],
"sample": {
"event_id": "EVT-000001",
"user_id": "87",
"email_attempted": "james.white@company.com",
"ip_address": "156.219.212.124",
"country": "Saudi Arabia",
"city": "Dammam",
"device_type": "Desktop",
"device_fingerprint": "e7db58b7947c93374fa2b69c422b7610",
"user_agent": "Mozilla/5.0 (macOS 13; rv:121.0) Gecko/20100101 Firefox/121.0",
"status": "FAILED",
"failure_reason": "Invalid email",
"created_at": "2024-04-18 21:53:35"
}
}
}