Newer
Older
Walter Featherstone
committed
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
example: 'rel="ZonalTrafficSubscription" href="http://example.com/exampleAPI/location/v1/subscriptions/zonalTraffic/sub123"/'
ZonalTrafficSubscription:
description: A type containing zonal traffic subscription
type: object
required:
- callbackReference
- zoneId
properties:
clientCorrelator:
$ref: '#/definitions/ClientCorrelator'
callbackReference:
$ref: '#/definitions/CallbackReference'
zoneId:
$ref: '#/definitions/ZoneId'
interestRealm:
description: 'Interest realms of access points within a zone (e.g. geographical area, a type of industry etc.).'
type: array
items:
$ref: '#/definitions/InterestRealm'
userEventCriteria:
description: 'List of user event values to generate notifications for (these apply to zone identifier or all interest realms within zone identifier specified). If this element is missing, a notification is requested to be generated for any change in user event.'
type: array
items:
$ref: '#/definitions/UserEventType'
duration:
$ref: '#/definitions/Duration'
resourceURL:
$ref: '#/definitions/ResourceURL'
ZoneId:
description: Identifier of zone
type: string
example: zone01
ZoneInfo:
description: A type containing zone information.
type: object
required:
- zoneId
- numberOfAccessPoints
- numberOfUnservicableAccessPoints
- numberOfUsers
- resourceURL
properties:
zoneId:
$ref: '#/definitions/ZoneId'
numberOfAccessPoints:
$ref: '#/definitions/NumberOfAccessPoints'
numberOfUnservicableAccessPoints:
$ref: '#/definitions/NumberOfUnserviceableAccessPoints'
numberOfUsers:
$ref: '#/definitions/NumberOfUsers'
resourceURL:
$ref: '#/definitions/ResourceURL'
ZoneList:
description: Collection of the zone information list.
type: object
required:
- resourceURL
properties:
zone:
description: Collection of the zone information list.
type: array
items:
$ref: '#/definitions/ZoneInfo'
resourceURL:
$ref: '#/definitions/ResourceURL'
ZoneStatusNotification:
description: A type containing zone status notification.
type: object
required:
- zoneId
- timestamp
properties:
callbackData:
$ref: '#/definitions/CallbackData'
zoneId:
$ref: '#/definitions/ZoneId'
accessPointId:
$ref: '#/definitions/AccessPointId'
numberOfUsersInZone:
$ref: '#/definitions/NumberOfUsersInZone'
numberOfUsersInAP:
$ref: '#/definitions/NumberOfUsersInAP'
operationStatus:
$ref: '#/definitions/OperationStatus'
timestamp:
$ref: '#/definitions/Timestamp'
link:
description: Link to other resources that are in relationship with this notification. The server SHOULD include a link to the related subscription. No other links are required or suggested by this specification.
type: array
items:
$ref: '#/definitions/Link'
example: 'rel="ZonalStatusSubscription" href="http://example.com/exampleAPI/location/v1/subscriptions/zonalStatus/sub123"'
ZoneStatusSubscription:
description: A type containing zone status subscription.
type: object
required:
- callbackReference
- zoneId
properties:
clientCorrelator:
$ref: '#/definitions/ClientCorrelator'
resourceURL:
$ref: '#/definitions/ResourceURL'
callbackReference:
$ref: '#/definitions/CallbackReference'
zoneId:
$ref: '#/definitions/ZoneId'
numberOfUsersZoneThreshold:
$ref: '#/definitions/NumberOfUsersZoneThreshold'
numberOfUsersAPThreshold:
$ref: '#/definitions/NumberOfUsersAPThreshold'
operationStatus:
description: List of operation status values to generate notifications for (these apply to all access points within a zone).
type: array
items:
$ref: '#/definitions/OperationStatus'