-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebreferrer.schema.json
65 lines (65 loc) · 2.45 KB
/
webreferrer.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
{
"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/context/webreferrer",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Web Referrer",
"type": "object",
"meta:extensible": true,
"description": "",
"definitions": {
"webreferrer": {
"properties": {
"xdm:URL": {
"title": "URL",
"type": "string",
"description": "The referrer URL."
},
"xdm:type": {
"title": "Type",
"type": "string",
"description": "The referrer type.",
"enum": [
"internal",
"external",
"search_engine",
"typed_bookmarked",
"email",
"social",
"unknown",
"usenet"
],
"meta:enum": {
"internal": "Referral originated from the current domain or site.",
"external":
"Referral originated from a different domain or site that was not a search or social type.",
"search_engine":
"Search engine referrers are identified when visitors use a search engine to access the site.",
"typed_bookmarked":
"Typed/bookmarked referrers are identified when visitors type your site’s URL directly into their browser, or if they access the site by selecting bookmarks.",
"email":
"A referring domain is considered as an email referring domain type when visitors click an emailed message link containing the protocol imap:// or mail:// and arrive at the site.",
"social": "The referrer is identified as a social network.",
"unknown":
"The referrer is unidentifiable (unknown). `No JavaScript` could be the cause.",
"news":
"The URL of a referrer started with news://. As such, the referrer link was posted on a Usenet newsgroup rather than a web page."
}
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/webreferrer"
}
],
"meta:status": "stabilizing"
}