C_G_1 / customer_activity_0.json
rAMNARAY's picture
Upload 7 files
dbc126d verified
raw
history blame
5.84 kB
{
"name": "customer_activity_0",
"description": "Tracks customer interactions and technology usage",
"primary_key_column": [
"customer_id",
"session_id"
],
"clustering_column": [
"device_type",
"session_start_time"
],
"partitioning_column": [
"session_date"
],
"type": "Type 1 Fact Table",
"columns": [
{
"name": "customer_id",
"description": "Unique identifier for a customer",
"data_type": "STRING",
"format": "",
"is_pii_column": "Y",
"enum": [],
"dimension_group": "customer_dimension_group"
},
{
"name": "session_id",
"description": "Unique identifier for a session",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "session_interaction_dimension_group"
},
{
"name": "session_start_time",
"description": "Start time of the session",
"data_type": "TIMESTAMP",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "session_interaction_dimension_group"
},
{
"name": "session_end_time",
"description": "End time of the session",
"data_type": "TIMESTAMP",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "session_interaction_dimension_group"
},
{
"name": "session_date",
"description": "Date of the session",
"data_type": "DATE",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "session_interaction_dimension_group"
},
{
"name": "device_type",
"description": "Type of device used",
"data_type": "STRING",
"format": "LowerCase",
"is_pii_column": "N",
"enum": [
"desktop",
"mobile",
"tablet"
],
"dimension_group": "device_dimension_group"
},
{
"name": "browser_type",
"description": "Type of browser used",
"data_type": "STRING",
"format": "LowerCase",
"is_pii_column": "N",
"enum": [
"chrome",
"firefox",
"safari",
"edge",
"other"
],
"dimension_group": "device_dimension_group"
},
{
"name": "os_type",
"description": "Operating system of the device",
"data_type": "STRING",
"format": "LowerCase",
"is_pii_column": "N",
"enum": [
"windows",
"macos",
"linux",
"android",
"ios",
"other"
],
"dimension_group": "device_dimension_group"
},
{
"name": "page_views",
"description": "Number of pages viewed in session",
"data_type": "INTEGER",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "clicks",
"description": "Number of clicks during the session",
"data_type": "INTEGER",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "actions",
"description": "Number of actions taken",
"data_type": "INTEGER",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "time_spent",
"description": "Total time spent in seconds",
"data_type": "INTEGER",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "session_interaction_dimension_group"
},
{
"name": "purchase_made",
"description": "Whether a purchase was made",
"data_type": "BOOLEAN",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "cart_value",
"description": "Total value of the shopping cart",
"data_type": "FLOAT",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "product_views",
"description": "Number of product views",
"data_type": "INTEGER",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "search_queries",
"description": "Number of search queries made",
"data_type": "INTEGER",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "behavior_dimension_group"
},
{
"name": "login_status",
"description": "Whether the user was logged in",
"data_type": "BOOLEAN",
"format": "",
"is_pii_column": "N",
"enum": [],
"dimension_group": "session_interaction_dimension_group"
},
{
"name": "landing_page",
"description": "First page visited during the session",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": []
},
{
"name": "exit_page",
"description": "Last page visited during the session",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": []
},
{
"name": "bounce_status",
"description": "Whether the session was a bounce (single page visit)",
"data_type": "BOOLEAN",
"format": "",
"is_pii_column": "N",
"enum": []
},
{
"name": "conversion_event",
"description": "Event that indicates a conversion was made",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": []
},
{
"name": "referral_source",
"description": "Source from which the visitor was referred",
"data_type": "STRING",
"format": "",
"is_pii_column": "N",
"enum": []
}
]
}