rAMNARAY commited on
Commit
dbc126d
1 Parent(s): eb6d435

Upload 7 files

Browse files
adjustment_details.json ADDED
@@ -0,0 +1,237 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "adjustment_details",
3
+ "description": "Tracks adjustments made to transactions",
4
+ "primary_key_column": [
5
+ "adjustment_id",
6
+ "transaction_id"
7
+ ],
8
+ "clustering_column": [
9
+ "adjustment_date",
10
+ "adjustment_type"
11
+ ],
12
+ "partitioning_column": [
13
+ "adjustment_date"
14
+ ],
15
+ "type": "Type 2 Fact Table",
16
+ "columns": [
17
+ {
18
+ "name": "adjustment_id",
19
+ "description": "Unique identifier for each adjustment",
20
+ "data_type": "STRING",
21
+ "format": "",
22
+ "is_pii_column": "N",
23
+ "enum": [],
24
+ "dimension_group": ""
25
+ },
26
+ {
27
+ "name": "transaction_id",
28
+ "description": "Identifier of the transaction adjusted",
29
+ "data_type": "STRING",
30
+ "format": "",
31
+ "is_pii_column": "N",
32
+ "enum": [],
33
+ "dimension_group": "transaction_dimension_group"
34
+ },
35
+ {
36
+ "name": "adjustment_type",
37
+ "description": "Type of adjustment made",
38
+ "data_type": "STRING",
39
+ "format": "",
40
+ "is_pii_column": "N",
41
+ "enum": [
42
+ "refund",
43
+ "discount",
44
+ "correction"
45
+ ],
46
+ "dimension_group": ""
47
+ },
48
+ {
49
+ "name": "adjustment_date",
50
+ "description": "Date when the adjustment was made",
51
+ "data_type": "DATE",
52
+ "format": "YYYY-MM-DD",
53
+ "is_pii_column": "N",
54
+ "enum": [],
55
+ "dimension_group": "time_dimension_group"
56
+ },
57
+ {
58
+ "name": "adjustment_amount",
59
+ "description": "Amount adjusted in the transaction",
60
+ "data_type": "FLOAT",
61
+ "format": "",
62
+ "is_pii_column": "N",
63
+ "enum": [],
64
+ "dimension_group": ""
65
+ },
66
+ {
67
+ "name": "adjusted_by",
68
+ "description": "Employee ID who made the adjustment",
69
+ "data_type": "STRING",
70
+ "format": "",
71
+ "is_pii_column": "Y",
72
+ "enum": [],
73
+ "dimension_group": "customer_support_dimension_group"
74
+ },
75
+ {
76
+ "name": "reason_code",
77
+ "description": "Code describing reason for adjustment",
78
+ "data_type": "STRING",
79
+ "format": "",
80
+ "is_pii_column": "N",
81
+ "enum": [],
82
+ "dimension_group": ""
83
+ },
84
+ {
85
+ "name": "original_amount",
86
+ "description": "Original transaction amount before adjustment",
87
+ "data_type": "FLOAT",
88
+ "format": "",
89
+ "is_pii_column": "N",
90
+ "enum": [],
91
+ "dimension_group": ""
92
+ },
93
+ {
94
+ "name": "new_amount",
95
+ "description": "New transaction amount after adjustment",
96
+ "data_type": "FLOAT",
97
+ "format": "",
98
+ "is_pii_column": "N",
99
+ "enum": [],
100
+ "dimension_group": ""
101
+ },
102
+ {
103
+ "name": "currency",
104
+ "description": "Currency of the adjustment amount",
105
+ "data_type": "STRING",
106
+ "format": "",
107
+ "is_pii_column": "N",
108
+ "enum": [
109
+ "USD",
110
+ "EUR",
111
+ "GBP"
112
+ ],
113
+ "dimension_group": ""
114
+ },
115
+ {
116
+ "name": "status",
117
+ "description": "Current status of the adjustment",
118
+ "data_type": "STRING",
119
+ "format": "",
120
+ "is_pii_column": "N",
121
+ "enum": [
122
+ "pending",
123
+ "approved",
124
+ "rejected"
125
+ ],
126
+ "dimension_group": ""
127
+ },
128
+ {
129
+ "name": "comments",
130
+ "description": "Additional comments on the adjustment",
131
+ "data_type": "STRING",
132
+ "format": "",
133
+ "is_pii_column": "N",
134
+ "enum": [],
135
+ "dimension_group": "content_dimension_group"
136
+ },
137
+ {
138
+ "name": "created_at",
139
+ "description": "Timestamp when the record was created",
140
+ "data_type": "TIMESTAMP",
141
+ "format": "",
142
+ "is_pii_column": "N",
143
+ "enum": [],
144
+ "dimension_group": ""
145
+ },
146
+ {
147
+ "name": "updated_at",
148
+ "description": "Timestamp when the record was last updated",
149
+ "data_type": "TIMESTAMP",
150
+ "format": "",
151
+ "is_pii_column": "N",
152
+ "enum": [],
153
+ "dimension_group": ""
154
+ },
155
+ {
156
+ "name": "approved_by",
157
+ "description": "Employee ID who approved the adjustment",
158
+ "data_type": "STRING",
159
+ "format": "",
160
+ "is_pii_column": "Y",
161
+ "enum": [],
162
+ "dimension_group": "customer_support_dimension_group"
163
+ },
164
+ {
165
+ "name": "approval_date",
166
+ "description": "Date when the adjustment was approved",
167
+ "data_type": "DATE",
168
+ "format": "YYYY-MM-DD",
169
+ "is_pii_column": "N",
170
+ "enum": [],
171
+ "dimension_group": "time_dimension_group"
172
+ },
173
+ {
174
+ "name": "source_system",
175
+ "description": "System from which adjustment originated",
176
+ "data_type": "STRING",
177
+ "format": "",
178
+ "is_pii_column": "N",
179
+ "enum": [],
180
+ "dimension_group": "channel_dimension_group"
181
+ },
182
+ {
183
+ "name": "batch_id",
184
+ "description": "Batch ID for processing adjustments",
185
+ "data_type": "STRING",
186
+ "format": "",
187
+ "is_pii_column": "N",
188
+ "enum": [],
189
+ "dimension_group": ""
190
+ },
191
+ {
192
+ "name": "related_adjustment_id",
193
+ "description": "ID of related adjustment if applicable",
194
+ "data_type": "STRING",
195
+ "format": "",
196
+ "is_pii_column": "N",
197
+ "enum": [],
198
+ "dimension_group": ""
199
+ },
200
+ {
201
+ "name": "audit_trail",
202
+ "description": "Audit trail for tracking changes",
203
+ "data_type": "STRING",
204
+ "format": "",
205
+ "is_pii_column": "N",
206
+ "enum": [],
207
+ "dimension_group": ""
208
+ },
209
+ {
210
+ "name": "region",
211
+ "description": "Geographical region of the adjustment",
212
+ "data_type": "STRING",
213
+ "format": "",
214
+ "is_pii_column": "N",
215
+ "enum": [],
216
+ "dimension_group": "geographic_dimension_group"
217
+ },
218
+ {
219
+ "name": "department",
220
+ "description": "Department responsible for the adjustment",
221
+ "data_type": "STRING",
222
+ "format": "",
223
+ "is_pii_column": "N",
224
+ "enum": [],
225
+ "dimension_group": "customer_support_dimension_group"
226
+ },
227
+ {
228
+ "name": "external_reference",
229
+ "description": "External reference linked to adjustment",
230
+ "data_type": "STRING",
231
+ "format": "",
232
+ "is_pii_column": "N",
233
+ "enum": [],
234
+ "dimension_group": "referral_dimension_group"
235
+ }
236
+ ]
237
+ }
browsing_history_0.json ADDED
@@ -0,0 +1,224 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "browsing_history_0",
3
+ "description": "Tracks user browsing sessions and activities",
4
+ "primary_key_column": [
5
+ "session_id",
6
+ "user_id"
7
+ ],
8
+ "clustering_column": [
9
+ "session_start_time",
10
+ "user_id"
11
+ ],
12
+ "partitioning_column": [
13
+ "session_date"
14
+ ],
15
+ "type": "Type 1 Fact Table",
16
+ "columns": [
17
+ {
18
+ "name": "session_id",
19
+ "description": "Unique identifier for the session",
20
+ "data_type": "STRING",
21
+ "format": "",
22
+ "is_pii_column": "N",
23
+ "enum": [],
24
+ "dimension_group": ""
25
+ },
26
+ {
27
+ "name": "user_id",
28
+ "description": "Unique identifier for the user",
29
+ "data_type": "STRING",
30
+ "format": "",
31
+ "is_pii_column": "Y",
32
+ "enum": [],
33
+ "dimension_group": ""
34
+ },
35
+ {
36
+ "name": "session_start_time",
37
+ "description": "Start time of the browsing session",
38
+ "data_type": "TIMESTAMP",
39
+ "format": "",
40
+ "is_pii_column": "N",
41
+ "enum": [],
42
+ "dimension_group": "time_dimension_group"
43
+ },
44
+ {
45
+ "name": "session_end_time",
46
+ "description": "End time of the browsing session",
47
+ "data_type": "TIMESTAMP",
48
+ "format": "",
49
+ "is_pii_column": "N",
50
+ "enum": [],
51
+ "dimension_group": "time_dimension_group"
52
+ },
53
+ {
54
+ "name": "session_date",
55
+ "description": "Date of the browsing session",
56
+ "data_type": "DATE",
57
+ "format": "",
58
+ "is_pii_column": "N",
59
+ "enum": [],
60
+ "dimension_group": "time_dimension_group"
61
+ },
62
+ {
63
+ "name": "page_views",
64
+ "description": "Number of pages viewed in session",
65
+ "data_type": "INTEGER",
66
+ "format": "",
67
+ "is_pii_column": "N",
68
+ "enum": [],
69
+ "dimension_group": "traffic_dimension_group"
70
+ },
71
+ {
72
+ "name": "user_agent",
73
+ "description": "Browser user agent of the user",
74
+ "data_type": "STRING",
75
+ "format": "",
76
+ "is_pii_column": "N",
77
+ "enum": [],
78
+ "dimension_group": "device_dimension_group"
79
+ },
80
+ {
81
+ "name": "ip_address",
82
+ "description": "IP address of the user",
83
+ "data_type": "STRING",
84
+ "format": "",
85
+ "is_pii_column": "Y",
86
+ "enum": [],
87
+ "dimension_group": ""
88
+ },
89
+ {
90
+ "name": "device_type",
91
+ "description": "Type of device used for browsing",
92
+ "data_type": "STRING",
93
+ "format": "",
94
+ "is_pii_column": "N",
95
+ "enum": [
96
+ "Desktop",
97
+ "Mobile",
98
+ "Tablet"
99
+ ],
100
+ "dimension_group": "device_dimension_group"
101
+ },
102
+ {
103
+ "name": "country",
104
+ "description": "Country of the user",
105
+ "data_type": "STRING",
106
+ "format": "",
107
+ "is_pii_column": "N",
108
+ "enum": [],
109
+ "dimension_group": "geographic_dimension_group"
110
+ },
111
+ {
112
+ "name": "region",
113
+ "description": "Region of the user",
114
+ "data_type": "STRING",
115
+ "format": "",
116
+ "is_pii_column": "N",
117
+ "enum": [],
118
+ "dimension_group": "geographic_dimension_group"
119
+ },
120
+ {
121
+ "name": "city",
122
+ "description": "City of the user",
123
+ "data_type": "STRING",
124
+ "format": "",
125
+ "is_pii_column": "N",
126
+ "enum": [],
127
+ "dimension_group": "geographic_dimension_group"
128
+ },
129
+ {
130
+ "name": "entry_page",
131
+ "description": "First page visited in the session",
132
+ "data_type": "STRING",
133
+ "format": "",
134
+ "is_pii_column": "N",
135
+ "enum": [],
136
+ "dimension_group": "session_interaction_dimension_group"
137
+ },
138
+ {
139
+ "name": "exit_page",
140
+ "description": "Last page visited in the session",
141
+ "data_type": "STRING",
142
+ "format": "",
143
+ "is_pii_column": "N",
144
+ "enum": [],
145
+ "dimension_group": "session_interaction_dimension_group"
146
+ },
147
+ {
148
+ "name": "referral_source",
149
+ "description": "Referral source for the session",
150
+ "data_type": "STRING",
151
+ "format": "",
152
+ "is_pii_column": "N",
153
+ "enum": [],
154
+ "dimension_group": "referral_dimension_group"
155
+ },
156
+ {
157
+ "name": "search_terms",
158
+ "description": "Search terms used during the session",
159
+ "data_type": "STRING",
160
+ "format": "",
161
+ "is_pii_column": "N",
162
+ "enum": [],
163
+ "dimension_group": "session_interaction_dimension_group"
164
+ },
165
+ {
166
+ "name": "time_on_site",
167
+ "description": "Total time spent on site in seconds",
168
+ "data_type": "INTEGER",
169
+ "format": "",
170
+ "is_pii_column": "N",
171
+ "enum": [],
172
+ "dimension_group": "traffic_dimension_group"
173
+ },
174
+ {
175
+ "name": "bounce_rate",
176
+ "description": "Bounce rate for the session",
177
+ "data_type": "FLOAT",
178
+ "format": "",
179
+ "is_pii_column": "N",
180
+ "enum": [],
181
+ "dimension_group": "traffic_dimension_group"
182
+ },
183
+ {
184
+ "name": "conversion",
185
+ "description": "Whether a conversion occurred",
186
+ "data_type": "BOOLEAN",
187
+ "format": "",
188
+ "is_pii_column": "N",
189
+ "enum": [],
190
+ "dimension_group": "session_interaction_dimension_group"
191
+ },
192
+ {
193
+ "name": "conversion_type",
194
+ "description": "Type of conversion",
195
+ "data_type": "STRING",
196
+ "format": "",
197
+ "is_pii_column": "N",
198
+ "enum": [
199
+ "Purchase",
200
+ "Signup",
201
+ "Lead"
202
+ ],
203
+ "dimension_group": "session_interaction_dimension_group"
204
+ },
205
+ {
206
+ "name": "cart_abandonment",
207
+ "description": "Whether the cart was abandoned",
208
+ "data_type": "BOOLEAN",
209
+ "format": "",
210
+ "is_pii_column": "N",
211
+ "enum": [],
212
+ "dimension_group": "session_interaction_dimension_group"
213
+ },
214
+ {
215
+ "name": "product_views",
216
+ "description": "Number of product views in session",
217
+ "data_type": "INTEGER",
218
+ "format": "",
219
+ "is_pii_column": "N",
220
+ "enum": [],
221
+ "dimension_group": "session_interaction_dimension_group"
222
+ }
223
+ ]
224
+ }
browsing_history_1.json ADDED
@@ -0,0 +1,292 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "browsing_history_1",
3
+ "description": "Tracks user browsing behavior and preferences",
4
+ "primary_key_column": [
5
+ "user_id",
6
+ "session_id"
7
+ ],
8
+ "clustering_column": [
9
+ "session_start_time",
10
+ "page_viewed"
11
+ ],
12
+ "partitioning_column": [
13
+ "session_date"
14
+ ],
15
+ "type": "Type 1 Fact Table",
16
+ "columns": [
17
+ {
18
+ "name": "user_id",
19
+ "description": "Unique identifier for a user",
20
+ "data_type": "STRING",
21
+ "format": "",
22
+ "is_pii_column": "Y",
23
+ "enum": [],
24
+ "dimension_group": ""
25
+ },
26
+ {
27
+ "name": "session_id",
28
+ "description": "Unique identifier for a session",
29
+ "data_type": "STRING",
30
+ "format": "",
31
+ "is_pii_column": "Y",
32
+ "enum": [],
33
+ "dimension_group": ""
34
+ },
35
+ {
36
+ "name": "session_date",
37
+ "description": "Date of the browsing session",
38
+ "data_type": "DATE",
39
+ "format": "YYYY-MM-DD",
40
+ "is_pii_column": "N",
41
+ "enum": [],
42
+ "dimension_group": "time_dimension_group"
43
+ },
44
+ {
45
+ "name": "session_start_time",
46
+ "description": "Start time of the browsing session",
47
+ "data_type": "TIMESTAMP",
48
+ "format": "",
49
+ "is_pii_column": "N",
50
+ "enum": [],
51
+ "dimension_group": "time_dimension_group"
52
+ },
53
+ {
54
+ "name": "page_viewed",
55
+ "description": "URL of the page viewed",
56
+ "data_type": "STRING",
57
+ "format": "",
58
+ "is_pii_column": "N",
59
+ "enum": [],
60
+ "dimension_group": "content_dimension_group"
61
+ },
62
+ {
63
+ "name": "device_type",
64
+ "description": "Type of device used for browsing",
65
+ "data_type": "STRING",
66
+ "format": "",
67
+ "is_pii_column": "N",
68
+ "enum": [
69
+ "desktop",
70
+ "mobile",
71
+ "tablet"
72
+ ],
73
+ "dimension_group": "device_dimension_group"
74
+ },
75
+ {
76
+ "name": "browser_type",
77
+ "description": "Type of browser used",
78
+ "data_type": "STRING",
79
+ "format": "",
80
+ "is_pii_column": "N",
81
+ "enum": [
82
+ "chrome",
83
+ "firefox",
84
+ "safari",
85
+ "edge",
86
+ "other"
87
+ ],
88
+ "dimension_group": "device_dimension_group"
89
+ },
90
+ {
91
+ "name": "os_type",
92
+ "description": "Operating system of the device",
93
+ "data_type": "STRING",
94
+ "format": "",
95
+ "is_pii_column": "N",
96
+ "enum": [
97
+ "windows",
98
+ "macos",
99
+ "linux",
100
+ "android",
101
+ "ios",
102
+ "other"
103
+ ],
104
+ "dimension_group": "device_dimension_group"
105
+ },
106
+ {
107
+ "name": "country",
108
+ "description": "Country of the user",
109
+ "data_type": "STRING",
110
+ "format": "",
111
+ "is_pii_column": "N",
112
+ "enum": [],
113
+ "dimension_group": "geographic_dimension_group"
114
+ },
115
+ {
116
+ "name": "region",
117
+ "description": "Region of the user",
118
+ "data_type": "STRING",
119
+ "format": "",
120
+ "is_pii_column": "N",
121
+ "enum": [],
122
+ "dimension_group": "geographic_dimension_group"
123
+ },
124
+ {
125
+ "name": "city",
126
+ "description": "City of the user",
127
+ "data_type": "STRING",
128
+ "format": "",
129
+ "is_pii_column": "N",
130
+ "enum": [],
131
+ "dimension_group": "geographic_dimension_group"
132
+ },
133
+ {
134
+ "name": "zip_code",
135
+ "description": "Postal code of the user",
136
+ "data_type": "STRING",
137
+ "format": "",
138
+ "is_pii_column": "N",
139
+ "enum": [],
140
+ "dimension_group": "geographic_dimension_group"
141
+ },
142
+ {
143
+ "name": "interests",
144
+ "description": "Interests of the user",
145
+ "data_type": "STRING",
146
+ "format": "",
147
+ "is_pii_column": "N",
148
+ "enum": [],
149
+ "dimension_group": "behavior_dimension_group"
150
+ },
151
+ {
152
+ "name": "age_group",
153
+ "description": "Age group of the user",
154
+ "data_type": "STRING",
155
+ "format": "",
156
+ "is_pii_column": "N",
157
+ "enum": [
158
+ "18-24",
159
+ "25-34",
160
+ "35-44",
161
+ "45-54",
162
+ "55-64",
163
+ "65+"
164
+ ],
165
+ "dimension_group": "customer_dimension_group"
166
+ },
167
+ {
168
+ "name": "gender",
169
+ "description": "Gender of the user",
170
+ "data_type": "STRING",
171
+ "format": "",
172
+ "is_pii_column": "N",
173
+ "enum": [
174
+ "male",
175
+ "female",
176
+ "other"
177
+ ],
178
+ "dimension_group": "customer_dimension_group"
179
+ },
180
+ {
181
+ "name": "income_range",
182
+ "description": "Income range of the user",
183
+ "data_type": "STRING",
184
+ "format": "",
185
+ "is_pii_column": "N",
186
+ "enum": [
187
+ "low",
188
+ "medium",
189
+ "high"
190
+ ],
191
+ "dimension_group": "customer_dimension_group"
192
+ },
193
+ {
194
+ "name": "education_level",
195
+ "description": "Education level of the user",
196
+ "data_type": "STRING",
197
+ "format": "",
198
+ "is_pii_column": "N",
199
+ "enum": [
200
+ "none",
201
+ "high_school",
202
+ "bachelor",
203
+ "master",
204
+ "doctorate"
205
+ ],
206
+ "dimension_group": "customer_dimension_group"
207
+ },
208
+ {
209
+ "name": "employment_status",
210
+ "description": "Employment status of the user",
211
+ "data_type": "STRING",
212
+ "format": "",
213
+ "is_pii_column": "N",
214
+ "enum": [
215
+ "employed",
216
+ "unemployed",
217
+ "self-employed",
218
+ "student",
219
+ "retired"
220
+ ],
221
+ "dimension_group": "customer_dimension_group"
222
+ },
223
+ {
224
+ "name": "marital_status",
225
+ "description": "Marital status of the user",
226
+ "data_type": "STRING",
227
+ "format": "",
228
+ "is_pii_column": "N",
229
+ "enum": [
230
+ "single",
231
+ "married",
232
+ "divorced",
233
+ "widowed"
234
+ ],
235
+ "dimension_group": "customer_dimension_group"
236
+ },
237
+ {
238
+ "name": "number_of_sessions",
239
+ "description": "Total number of sessions by the user",
240
+ "data_type": "INTEGER",
241
+ "format": "",
242
+ "is_pii_column": "N",
243
+ "enum": [],
244
+ "dimension_group": "behavior_dimension_group"
245
+ },
246
+ {
247
+ "name": "average_session_duration",
248
+ "description": "Average duration of sessions",
249
+ "data_type": "FLOAT",
250
+ "format": "",
251
+ "is_pii_column": "N",
252
+ "enum": [],
253
+ "dimension_group": "behavior_dimension_group"
254
+ },
255
+ {
256
+ "name": "total_pages_viewed",
257
+ "description": "Total pages viewed by the user",
258
+ "data_type": "INTEGER",
259
+ "format": "",
260
+ "is_pii_column": "N",
261
+ "enum": [],
262
+ "dimension_group": "behavior_dimension_group"
263
+ },
264
+ {
265
+ "name": "most_viewed_category",
266
+ "description": "Most viewed category by the user",
267
+ "data_type": "STRING",
268
+ "format": "",
269
+ "is_pii_column": "N",
270
+ "enum": [],
271
+ "dimension_group": "category_dimension_group"
272
+ },
273
+ {
274
+ "name": "last_active_date",
275
+ "description": "Last active date of the user",
276
+ "data_type": "DATE",
277
+ "format": "YYYY-MM-DD",
278
+ "is_pii_column": "N",
279
+ "enum": [],
280
+ "dimension_group": "time_dimension_group"
281
+ },
282
+ {
283
+ "name": "referrer",
284
+ "description": "Referrer URL for the session",
285
+ "data_type": "STRING",
286
+ "format": "",
287
+ "is_pii_column": "N",
288
+ "enum": [],
289
+ "dimension_group": "traffic_dimension_group"
290
+ }
291
+ ]
292
+ }
customer_activity_0.json ADDED
@@ -0,0 +1,228 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "customer_activity_0",
3
+ "description": "Tracks customer interactions and technology usage",
4
+ "primary_key_column": [
5
+ "customer_id",
6
+ "session_id"
7
+ ],
8
+ "clustering_column": [
9
+ "device_type",
10
+ "session_start_time"
11
+ ],
12
+ "partitioning_column": [
13
+ "session_date"
14
+ ],
15
+ "type": "Type 1 Fact Table",
16
+ "columns": [
17
+ {
18
+ "name": "customer_id",
19
+ "description": "Unique identifier for a customer",
20
+ "data_type": "STRING",
21
+ "format": "",
22
+ "is_pii_column": "Y",
23
+ "enum": [],
24
+ "dimension_group": "customer_dimension_group"
25
+ },
26
+ {
27
+ "name": "session_id",
28
+ "description": "Unique identifier for a session",
29
+ "data_type": "STRING",
30
+ "format": "",
31
+ "is_pii_column": "N",
32
+ "enum": [],
33
+ "dimension_group": "session_interaction_dimension_group"
34
+ },
35
+ {
36
+ "name": "session_start_time",
37
+ "description": "Start time of the session",
38
+ "data_type": "TIMESTAMP",
39
+ "format": "",
40
+ "is_pii_column": "N",
41
+ "enum": [],
42
+ "dimension_group": "session_interaction_dimension_group"
43
+ },
44
+ {
45
+ "name": "session_end_time",
46
+ "description": "End time of the session",
47
+ "data_type": "TIMESTAMP",
48
+ "format": "",
49
+ "is_pii_column": "N",
50
+ "enum": [],
51
+ "dimension_group": "session_interaction_dimension_group"
52
+ },
53
+ {
54
+ "name": "session_date",
55
+ "description": "Date of the session",
56
+ "data_type": "DATE",
57
+ "format": "",
58
+ "is_pii_column": "N",
59
+ "enum": [],
60
+ "dimension_group": "session_interaction_dimension_group"
61
+ },
62
+ {
63
+ "name": "device_type",
64
+ "description": "Type of device used",
65
+ "data_type": "STRING",
66
+ "format": "LowerCase",
67
+ "is_pii_column": "N",
68
+ "enum": [
69
+ "desktop",
70
+ "mobile",
71
+ "tablet"
72
+ ],
73
+ "dimension_group": "device_dimension_group"
74
+ },
75
+ {
76
+ "name": "browser_type",
77
+ "description": "Type of browser used",
78
+ "data_type": "STRING",
79
+ "format": "LowerCase",
80
+ "is_pii_column": "N",
81
+ "enum": [
82
+ "chrome",
83
+ "firefox",
84
+ "safari",
85
+ "edge",
86
+ "other"
87
+ ],
88
+ "dimension_group": "device_dimension_group"
89
+ },
90
+ {
91
+ "name": "os_type",
92
+ "description": "Operating system of the device",
93
+ "data_type": "STRING",
94
+ "format": "LowerCase",
95
+ "is_pii_column": "N",
96
+ "enum": [
97
+ "windows",
98
+ "macos",
99
+ "linux",
100
+ "android",
101
+ "ios",
102
+ "other"
103
+ ],
104
+ "dimension_group": "device_dimension_group"
105
+ },
106
+ {
107
+ "name": "page_views",
108
+ "description": "Number of pages viewed in session",
109
+ "data_type": "INTEGER",
110
+ "format": "",
111
+ "is_pii_column": "N",
112
+ "enum": [],
113
+ "dimension_group": "behavior_dimension_group"
114
+ },
115
+ {
116
+ "name": "clicks",
117
+ "description": "Number of clicks during the session",
118
+ "data_type": "INTEGER",
119
+ "format": "",
120
+ "is_pii_column": "N",
121
+ "enum": [],
122
+ "dimension_group": "behavior_dimension_group"
123
+ },
124
+ {
125
+ "name": "actions",
126
+ "description": "Number of actions taken",
127
+ "data_type": "INTEGER",
128
+ "format": "",
129
+ "is_pii_column": "N",
130
+ "enum": [],
131
+ "dimension_group": "behavior_dimension_group"
132
+ },
133
+ {
134
+ "name": "time_spent",
135
+ "description": "Total time spent in seconds",
136
+ "data_type": "INTEGER",
137
+ "format": "",
138
+ "is_pii_column": "N",
139
+ "enum": [],
140
+ "dimension_group": "session_interaction_dimension_group"
141
+ },
142
+ {
143
+ "name": "purchase_made",
144
+ "description": "Whether a purchase was made",
145
+ "data_type": "BOOLEAN",
146
+ "format": "",
147
+ "is_pii_column": "N",
148
+ "enum": [],
149
+ "dimension_group": "behavior_dimension_group"
150
+ },
151
+ {
152
+ "name": "cart_value",
153
+ "description": "Total value of the shopping cart",
154
+ "data_type": "FLOAT",
155
+ "format": "",
156
+ "is_pii_column": "N",
157
+ "enum": [],
158
+ "dimension_group": "behavior_dimension_group"
159
+ },
160
+ {
161
+ "name": "product_views",
162
+ "description": "Number of product views",
163
+ "data_type": "INTEGER",
164
+ "format": "",
165
+ "is_pii_column": "N",
166
+ "enum": [],
167
+ "dimension_group": "behavior_dimension_group"
168
+ },
169
+ {
170
+ "name": "search_queries",
171
+ "description": "Number of search queries made",
172
+ "data_type": "INTEGER",
173
+ "format": "",
174
+ "is_pii_column": "N",
175
+ "enum": [],
176
+ "dimension_group": "behavior_dimension_group"
177
+ },
178
+ {
179
+ "name": "login_status",
180
+ "description": "Whether the user was logged in",
181
+ "data_type": "BOOLEAN",
182
+ "format": "",
183
+ "is_pii_column": "N",
184
+ "enum": [],
185
+ "dimension_group": "session_interaction_dimension_group"
186
+ },
187
+ {
188
+ "name": "landing_page",
189
+ "description": "First page visited during the session",
190
+ "data_type": "STRING",
191
+ "format": "",
192
+ "is_pii_column": "N",
193
+ "enum": []
194
+ },
195
+ {
196
+ "name": "exit_page",
197
+ "description": "Last page visited during the session",
198
+ "data_type": "STRING",
199
+ "format": "",
200
+ "is_pii_column": "N",
201
+ "enum": []
202
+ },
203
+ {
204
+ "name": "bounce_status",
205
+ "description": "Whether the session was a bounce (single page visit)",
206
+ "data_type": "BOOLEAN",
207
+ "format": "",
208
+ "is_pii_column": "N",
209
+ "enum": []
210
+ },
211
+ {
212
+ "name": "conversion_event",
213
+ "description": "Event that indicates a conversion was made",
214
+ "data_type": "STRING",
215
+ "format": "",
216
+ "is_pii_column": "N",
217
+ "enum": []
218
+ },
219
+ {
220
+ "name": "referral_source",
221
+ "description": "Source from which the visitor was referred",
222
+ "data_type": "STRING",
223
+ "format": "",
224
+ "is_pii_column": "N",
225
+ "enum": []
226
+ }
227
+ ]
228
+ }
customer_activity_1.json ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "customer_activity_1",
3
+ "description": "Tracks customer interactions and preferences",
4
+ "primary_key_column": [
5
+ "customer_id",
6
+ "session_id"
7
+ ],
8
+ "clustering_column": [
9
+ "last_activity_date",
10
+ "customer_region"
11
+ ],
12
+ "partitioning_column": [
13
+ "last_activity_date"
14
+ ],
15
+ "type": "Type 1 Fact Table",
16
+ "columns": [
17
+ {
18
+ "name": "customer_id",
19
+ "description": "Unique identifier for a customer",
20
+ "data_type": "STRING",
21
+ "format": "",
22
+ "is_pii_column": "Y",
23
+ "enum": [],
24
+ "dimension_group": ""
25
+ },
26
+ {
27
+ "name": "session_id",
28
+ "description": "Unique identifier for a session",
29
+ "data_type": "STRING",
30
+ "format": "",
31
+ "is_pii_column": "N",
32
+ "enum": [],
33
+ "dimension_group": ""
34
+ },
35
+ {
36
+ "name": "first_name",
37
+ "description": "Customer's first name",
38
+ "data_type": "STRING",
39
+ "format": "CamelCase",
40
+ "is_pii_column": "Y",
41
+ "enum": [],
42
+ "dimension_group": "customer_dimension_group"
43
+ },
44
+ {
45
+ "name": "last_name",
46
+ "description": "Customer's last name",
47
+ "data_type": "STRING",
48
+ "format": "CamelCase",
49
+ "is_pii_column": "Y",
50
+ "enum": [],
51
+ "dimension_group": "customer_dimension_group"
52
+ },
53
+ {
54
+ "name": "email",
55
+ "description": "Customer's email address",
56
+ "data_type": "STRING",
57
+ "format": "LowerCase",
58
+ "is_pii_column": "Y",
59
+ "enum": [],
60
+ "dimension_group": "customer_dimension_group"
61
+ },
62
+ {
63
+ "name": "age",
64
+ "description": "Customer's age",
65
+ "data_type": "INTEGER",
66
+ "format": "",
67
+ "is_pii_column": "N",
68
+ "enum": [],
69
+ "dimension_group": "customer_dimension_group"
70
+ },
71
+ {
72
+ "name": "gender",
73
+ "description": "Customer's gender",
74
+ "data_type": "STRING",
75
+ "format": "",
76
+ "is_pii_column": "N",
77
+ "enum": [
78
+ "Male",
79
+ "Female",
80
+ "Other"
81
+ ],
82
+ "dimension_group": "customer_dimension_group"
83
+ },
84
+ {
85
+ "name": "customer_region",
86
+ "description": "Geographic region of the customer",
87
+ "data_type": "STRING",
88
+ "format": "",
89
+ "is_pii_column": "N",
90
+ "enum": [],
91
+ "dimension_group": "geographic_dimension_group"
92
+ },
93
+ {
94
+ "name": "last_activity_date",
95
+ "description": "Date of last activity",
96
+ "data_type": "DATE",
97
+ "format": "YYYY-MM-DD",
98
+ "is_pii_column": "N",
99
+ "enum": [],
100
+ "dimension_group": "time_dimension_group"
101
+ },
102
+ {
103
+ "name": "device_type",
104
+ "description": "Type of device used",
105
+ "data_type": "STRING",
106
+ "format": "",
107
+ "is_pii_column": "N",
108
+ "enum": [
109
+ "Desktop",
110
+ "Mobile",
111
+ "Tablet"
112
+ ],
113
+ "dimension_group": "device_dimension_group"
114
+ },
115
+ {
116
+ "name": "browser_type",
117
+ "description": "Type of browser used",
118
+ "data_type": "STRING",
119
+ "format": "",
120
+ "is_pii_column": "N",
121
+ "enum": [
122
+ "Chrome",
123
+ "Firefox",
124
+ "Safari",
125
+ "Edge",
126
+ "Other"
127
+ ],
128
+ "dimension_group": "device_dimension_group"
129
+ },
130
+ {
131
+ "name": "purchase_count",
132
+ "description": "Number of purchases made",
133
+ "data_type": "INTEGER",
134
+ "format": "",
135
+ "is_pii_column": "N",
136
+ "enum": [],
137
+ "dimension_group": "transaction_dimension_group"
138
+ },
139
+ {
140
+ "name": "total_spent",
141
+ "description": "Total amount spent",
142
+ "data_type": "FLOAT",
143
+ "format": "",
144
+ "is_pii_column": "N",
145
+ "enum": [],
146
+ "dimension_group": "transaction_dimension_group"
147
+ },
148
+ {
149
+ "name": "loyalty_member",
150
+ "description": "Is a loyalty program member",
151
+ "data_type": "BOOLEAN",
152
+ "format": "",
153
+ "is_pii_column": "N",
154
+ "enum": [],
155
+ "dimension_group": "loyalty_dimension_group"
156
+ },
157
+ {
158
+ "name": "marketing_opt_in",
159
+ "description": "Opted in for marketing",
160
+ "data_type": "BOOLEAN",
161
+ "format": "",
162
+ "is_pii_column": "N",
163
+ "enum": [],
164
+ "dimension_group": "customer_behavior_segment_dimension_group"
165
+ },
166
+ {
167
+ "name": "landing_page",
168
+ "description": "First page visited during the session",
169
+ "data_type": "STRING",
170
+ "format": "",
171
+ "is_pii_column": "N",
172
+ "enum": []
173
+ },
174
+ {
175
+ "name": "exit_page",
176
+ "description": "Last page visited during the session",
177
+ "data_type": "STRING",
178
+ "format": "",
179
+ "is_pii_column": "N",
180
+ "enum": []
181
+ },
182
+ {
183
+ "name": "bounce_status",
184
+ "description": "Whether the session was a bounce (single page visit)",
185
+ "data_type": "BOOLEAN",
186
+ "format": "",
187
+ "is_pii_column": "N",
188
+ "enum": []
189
+ },
190
+ {
191
+ "name": "conversion_event",
192
+ "description": "Event that indicates a conversion was made",
193
+ "data_type": "STRING",
194
+ "format": "",
195
+ "is_pii_column": "N",
196
+ "enum": []
197
+ },
198
+ {
199
+ "name": "referral_source",
200
+ "description": "Source from which the visitor was referred",
201
+ "data_type": "STRING",
202
+ "format": "",
203
+ "is_pii_column": "N",
204
+ "enum": []
205
+ }
206
+ ]
207
+ }
customer_interaction_fact.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "customer_interaction_fact",
3
+ "description": "Tracks all customer interactions with products",
4
+ "primary_key_column": [
5
+ "interaction_id"
6
+ ],
7
+ "clustering_column": [
8
+ "customer_id",
9
+ "product_id"
10
+ ],
11
+ "partitioning_column": [
12
+ "interaction_date"
13
+ ],
14
+ "type": "Fact Table",
15
+ "Columns": [
16
+ {
17
+ "name": "interaction_id",
18
+ "description": "Unique identifier for the interaction",
19
+ "data_type": "STRING",
20
+ "format": "",
21
+ "is_pii_column": "N",
22
+ "enum": []
23
+ },
24
+ {
25
+ "name": "customer_id",
26
+ "description": "Identifier for the customer",
27
+ "data_type": "STRING",
28
+ "format": "",
29
+ "is_pii_column": "Y",
30
+ "enum": []
31
+ },
32
+ {
33
+ "name": "product_id",
34
+ "description": "Identifier for the product",
35
+ "data_type": "STRING",
36
+ "format": "",
37
+ "is_pii_column": "N",
38
+ "enum": []
39
+ },
40
+ {
41
+ "name": "interaction_type",
42
+ "description": "Type of interaction (e.g., view, click)",
43
+ "data_type": "STRING",
44
+ "format": "",
45
+ "is_pii_column": "N",
46
+ "enum": [
47
+ "view",
48
+ "click",
49
+ "purchase",
50
+ "return"
51
+ ]
52
+ },
53
+ {
54
+ "name": "interaction_date",
55
+ "description": "Date of the interaction",
56
+ "data_type": "DATE",
57
+ "format": "YYYY-MM-DD",
58
+ "is_pii_column": "N",
59
+ "enum": []
60
+ },
61
+ {
62
+ "name": "interaction_time",
63
+ "description": "Time of the interaction",
64
+ "data_type": "TIME",
65
+ "format": "HH:MM:SS",
66
+ "is_pii_column": "N",
67
+ "enum": []
68
+ },
69
+ {
70
+ "name": "channel",
71
+ "description": "Channel of interaction",
72
+ "data_type": "STRING",
73
+ "format": "",
74
+ "is_pii_column": "N",
75
+ "enum": [
76
+ "online",
77
+ "in-store",
78
+ "mobile",
79
+ "email"
80
+ ]
81
+ },
82
+ {
83
+ "name": "device_type",
84
+ "description": "Type of device used",
85
+ "data_type": "STRING",
86
+ "format": "",
87
+ "is_pii_column": "N",
88
+ "enum": [
89
+ "desktop",
90
+ "mobile",
91
+ "tablet",
92
+ "other"
93
+ ]
94
+ },
95
+ {
96
+ "name": "browser",
97
+ "description": "Browser used for the interaction",
98
+ "data_type": "STRING",
99
+ "format": "",
100
+ "is_pii_column": "N",
101
+ "enum": []
102
+ },
103
+ {
104
+ "name": "os",
105
+ "description": "Operating system of the device",
106
+ "data_type": "STRING",
107
+ "format": "",
108
+ "is_pii_column": "N",
109
+ "enum": []
110
+ },
111
+ {
112
+ "name": "country",
113
+ "description": "Country of the customer",
114
+ "data_type": "STRING",
115
+ "format": "",
116
+ "is_pii_column": "N",
117
+ "enum": []
118
+ },
119
+ {
120
+ "name": "region",
121
+ "description": "Region of the customer",
122
+ "data_type": "STRING",
123
+ "format": "",
124
+ "is_pii_column": "N",
125
+ "enum": []
126
+ },
127
+ {
128
+ "name": "city",
129
+ "description": "City of the customer",
130
+ "data_type": "STRING",
131
+ "format": "",
132
+ "is_pii_column": "N",
133
+ "enum": []
134
+ },
135
+ {
136
+ "name": "session_id",
137
+ "description": "Session identifier for the interaction",
138
+ "data_type": "STRING",
139
+ "format": "",
140
+ "is_pii_column": "N",
141
+ "enum": []
142
+ },
143
+ {
144
+ "name": "referrer",
145
+ "description": "Referrer URL for the interaction",
146
+ "data_type": "STRING",
147
+ "format": "",
148
+ "is_pii_column": "N",
149
+ "enum": []
150
+ },
151
+ {
152
+ "name": "campaign_id",
153
+ "description": "Marketing campaign identifier",
154
+ "data_type": "STRING",
155
+ "format": "",
156
+ "is_pii_column": "N",
157
+ "enum": []
158
+ },
159
+ {
160
+ "name": "page_viewed",
161
+ "description": "Page viewed during the interaction",
162
+ "data_type": "STRING",
163
+ "format": "",
164
+ "is_pii_column": "N",
165
+ "enum": []
166
+ },
167
+ {
168
+ "name": "entry_page",
169
+ "description": "Entry page for the session",
170
+ "data_type": "STRING",
171
+ "format": "",
172
+ "is_pii_column": "N",
173
+ "enum": []
174
+ },
175
+ {
176
+ "name": "exit_page",
177
+ "description": "Exit page for the session",
178
+ "data_type": "STRING",
179
+ "format": "",
180
+ "is_pii_column": "N",
181
+ "enum": []
182
+ },
183
+ {
184
+ "name": "time_spent",
185
+ "description": "Time spent during interaction in seconds",
186
+ "data_type": "INT64",
187
+ "format": "",
188
+ "is_pii_column": "N",
189
+ "enum": []
190
+ },
191
+ {
192
+ "name": "conversion",
193
+ "description": "Whether the interaction led to a conversion",
194
+ "data_type": "BOOLEAN",
195
+ "format": "",
196
+ "is_pii_column": "N",
197
+ "enum": []
198
+ }
199
+ ]
200
+ }
customer_search_0.json ADDED
@@ -0,0 +1,251 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "customer_search_0",
3
+ "description": "Tracks customer search behavior and technology use",
4
+ "primary_key_column": [
5
+ "customer_id",
6
+ "search_id"
7
+ ],
8
+ "clustering_column": [
9
+ "search_date",
10
+ "search_time"
11
+ ],
12
+ "partitioning_column": [
13
+ "search_date"
14
+ ],
15
+ "type": "Type 1 Fact Table",
16
+ "columns": [
17
+ {
18
+ "name": "customer_id",
19
+ "description": "Unique identifier for a customer",
20
+ "data_type": "STRING",
21
+ "format": "",
22
+ "is_pii_column": "Y",
23
+ "enum": [],
24
+ "dimension_group": "customer_dimension_group"
25
+ },
26
+ {
27
+ "name": "search_id",
28
+ "description": "Unique identifier for a search event",
29
+ "data_type": "STRING",
30
+ "format": "",
31
+ "is_pii_column": "N",
32
+ "enum": [],
33
+ "dimension_group": ""
34
+ },
35
+ {
36
+ "name": "search_date",
37
+ "description": "Date when the search was made",
38
+ "data_type": "DATE",
39
+ "format": "YYYY-MM-DD",
40
+ "is_pii_column": "N",
41
+ "enum": [],
42
+ "dimension_group": "time_dimension_group"
43
+ },
44
+ {
45
+ "name": "search_time",
46
+ "description": "Time when the search was made",
47
+ "data_type": "TIME",
48
+ "format": "HH:MM:SS",
49
+ "is_pii_column": "N",
50
+ "enum": [],
51
+ "dimension_group": "time_dimension_group"
52
+ },
53
+ {
54
+ "name": "search_term",
55
+ "description": "Keywords used in the search",
56
+ "data_type": "STRING",
57
+ "format": "LowerCase",
58
+ "is_pii_column": "N",
59
+ "enum": [],
60
+ "dimension_group": "behavior_dimension_group"
61
+ },
62
+ {
63
+ "name": "device_type",
64
+ "description": "Type of device used for searching",
65
+ "data_type": "STRING",
66
+ "format": "",
67
+ "is_pii_column": "N",
68
+ "enum": [
69
+ "desktop",
70
+ "mobile",
71
+ "tablet"
72
+ ],
73
+ "dimension_group": "device_dimension_group"
74
+ },
75
+ {
76
+ "name": "browser_type",
77
+ "description": "Type of browser used for searching",
78
+ "data_type": "STRING",
79
+ "format": "",
80
+ "is_pii_column": "N",
81
+ "enum": [
82
+ "chrome",
83
+ "firefox",
84
+ "safari",
85
+ "edge",
86
+ "other"
87
+ ],
88
+ "dimension_group": "device_dimension_group"
89
+ },
90
+ {
91
+ "name": "os_type",
92
+ "description": "Operating system of the device",
93
+ "data_type": "STRING",
94
+ "format": "",
95
+ "is_pii_column": "N",
96
+ "enum": [
97
+ "windows",
98
+ "macos",
99
+ "linux",
100
+ "android",
101
+ "ios",
102
+ "other"
103
+ ],
104
+ "dimension_group": "device_dimension_group"
105
+ },
106
+ {
107
+ "name": "search_result_count",
108
+ "description": "Number of results returned",
109
+ "data_type": "INTEGER",
110
+ "format": "",
111
+ "is_pii_column": "N",
112
+ "enum": [],
113
+ "dimension_group": "behavior_dimension_group"
114
+ },
115
+ {
116
+ "name": "click_through_rate",
117
+ "description": "Rate of clicks per search shown",
118
+ "data_type": "FLOAT",
119
+ "format": "",
120
+ "is_pii_column": "N",
121
+ "enum": [],
122
+ "dimension_group": "behavior_dimension_group"
123
+ },
124
+ {
125
+ "name": "session_id",
126
+ "description": "Session identifier for the search",
127
+ "data_type": "STRING",
128
+ "format": "",
129
+ "is_pii_column": "N",
130
+ "enum": [],
131
+ "dimension_group": "session_interaction_dimension_group"
132
+ },
133
+ {
134
+ "name": "ip_address",
135
+ "description": "IP address of the searching device",
136
+ "data_type": "STRING",
137
+ "format": "",
138
+ "is_pii_column": "Y",
139
+ "enum": [],
140
+ "dimension_group": "geographic_dimension_group"
141
+ },
142
+ {
143
+ "name": "country",
144
+ "description": "Country from where the search was made",
145
+ "data_type": "STRING",
146
+ "format": "",
147
+ "is_pii_column": "N",
148
+ "enum": [],
149
+ "dimension_group": "geographic_dimension_group"
150
+ },
151
+ {
152
+ "name": "city",
153
+ "description": "City from where the search was made",
154
+ "data_type": "STRING",
155
+ "format": "",
156
+ "is_pii_column": "N",
157
+ "enum": [],
158
+ "dimension_group": "geographic_dimension_group"
159
+ },
160
+ {
161
+ "name": "zip_code",
162
+ "description": "ZIP code of the search location",
163
+ "data_type": "STRING",
164
+ "format": "",
165
+ "is_pii_column": "N",
166
+ "enum": [],
167
+ "dimension_group": "geographic_dimension_group"
168
+ },
169
+ {
170
+ "name": "time_spent_on_page",
171
+ "description": "Time spent on the search results page",
172
+ "data_type": "FLOAT",
173
+ "format": "",
174
+ "is_pii_column": "N",
175
+ "enum": [],
176
+ "dimension_group": "behavior_dimension_group"
177
+ },
178
+ {
179
+ "name": "pages_visited",
180
+ "description": "Number of pages visited during the session",
181
+ "data_type": "INTEGER",
182
+ "format": "",
183
+ "is_pii_column": "N",
184
+ "enum": [],
185
+ "dimension_group": "behavior_dimension_group"
186
+ },
187
+ {
188
+ "name": "ads_clicked",
189
+ "description": "Number of ads clicked during the session",
190
+ "data_type": "INTEGER",
191
+ "format": "",
192
+ "is_pii_column": "N",
193
+ "enum": [],
194
+ "dimension_group": "behavior_dimension_group"
195
+ },
196
+ {
197
+ "name": "returning_visitor",
198
+ "description": "Whether the visitor is returning",
199
+ "data_type": "BOOLEAN",
200
+ "format": "",
201
+ "is_pii_column": "N",
202
+ "enum": [
203
+ "true",
204
+ "false"
205
+ ],
206
+ "dimension_group": "behavior_dimension_group"
207
+ },
208
+ {
209
+ "name": "purchase_made",
210
+ "description": "Whether a purchase was made post-search",
211
+ "data_type": "BOOLEAN",
212
+ "format": "",
213
+ "is_pii_column": "N",
214
+ "enum": [
215
+ "true",
216
+ "false"
217
+ ],
218
+ "dimension_group": "behavior_dimension_group"
219
+ },
220
+ {
221
+ "name": "product_category_searched",
222
+ "description": "Product category that was searched",
223
+ "data_type": "STRING",
224
+ "format": "",
225
+ "is_pii_column": "N",
226
+ "enum": [],
227
+ "dimension_group": "category_dimension_group"
228
+ },
229
+ {
230
+ "name": "search_origin",
231
+ "description": "Origin of search, e.g., internal, external",
232
+ "data_type": "STRING",
233
+ "format": "",
234
+ "is_pii_column": "N",
235
+ "enum": [
236
+ "internal",
237
+ "external"
238
+ ],
239
+ "dimension_group": "referral_dimension_group"
240
+ },
241
+ {
242
+ "name": "referral_source",
243
+ "description": "Referral source if any",
244
+ "data_type": "STRING",
245
+ "format": "",
246
+ "is_pii_column": "N",
247
+ "enum": [],
248
+ "dimension_group": "referral_dimension_group"
249
+ }
250
+ ]
251
+ }