-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.json
112 lines (112 loc) · 3.8 KB
/
schema.json
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"$schema": "http://json-schema.org/draft-01/schema",
"type": "object",
"properties": {
"event_id": {
"type": "string",
"description": "The unique identifier of event."
},
"event_type": {
"type": "string",
"description": "The type or category of the event."
},
"event_name": {
"type": "string",
"description": "The name of the event."
},
"timestamp": {
"type": "integer",
"description": "The date and time when the event occurred."
},
"user_id": {
"type": "string",
"description": "The identifier for the user who triggered the event."
},
"session_id": {
"type": "string",
"description": "The identifier for the user's session."
},
"page_name": {
"type": "string",
"description": "The name of the page where the event occurred."
},
"page_url": {
"type": "string",
"description": "The URL of the page where the event occurred."
},
"event_properties": {
"type": "object",
"description": "Additional event-specific properties as key-value pairs."
},
"app_name": {
"type": "string",
"description": "The name of the app where the event occurred."
},
"app_version": {
"type": "string",
"description": "The version of the app where the event occurred."
},
"event_outcome": {
"type": "string",
"description": "The outcome or result of the event, if applicable."
},
"referrer": {
"type": "string",
"description": "The source URL or referrer, if the event resulted from a referral."
},
"search_filter_interactions": {
"type": "object",
"properties": {
"search_queries": {
"type": "array",
"items": {
"type": "string",
"description": "Search queries entered by users within the catalog."
},
"description": "List of search queries entered by users within the catalog."
},
"filter_selections": {
"type": "object"
}
}
},
"performance_metrics": {
"type": "object",
"properties": {
"page_load_time_ms": {
"type": "integer",
"description": "Page load time in milliseconds."
},
"resource_load_times_ms": {
"type": "object",
"properties": {
"image_load_time_ms": {
"type": "integer",
"description": "Time taken to load images in milliseconds."
},
"metadata_load_time_ms": {
"type": "integer",
"description": "Time taken to load metadata in milliseconds."
}
},
"description": "Loading times for various page resources."
}
},
"description": "Performance metrics related to page loading."
},
"user_agent": {
"type": "string",
"description": "The user agent string, which provides additional device and browser information."
}
},
"required": [
"event_id",
"event_name",
"event_type",
"timestamp",
"user_id",
"app_name",
"app_version",
"user_agent"
]
}