From 5bdc2a33b1adb8f76205b4037e8d6ba295daea05 Mon Sep 17 00:00:00 2001 From: Sargun Vohra Date: Sun, 19 Oct 2025 19:37:30 -0700 Subject: [PATCH] move zone id to feature properties --- reference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference.md b/reference.md index 6e18172..a1aa9b4 100644 --- a/reference.md +++ b/reference.md @@ -368,9 +368,9 @@ Field Name | Presence | Type | Description - `type` | REQUIRED | String | `FeatureCollection` as per [RFC 7946](https://tools.ietf.org/html/rfc7946). | - `features` | REQUIRED | Array | Array of objects where each object represent a zone, as defined below. | - \- `type` | REQUIRED | String | `Feature` as per [RFC 7946](https://tools.ietf.org/html/rfc7946). | - - \- `zone_id` | REQUIRED | ID | Unique identifier of the zone. | - \- `geometry` | REQUIRED | GeoJSON Polygon | A polygon that describes where riders can be picked up or dropped off.

Following the [right-hand rule](https://tools.ietf.org/html/rfc7946#section-3.1.6), a clockwise arrangement of points defines the area enclosed by the polygon, where pickup and drop off MAY occur; while a counterclockwise order defines the area outside the polygon, where pickup and drop off MAY NOT occur. | - \- `properties` | REQUIRED | Object | Location property keys. | + - \- \- `zone_id` | REQUIRED | ID | Unique identifier of the zone. | - \- \- `name` | OPTIONAL | String | Indicates the name of the zone as displayed to the riders. | @@ -387,8 +387,8 @@ Field Name | Presence | Type | Description "features": [ { "type": "Feature", - "zone_id": "zoneA", "properties": { + "zone_id": "zoneA", "name": "MontrĂ©al Area" }, "geometry": {