Comments (2)
It is possible, though somewhat cumbersome, to determine if a trip was cancelled by cross-referencing with status changes. There is a trip_cancel
event type and the events schema contains any related trip IDs.
from mobility-data-specification.
There might be race conditions where the trip is sent before the event (the standard does not enforce the sequence of events). I don't think we want to reject a trip event simply because it arrived earlier than the status change event.
Further, some providers may only implement a Trips endpoint feed for instance, and then there would be no status change event to reference.
Lastly, this request for change is also to improve data integrity by offering a means to validate different shapes of trips, such as "no show" trips which are a common use case, for which some fields may be unavailable (such as distance). Currently, the standard's definition is either too restrictive at times (duration required but does not exist for a cancelled trip), or too loose ("optionally required" mentions, but sometimes it is not clear when that field should be required or not). This change (along with Issue #888 ) would be a step towards tighter type definitions for events, to improve data quality across the board.
from mobility-data-specification.
Related Issues (20)
- Add geographies to be returned in Reports in Requirements HOT 2
- Reports endpoint - START_DATE clarification HOT 4
- guidance on how to use telemetry data for compliance HOT 3
- What vehicles are included in the MDS 2.0 /vehicles endpoint? HOT 4
- Reports endpoint - description of START_DATE HOT 4
- Add mode in trips and vehicles objects HOT 6
- Data structure with sub-objects for mode-specific attributes complexifies the data ingestion HOT 1
- Add Provider ID: Nextbike HOT 2
- Error and bulk responses HOT 5
- Add the publication_time field in the telemetry object
- Supporting Advanced Air Mobility (AAM) HOT 1
- Add Provider ID: Starship Technologies HOT 3
- Add service_start_time and service_end_time to VEHICLES endpoint HOT 2
- Simplify /vehicles/status HOT 1
- Define conditions for "conditionally required" fields
- Clearer support for AV taxis (Robotaxis) HOT 1
- Real-time support for MDS Policy
- Add Provider ID: Flamingo HOT 2
- Policy API - Mileage thresholds in addition to time thresholds
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobility-data-specification.