forked from hbacila/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
placecontext.schema.json
61 lines (61 loc) · 2.23 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
{
"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\"."
},
"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."
},
"xdm:geo": {
"title": "Geo",
"$ref": "https://ns.adobe.com/xdm/common/geo",
"description": "The geographic location where the experience was delivered."
},
"xdm:POIinteraction": {
"title": "POI interaction",
"description": "The point of interest (POI) interaction details.",
"meta:status": "experimental",
"$ref": "https://ns.adobe.com/xdm/context/poi-interaction"
},
"xdm:activePOIs" : {
"title": "POI detail",
"description": "Details of the points of interest (POIs) that cause the event.",
"meta:status": "experimental",
"type": "array",
"items": {
"$ref": "https://ns.adobe.com/xdm/context/poi-detail"
}
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/placecontext"
}
],
"meta:status": "experimental"
}