UserList.schema.json 4.94 KB
Newer Older
Elian Kraja's avatar
Elian Kraja committed
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
169
{
	"description": "A type containing list of users.",
	"type": "object",
	"required": [
		"resourceURL"
	],
	"properties": {
		"user": {
			"description": "Collection of the zone information list.",
			"type": "array",
			"items": {
				"properties": {
					"accessPointId": {
						"description": "The identity of the access point the user is currently on, see note 1.",
						"type": "string",
						"x-etsi-mec-cardinality": "1",
						"x-etsi-mec-origin-type": "String"
					},
					"address": {
						"description": "Address of user (e.g. 'sip' URI, 'tel' URI, 'acr' URI) currently on the access point, see note 1.",
						"format": "uri",
						"type": "string",
						"x-etsi-mec-cardinality": "1",
						"x-etsi-mec-origin-type": "AnyURI"
					},
					"ancillaryInfo": {
						"description": "Reserved for future use.",
						"type": "string",
						"x-etsi-mec-cardinality": "0..1",
						"x-etsi-mec-origin-type": "String"
					},
					"contextLocationInfo": {
						"description": "Contextual information of a user location (e.g. aisle, floor, room number, etc.).",
						"type": "string",
						"x-etsi-mec-cardinality": "0..1",
						"x-etsi-mec-origin-type": "String"
					},
					"locationInfo": {
						"properties": {
							"accuracy": {
								"type": "number"
							},
							"accuracyAltitude": {
								"type": "number"
							},
							"accuracySemiMinor": {
								"type": "number"
							},
							"altitude": {
								"description": "Location altitude relative to the WGS84 ellipsoid surface.",
								"type": "number",
								"x-etsi-mec-cardinality": "0..1",
								"x-etsi-mec-origin-type": "Float"
							},
							"confidence": {
								"type": "number"
							},
							"includedAngle": {
								"type": "number"
							},
							"innerRadius": {
								"type": "number"
							},
							"latitude": {
								"description": "Location latitude, expressed in the range -90° to +90°. Cardinality greater than one only if \"shape\" equals 7.",
								"items": {
									"type": "number"
								},
								"type": "array",
								"x-etsi-mec-cardinality": "1..N",
								"x-etsi-mec-origin-type": "Float"
							},
							"longitude": {
								"description": "Location longitude, expressed in the range -180° to +180°. Cardinality greater than one only if \"shape\" equals 7.",
								"items": {
									"type": "number"
								},
								"type": "array",
								"x-etsi-mec-cardinality": "1..N",
								"x-etsi-mec-origin-type": "Float"
							},
							"offsetAngle": {
								"type": "number"
							},
							"orientationMajorAxis": {
								"type": "number"
							},
							"shape": {
								"description": "Shape information, as detailed in [14], associated with the reported location coordinate:\n1 = Ellipsoid_Arc\n2 = ellipsoid_Point\n3 = ellipsoid_Point_Altitude\n4 = ellipsoid_Point_Altitude_Uncert_Ellipsoid\n5 = ellipsoid_Point_Uncert_Circle\n6 = ellipsoid_Point_Uncert_Ellipse\n7 = polygon",
								"enum": [
									"ELLIPSOID_ARC",
									"ELLIPSOID_POINT",
									"ELLIPSOID_POINT_ALTITUDE",
									"ELLIPSOID_POINT_ALTITUDE_UNCERT_ELLIPSOID",
									"ELLIPSOID_POINT_UNCERT_CIRCLE",
									"ELLIPSOID_POINT_UNCERT_ELLIPSE",
									"POLYGON"
								],
								"type": "string",
								"x-etsi-mec-cardinality": "1",
								"x-etsi-mec-origin-type": "Enum (inlined)"
							},
							"uncertaintyRadius": {
								"type": "number"
							},
							"velocity": {
								"description": "Structure with attributes relating to the target entity’s velocity, as defined in [14].",
								"type": "object",
								"x-etsi-mec-cardinality": "0..1",
								"x-etsi-mec-origin-type": "Structure (inlined)"
							}
						},
						"required": [
							"latitude",
							"longitude",
							"shape"
						],
						"type": "object",
						"x-etsi-ref": "6.5.3"
					},
					"resourceURL": {
						"description": "Self-referring URL, see note 1.",
						"type": "string",
						"x-etsi-mec-cardinality": "1",
						"x-etsi-mec-origin-type": "String"
					},
					"timeStamp": {
						"properties": {
							"nanoSeconds": {
								"type": "number"
							},
							"seconds": {
								"type": "number"
							}
						},
						"required": [
							"seconds",
							"nanoSeconds"
						],
						"type": "object",
						"x-etsi-ref": "6.5.2"
					},
					"zoneId": {
						"description": "The identity of the zone the user is currently within, see note 1.",
						"type": "string",
						"x-etsi-mec-cardinality": "1",
						"x-etsi-mec-origin-type": "String"
					}
				},
				"required": [
					"address",
					"accessPointId",
					"zoneId",
					"resourceURL",
					"timeStamp"
				],
				"type": "object",
				"x-etsi-notes": ":\tAs specified in [5], clause 5.2.2.7.\nNOTE 2: \tAs specified in [5], clause 5.2.2.5.",
				"x-etsi-ref": "6.2.2"
			}
		},
		"resourceURL": {
			"description": "Self referring URL.",
			"type": "string",
			"format": "uri",
			"example": "http://example.com/exampleAPI/location/v1/subscriptions/userTracking/subscription123"
		}
	}
}