/
pages.schema.json
63 lines (63 loc) · 1.33 KB
/
pages.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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Pages Config",
"description": "A configuration that describes the page-tracking for analytics.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"state": {
"type": "string"
},
"customDimensions": {
"type": "array",
"items": {
"type": "string"
}
},
"defaultDataLayerValues": {
"type": "object"
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"category": {
"type": "string"
},
"label": {
"type": "string"
},
"labelDataLayerVar": {
"type": "string"
},
"customDimensions": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"name",
"category",
"label"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"state"
],
"additionalProperties": false
}
}