-
Notifications
You must be signed in to change notification settings - Fork 311
/
placecontext.schema.json
120 lines (120 loc) · 5.85 KB
/
placecontext.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
113
114
115
116
117
118
119
120
{
"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/placecontext",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Place context",
"type": "object",
"meta:extensible": true,
"description": "",
"definitions": {
"placecontext": {
"properties": {
"xdm:localTime": {
"title": "Local time",
"type": "string",
"format": "date-time",
"description": "The local time using RFC3339 with a stated time zone offset such as \"2001-07-04T12:08:56-07:00\". An example formatting pattern is \"yyyy-MM-dd'T'HH:mm:ssXXX\".",
"meta:titleId": "placecontext##xdm:localTime##title##7021",
"meta:descriptionId": "placecontext##xdm:localTime##description##75591"
},
"xdm:IPLocalTime": {
"title": "Local time based on IP geolocation",
"type": "string",
"format": "date-time",
"description": "The local time using RFC3339 with a stated time zone offset such as \"2001-07-04T12:08:56-07:00\". An example formatting pattern is \"yyyy-MM-dd'T'HH:mm:ssXXX\".",
"meta:titleId": "placecontext##xdm:IPLocalTime##title##7021",
"meta:descriptionId": "placecontext##xdm:IPLocalTime##description##75591"
},
"xdm:ianaTimezone": {
"title": "Iana Timezone",
"type": "string",
"description": "Timezone of the device represented as a standard timezone string. https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.",
"meta:titleId": "placecontext##xdm:ianaTimezone##title##49031",
"meta:descriptionId": "placecontext##xdm:ianaTimezone##description##25561"
},
"xdm:localTimezoneOffset": {
"title": "Local time zone offset",
"type": "integer",
"description": "The current, local time zone offset in minutes from UTC for the localTime in this object. This will include the current DST offset if applicable.",
"meta:titleId": "placecontext##xdm:localTimezoneOffset##title##81451",
"meta:descriptionId": "placecontext##xdm:localTimezoneOffset##description##18031"
},
"xdm:IPLocalTimezoneOffset": {
"title": "Local time zone offset based on IP geolocation",
"type": "integer",
"description": "The current, local time zone offset in minutes from UTC for the localTime in this object. This will include the current DST offset if applicable and it's calculated based on IP geolocation.",
"meta:titleId": "placecontext##xdm:IPLocalTimezoneOffset##title##81451",
"meta:descriptionId": "placecontext##xdm:IPLocalTimezoneOffset##description##18031"
},
"xdm:geo": {
"title": "Geo",
"$ref": "https://ns.adobe.com/xdm/common/geo",
"description": "The geographic location where the experience was delivered.",
"meta:titleId": "placecontext##xdm:geo##title##97261",
"meta:descriptionId": "placecontext##xdm:geo##description##56411"
},
"xdm:POIinteraction": {
"title": "POI interaction",
"description": "The point of interest (POI) interaction details.",
"type": "object",
"properties": {
"xdm:POIDetail": {
"title": "POI detail",
"meta:status": "deprecated",
"description": "Detail of the POI that cause the event.",
"$ref": "https://ns.adobe.com/xdm/context/poi-detail",
"meta:titleId": "placecontext##xdm:POIDetail##title##10961",
"meta:descriptionId": "placecontext##xdm:POIDetail##description##29601"
},
"xdm:poiDetail": {
"title": "POI detail",
"description": "Detail of the POI that cause the event.",
"$ref": "https://ns.adobe.com/xdm/context/poi-detail",
"meta:titleId": "placecontext##xdm:poiDetail##title##42911",
"meta:descriptionId": "placecontext##xdm:poiDetail##description##40461"
},
"xdm:poiEntries": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "The number of times a person has entered the point of interest (POI).",
"meta:descriptionId": "placecontext##xdm:poiEntries##description##74191"
},
"xdm:poiExits": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "The number of times a person has exited the point of interest (POI).",
"meta:descriptionId": "placecontext##xdm:poiExits##description##50711"
}
},
"meta:titleId": "placecontext##xdm:POIinteraction##title##39801",
"meta:descriptionId": "placecontext##xdm:POIinteraction##description##80061"
},
"xdm:activePOIs": {
"title": "POI detail",
"description": "Details of the points of interest (POIs) that cause the event.",
"type": "array",
"items": {
"$ref": "https://ns.adobe.com/xdm/context/poi-detail"
},
"meta:titleId": "placecontext##xdm:activePOIs##title##42411",
"meta:descriptionId": "placecontext##xdm:activePOIs##description##13571"
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/placecontext"
}
],
"meta:status": "stable",
"meta:createdDate": "2020-08-10",
"meta:titleId": "placecontext##title##25391",
"meta:descriptionId": "placecontext##description##93771"
}