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 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 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 }