-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpoi-detail.schema.json
76 lines (76 loc) · 2.79 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
{
"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 techncial and metadata information for a POI.",
"definitions": {
"geo-interaction-detail": {
"properties": {
"xdm:POIID": {
"title": "POI Identity",
"type": "string",
"description": "The unique identifier of the POI."
},
"xdm:name": {
"title": "POI Name",
"type": "string",
"description": "The name given to the POI."
},
"xdm:category": {
"title": "POI Category",
"type": "string",
"description": "General category assigned for organizing the POIs by the administrator of POI definitions."
},
"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."
},
"xdm:distanceToPOICenter": {
"title": "Distance to POI Center",
"type": "number",
"description": "Estimated distance from the POI Center in meters."
},
"xdm:locatingType": {
"title": "Locating Type",
"type": "string",
"description": "Mechanism used to ascertain location.",
"meta:enum": {
"beacon": "Hardware beacon",
"gps": "Device GPS",
"ip": "IP to geo lookup",
"ip+wifi": "IP with Wifi lookup",
"wifi-triangulation": "Wifi triangulation"
}
},
"xdm:beaconInteractionDetails": {
"title": "Beacon Interaction Details",
"$ref": "https://ns.adobe.com/xdm/context/beacon-interaction-details",
"description": "Beacon details active for the POI interaction."
},
"xdm:geoInteractionDetails": {
"title": "Geo Interaction Details",
"$ref": "https://ns.adobe.com/xdm/context/geo-interaction-details",
"description": "Geo details active for the POI interaction."
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/geo-interaction-detail"
}
],
"meta:status": "experimental"
}