forked from adobe/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
beacon-interaction-details.schema.json
64 lines (64 loc) · 2.32 KB
/
beacon-interaction-details.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
{
"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/beacon-interaction-details",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Beacon",
"type": "object",
"meta:extensible": true,
"description":
"Beacon, a wireless device that communicates identity information to mobile applications as mobile devices come within range.",
"definitions": {
"beacon-interaction-detail": {
"properties": {
"xdm:proximityUUID": {
"title": "Proximity UUID",
"type": "string",
"description": "The UUID configured into a beacon (or multiple beacons if multiple operate in an area) to be transmitted to mobile devices in range to identify an organizations beacons."
},
"xdm:beaconMajor": {
"title": "Beacon Major",
"type": "number",
"description":
"The first sub organization identifier of an area multiple beacon operate in."
},
"xdm:beaconMinor": {
"title": "Beacon Minor",
"type": "number",
"description":
"The second sub organization identifier of an area multiple beacon operate in. The smallest area a beacon can refine location to."
},
"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 centimeters",
"near": "Within a couple of meters",
"far": "Greater than 10 meters away",
"unknown": "Not able to ascertain distance, signal likely very weak."
}
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/beacon-interaction-detail"
}
],
"meta:status": "experimental"
}