Newer
Older
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
module LocationAPI_TypesAndValues {
// LibCommon
import from LibCommon_BasicTypesAndValues all;
type record TimeStamp {
UInt32 seconds,
UInt32 nanoSeconds
}
/**
* @desc A type containing user information.
*/
type record UserInfo {
universal charstring address_,
universal charstring accessPointId,
universal charstring zoneId,
universal charstring resourceURL,
TimeStamp timeStamp,
LocationInfo locationInfo optional,
universal charstring contextLocationInfo optional,
universal charstring ancillaryInfo optional
} with {
variant (address_) "name as 'address'";
} // End of type UserInfo
/**
* @desc A type containing location information with latitude, longitude and altitude, in addition the accuracy of the information are provided.
*/
type record LocationInfo {
float latitude,
float longitude,
float altitude optional,
integer accuracy
} // End of type LocationInfo
/**
* @desc A type containing zone information.
*/
type record ZoneInfo {
universal charstring zoneId,
UInt32 numberOfAccessPoints,
UInt32 numberOfUnservicableAccessPoints,
UInt32 numberOfUsers,
universal charstring resourceURL
}
} with {
encode "JSON"
}