From 32f92989e8fc15b7c4464d5572cf9d4df94bb9a2 Mon Sep 17 00:00:00 2001 From: Christopher Yamas Date: Tue, 30 Dec 2025 15:32:56 -0500 Subject: [PATCH 1/3] Rename duration fields from _time to _duration suffix --- spec/stop_visits.schema.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spec/stop_visits.schema.json b/spec/stop_visits.schema.json index 104473fd..bdf2679b 100644 --- a/spec/stop_visits.schema.json +++ b/spec/stop_visits.schema.json @@ -169,7 +169,7 @@ } }, { - "name": "ramp_deployed_time", + "name": "ramp_deployed_duration", "type": "number", "description": "Duration of time a ramp is deployed, in seconds.", "constraints": { @@ -182,17 +182,17 @@ "description": "Indicates if the ramp deployment failed at a stop." }, { - "name": "kneel_deployed_time", + "name": "kneel_deployed_duration", "type": "number", - "description": "Duration of time a kneel is deployed in seconds.", + "description": "Duration of time a kneel is deployed, in seconds.", "constraints": { "minimum": 0 } }, { - "name": "lift_deployed_time", + "name": "lift_deployed_duration", "type": "number", - "description": "Duration of time in seconds of time a lift is deployed.", + "description": "Duration of time a lift is deployed, in seconds.", "constraints": { "minimum": 0 } From 6ffccb5cfffce09765f57f2556bc7c6703018d5a Mon Sep 17 00:00:00 2001 From: Christopher Yamas Date: Tue, 30 Dec 2025 15:33:44 -0500 Subject: [PATCH 2/3] Update Changelog with unreleased duration field renaming change --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 610b96b5..cf18d3e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- **BREAKING:** `stop_visits` duration fields renamed from `_time` to `_duration` suffix to distinguish from timestamp fields: `ramp_deployed_time` → `ramp_deployed_duration`, `kneel_deployed_time` → `kneel_deployed_duration`, `lift_deployed_time` → `lift_deployed_duration` ([#237](https://github.com/TIDES-transit/TIDES/issues/237)) + ## [1.0] - 2025-12-23 ### Changed From b2bc58152caa92cad691780953a1c2d6da12e70a Mon Sep 17 00:00:00 2001 From: Christopher Yamas Date: Thu, 12 Mar 2026 10:28:40 -0400 Subject: [PATCH 3/3] update stop_visits sample CSV to use _duration field names --- samples/template/TIDES/stop_visits.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/template/TIDES/stop_visits.csv b/samples/template/TIDES/stop_visits.csv index d617b8a4..0a32b383 100644 --- a/samples/template/TIDES/stop_visits.csv +++ b/samples/template/TIDES/stop_visits.csv @@ -1 +1 @@ -service_date,trip_id_performed,trip_stop_sequence,scheduled_stop_sequence,pattern_id,vehicle_id,dwell,stop_id,timepoint,schedule_arrival_time,schedule_departure_time,actual_arrival_time,actual_departure_time,distance,boarding_1,alighting_1,boarding_2,alighting_2,departure_load,door_open,door_close,door_status,ramp_deployed_time,ramp_failure,kneel_deployed_time,lift_deployed_time,bike_rack_deployed,bike_load,revenue,number_of_transactions,schedule_relationship +service_date,trip_id_performed,trip_stop_sequence,scheduled_stop_sequence,pattern_id,vehicle_id,dwell,stop_id,timepoint,schedule_arrival_time,schedule_departure_time,actual_arrival_time,actual_departure_time,distance,boarding_1,alighting_1,boarding_2,alighting_2,departure_load,door_open,door_close,door_status,ramp_deployed_duration,ramp_failure,kneel_deployed_duration,lift_deployed_duration,bike_rack_deployed,bike_load,revenue,number_of_transactions,schedule_relationship