forked from hbacila/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
browserdetails.schema.json
109 lines (109 loc) · 3.73 KB
/
browserdetails.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
{
"meta:license": [
"Copyright 2017 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/context/browserdetails",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Browser details",
"type": "object",
"meta:extensible": true,
"description": "Detail information related to the browser.",
"definitions": {
"browserdetails": {
"properties": {
"xdm:name": {
"title": "Name",
"type": "string",
"description": "The application or browser name."
},
"xdm:vendor": {
"title": "Vendor",
"type": "string",
"description": "The application or browser vendor."
},
"xdm:version": {
"title": "Version",
"type": "string",
"description": "The application or browser version."
},
"xdm:userAgent": {
"title": "User agent",
"type": "string",
"description": "The HTTP user-agent string from the client request."
},
"xdm:acceptLanguage": {
"title": "Accept language",
"type": "string",
"description": "An IETF language tag (RFC 5646)."
},
"xdm:cookiesEnabled": {
"title": "Allows cookies",
"type": "boolean",
"description":
"The current user agent settings allow for the writing of cookies.'"
},
"xdm:javaScriptEnabled": {
"title": "JavaScript enabled",
"type": "boolean",
"description":
"If JavaScript was enabled in the device this observation was made from."
},
"xdm:javaScriptVersion": {
"title": "JavaScript version",
"type": "string",
"description":
"The version of JavaScript supported during the observation."
},
"xdm:javaEnabled": {
"title": "Java enabled",
"type": "boolean",
"description":
"If Java was enabled in the device this observation was made from."
},
"xdm:javaVersion": {
"title": "Java version",
"type": "string",
"description": "The version of Java supported during the observation."
},
"xdm:quicktimeVersion": {
"title": "Quicktime version",
"type": "string",
"description":
"The version of Apple Quicktime supported during the observation."
},
"xdm:thirdPartyCookiesEnabled": {
"title": "Allows third-party cookies",
"type": "boolean",
"description":
"If third-party cookies were enabled when this observation was made."
},
"xdm:viewportHeight": {
"title": "Viewport height",
"type": "integer",
"description":
"The vertical size in pixels of the window the experience was displayed inside. For a web view event, the browser viewport height.",
"minimum": 0
},
"xdm:viewportWidth": {
"title": "Viewport width",
"type": "integer",
"description":
"The horizontal size in pixels of the window the experience was displayed inside. For a web view event, the browser viewport width.",
"minimum": 0
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/browserdetails"
}
],
"meta:status": "stabilizing"
}