Skip to content

Commit

Permalink
maps
Browse files Browse the repository at this point in the history
  • Loading branch information
l0lawrence committed Sep 26, 2024
1 parent 8511234 commit b5bf602
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,34 +16,34 @@ model MapsGeofenceResultEventData extends MapsGeofenceEventProperties {}
/** Schema of the Data property of an EventGridEvent for a Geofence event (GeofenceEntered, GeofenceExited, GeofenceResult). */
model MapsGeofenceEventProperties {
/** Lists of the geometry ID of the geofence which is expired relative to the user time in the request. */
expiredGeofenceGeometryId?: string[];
expiredGeofenceGeometryId: string[];

/** Lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around the fence. */
geometries: MapsGeofenceGeometry[];

/** Lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request. */
invalidPeriodGeofenceGeometryId?: string[];
invalidPeriodGeofenceGeometryId: string[];

/** True if at least one event is published to the Azure Maps event subscriber, false if no event is published to the Azure Maps event subscriber. */
isEventPublished?: boolean;
isEventPublished: boolean;
}

/** The geofence geometry. */
model MapsGeofenceGeometry {
/** ID of the device. */
deviceId?: string;
deviceId: string;

/** Distance from the coordinate to the closest border of the geofence. Positive means the coordinate is outside of the geofence. If the coordinate is outside of the geofence, but more than the value of searchBuffer away from the closest geofence border, then the value is 999. Negative means the coordinate is inside of the geofence. If the coordinate is inside the polygon, but more than the value of searchBuffer away from the closest geofencing border,then the value is -999. A value of 999 means that there is great confidence the coordinate is well outside the geofence. A value of -999 means that there is great confidence the coordinate is well within the geofence. */
distance?: float32;
distance: float32;

/** The unique ID for the geofence geometry. */
geometryId?: string;
geometryId: string;

/** Latitude of the nearest point of the geometry. */
nearestLat?: float32;
nearestLat: float32;

/** Longitude of the nearest point of the geometry. */
nearestLon?: float32;
nearestLon: float32;

/** The unique id returned from user upload service when uploading a geofence. Will not be included in geofencing post API. */
udId?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5978,7 +5978,10 @@
}
},
"required": [
"geometries"
"expiredGeofenceGeometryId",
"geometries",
"invalidPeriodGeofenceGeometryId",
"isEventPublished"
]
},
"MapsGeofenceExitedEventData": {
Expand Down Expand Up @@ -6021,7 +6024,14 @@
"type": "string",
"description": "The unique id returned from user upload service when uploading a geofence. Will not be included in geofencing post API."
}
}
},
"required": [
"deviceId",
"distance",
"geometryId",
"nearestLat",
"nearestLon"
]
},
"MapsGeofenceResultEventData": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6080,7 +6080,10 @@
}
},
"required": [
"geometries"
"expiredGeofenceGeometryId",
"geometries",
"invalidPeriodGeofenceGeometryId",
"isEventPublished"
]
},
"MapsGeofenceExitedEventData": {
Expand Down Expand Up @@ -6123,7 +6126,14 @@
"type": "string",
"description": "The unique id returned from user upload service when uploading a geofence. Will not be included in geofencing post API."
}
}
},
"required": [
"deviceId",
"distance",
"geometryId",
"nearestLat",
"nearestLon"
]
},
"MapsGeofenceResultEventData": {
"type": "object",
Expand Down

0 comments on commit b5bf602

Please sign in to comment.