-
Notifications
You must be signed in to change notification settings - Fork 333
/
Copy pathpageviews.schema.json
55 lines (55 loc) · 2 KB
/
pageviews.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
{
"meta:license": [
"Copyright 2018 Adobe Systems Incorporated. All rights reserved.",
"This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license",
"you may not use this file except in compliance with the License. You may obtain a copy",
"of the License at https://creativecommons.org/licenses/by/4.0/"
],
"$id": "https://ns.adobe.com/xdm/data/metrics/web/pageviews",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Page Views",
"type": "object",
"meta:extensible": true,
"meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"],
"description": "The web metric `pageViews` describes the number of impressions of a web page.",
"definitions": {
"metricdefinition": {
"properties": {
"@id": {
"type": "string",
"const": "xdm:pageViews",
"description": "The unique identifier of this metric.",
"meta:descriptionId": "pageviews##@id##description##3271"
},
"schema:name": {
"type": "string",
"const": "web metric: pageViews",
"description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique.",
"meta:descriptionId": "pageviews##schema:name##description##70061"
},
"xdm:measurement": {
"type": "string",
"description": "How to take measures of this metric.",
"const": "count",
"meta:descriptionId": "pageviews##xdm:measurement##description##88381"
},
"xdm:unit": {
"const": ""
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/metricdefinition"
},
{
"$ref": "https://ns.adobe.com/xdm/data/metricdefinition"
}
],
"required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"],
"meta:status": "stable",
"meta:createdDate": "2020-08-10",
"meta:titleId": "pageviews##title##73631",
"meta:descriptionId": "pageviews##description##35001"
}