-
Notifications
You must be signed in to change notification settings - Fork 311
/
poi-detail.schema.json
168 lines (168 loc) · 7.95 KB
/
poi-detail.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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
"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/poi-detail",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Point of interest details",
"type": "object",
"meta:extensible": true,
"description": "A point or place of interest (POI) Details. Used to capture the technical and metadata information for a POI.",
"definitions": {
"geo-interaction-detail": {
"properties": {
"xdm:POIID": {
"title": "POI identity",
"type": "string",
"meta:status": "deprecated",
"description": "The unique identifier of the POI.",
"meta:titleId": "poi-detail##xdm:POIID##title##10951",
"meta:descriptionId": "poi-detail##xdm:POIID##description##34921"
},
"xdm:poiID": {
"title": "POI Identity",
"type": "string",
"description": "The unique identifier of the POI.",
"meta:titleId": "poi-detail##xdm:poiID##title##30661",
"meta:descriptionId": "poi-detail##xdm:poiID##description##54851"
},
"xdm:name": {
"title": "POI name",
"type": "string",
"description": "The name given to the POI.",
"meta:titleId": "poi-detail##xdm:name##title##1191",
"meta:descriptionId": "poi-detail##xdm:name##description##29031"
},
"xdm:category": {
"title": "POI category",
"type": "string",
"description": "General category assigned for organizing the POIs by the administrator of POI definitions.",
"meta:titleId": "poi-detail##xdm:category##title##45541",
"meta:descriptionId": "poi-detail##xdm:category##description##25311"
},
"xdm:type": {
"title": "POI type",
"type": "string",
"description": "The general type of the POI using a typing schema selected by the administrator of the POI definitions.",
"meta:titleId": "poi-detail##xdm:type##title##11891",
"meta:descriptionId": "poi-detail##xdm:type##description##56601"
},
"xdm:distanceToPOICenter": {
"title": "Distance to POI center",
"type": "number",
"description": "Estimated distance from the POI center in meters.",
"meta:titleId": "poi-detail##xdm:distanceToPOICenter##title##45821",
"meta:descriptionId": "poi-detail##xdm:distanceToPOICenter##description##41151"
},
"xdm:locatingType": {
"title": "Locating type",
"type": "string",
"description": "Mechanism used to determine location.",
"meta:enum": {
"beacon": "Hardware beacon",
"gps": "Device GPS",
"ip": "IP to geo lookup",
"ip+wifi": "IP with wifi lookup",
"wifi-triangulation": "Wifi triangulation"
},
"meta:titleId": "poi-detail##xdm:locatingType##title##95171",
"meta:descriptionId": "poi-detail##xdm:locatingType##description##57851"
},
"xdm:beaconInteractionDetails": {
"title": "Beacon interaction details",
"type": "object",
"description": "Beacon details active for the POI interaction.",
"properties": {
"xdm:proximityUUID": {
"title": "Proximity UUID",
"type": "string",
"description": "A proximity UUID (Universally Unique IDentifier) is a special type of identifier used to distinguish beacons in your network from all other beacons in networks outside your control. The proximity UUID is configured into a beacon, to be transmitted to mobile devices in range to identify an organizations beacons.",
"meta:titleId": "poi-detail##xdm:proximityUUID##title##51951",
"meta:descriptionId": "poi-detail##xdm:proximityUUID##description##19821"
},
"xdm:beaconMajor": {
"title": "Beacon major",
"type": "number",
"description": "Major values identify and distinguish a group and unsigned integer values between 1 and 65,535.",
"meta:titleId": "poi-detail##xdm:beaconMajor##title##86491",
"meta:descriptionId": "poi-detail##xdm:beaconMajor##description##11061"
},
"xdm:beaconMinor": {
"title": "Beacon Minor",
"type": "number",
"description": "Minor values identify and distinguish an individual and unsigned integer values between 1 and 65,535.",
"meta:titleId": "poi-detail##xdm:beaconMinor##title##97671",
"meta:descriptionId": "poi-detail##xdm:beaconMinor##description##37501"
},
"xdm:proximity": {
"title": "Proximity to beacon",
"type": "string",
"description": "Estimated distance from the beacon.",
"enum": ["immediate", "near", "far", "unknown"],
"meta:enum": {
"immediate": "Within a few centimeter.",
"near": "Within a couple of meters.",
"far": "Greater than 10 meters away.",
"unknown": "Not able to ascertain distance, signal likely very weak."
},
"meta:titleId": "poi-detail##xdm:proximity##title##6741",
"meta:descriptionId": "poi-detail##xdm:proximity##description##34491"
}
},
"meta:titleId": "poi-detail##xdm:beaconInteractionDetails##title##27181",
"meta:descriptionId": "poi-detail##xdm:beaconInteractionDetails##description##15671"
},
"xdm:geoInteractionDetails": {
"title": "Geo interaction details",
"type": "object",
"description": "Geo details active for the POI interaction.",
"properties": {
"xdm:distanceToCenter": {
"title": "Distance to center",
"type": "number",
"description": "Distance to center of geo in, case of a geo circle, measured in meters.",
"meta:titleId": "poi-detail##xdm:distanceToCenter##title##11411",
"meta:descriptionId": "poi-detail##xdm:distanceToCenter##description##84961"
},
"xdm:deviceGeoAccuracy": {
"title": "Geo device accuracy",
"type": "number",
"description": "The accuracy of the geo measuring device or mechanism, measured in meters.",
"meta:titleId": "poi-detail##xdm:deviceGeoAccuracy##title##9771",
"meta:descriptionId": "poi-detail##xdm:deviceGeoAccuracy##description##60121"
},
"xdm:geoShape": {
"title": "Geo shape",
"$ref": "http://schema.org/GeoShape",
"description": "Geo shape of the geo being interacted with.",
"meta:titleId": "poi-detail##xdm:geoShape##title##47181",
"meta:descriptionId": "poi-detail##xdm:geoShape##description##39951"
}
},
"meta:titleId": "poi-detail##xdm:geoInteractionDetails##title##47521",
"meta:descriptionId": "poi-detail##xdm:geoInteractionDetails##description##39951"
},
"xdm:metadata": {
"title": "POI metadata",
"description": "metadata assigned to the POI by the administrator of the POI definitions.",
"$ref": "https://ns.adobe.com/xdm/datatypes/keyedlist"
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/geo-interaction-detail"
}
],
"meta:status": "stable",
"meta:createdDate": "2020-08-10",
"meta:titleId": "poi-detail##title##81551",
"meta:descriptionId": "poi-detail##description##84901"
}