Proto commits in google/transit

These 56 commits are when the Protocol Buffers files have changed:

Commit:2faff73
Author:Skander Chouchene

deprecate active_period and add the two fields to the proto file

Commit:7b9f229
Author:Darwin O'Connor - TransSee
Committer:GitHub

Add GTFS Feed Version to the GTFS real time FeedHeader (#434) * Add feed_version and GTFS_url to FeedHeader. * attributes should be lowercase Co-authored-by: Antoine Augusti <antoine.augusti@gmail.com> * Remove gtfs_url Remove the addition of gtfs_url because it wasn't clear if it should the current or upcoming file and it hasn't been implemented. * Add feed_version description to referance.md * Add backticks to key word. Co-authored-by: Tzu-Jen Chan <126435471+tzujenchanmbd@users.noreply.github.com> --------- Co-authored-by: Antoine Augusti <antoine.augusti@gmail.com> Co-authored-by: Tzu-Jen Chan <126435471+tzujenchanmbd@users.noreply.github.com>

The documentation is generated from this commit.

Commit:dadc448
Author:Guillaume Campagna
Committer:GitHub

Adjust trip modifications (#497) - Addition of start_time and start_date to `ModifiedTripSelector` for frequency service support - Adding missing extensions fields for ModifiedTripSelector - Explicitly allow use of `schedule_relationship` in `TripDescriptor` when using a `ModifiedTripSelector`. - Add missing documentation in reference.md (it was only specified in the .proto) Revert whitespace change Co-authored-by: Stefan de Konink <stefan@konink.de> Revert white space change

Commit:9de0875
Author:Chad Selph
Committer:GitHub

fix whitespace in .proto file (#489)

Commit:71fc99d
Author:isabelle-dr
Committer:GitHub

Remove spanish translations from GTFS Realtime (#446) * Update README.md * Delete gtfs-realtime/spec/es directory * Update README.md * Update README.md * Update README.md

Commit:7cd3c63
Author:Guillaume Campagna
Committer:GitHub

GTFS Trip-Modifications (#403) * Add Trip-Modification, make shape non-experimental Fix typo Add images Update image width Add newlines Add newlines Update images Italic for image description Update SLO travel_time_to_stop is optional Proto : all feild optional Add references to GTFS-Static * Create a page for TripModifications entities for consistency with TU and VP * Clarify providing TUs for modified trips and ReplacementStop time interpolation Less strong requirement to interpolate * Fix first_stop_reference.png not having the right image + optimize image size. * Fix optional/require for Stop message * Clarify behaviour and linkage to TripUpdates * Apply Modification clarification proposed changes Co-authored-by: Paul Swartz <paul@paulswartz.net> * Use ModifiedTripSelector instead of concatenation of IDs Update langage Update namign * Add details on behavior when is provided * Remove modifications_id * Fix after comments from @bdferris-v2 * Add note about producer needed the two versions of trip updates * Fix bad relationship mentionned, + force no other entity when using ModifiedTripSelector * Changes after Jan 10 call * Add experimental notices * Remove mention of stop pattern * Use stop selector instead of stop sequence only * Update to end_stop_selector * Update proto with start/end stop selector * Add selected trips * Update reference with SelectedTrips * Update trip modif doc * Add last_modified_time * Add missing start_times in pb * Fix typos, fix description of selected trips * Fix typos Co-authored-by: Nicholas Paun <np@icebergsystems.ca> * Update reference for clarity * Clarify and remove duplicated information * Consistancy * Revert correctly shape experimental * Editorial, formatting clarifications * Apply suggestions from @sam-hickey-ibigroup Co-authored-by: Sam Hickey <sam.hickey@ibigroup.com> * Update documentation images with new fields, add source files * Clarifies behavior of propagated_modification_delay when no stop_time is cancelled * Remove extra word * Sync .proto and reference files --------- Co-authored-by: Nicholas Paun <nicholas@transit.app> Co-authored-by: Paul Swartz <paul@paulswartz.net> Co-authored-by: Nicholas Paun <np@icebergsystems.ca> Co-authored-by: Joshua Fabian <jfabian@mbta.com> Co-authored-by: Sam Hickey <sam.hickey@ibigroup.com>

Commit:6fcc380
Author:Maddie
Committer:GitHub

Proposal: Support DELETED trips in GTFS-RT (#352)

Commit:a132709
Author:McKenzie Maidl
Committer:GitHub

addition of cause_detail and effect_detail to the spec (#332)

Commit:8993a24
Author:Zsombor Welker
Committer:GitHub

Add WheelchairAccessible documentation (#340)

Commit:cddf2c1
Author:Guillaume Campagna
Committer:GitHub

Feature/image in alerts (#283) * Add image_url to alert * Add details about essential information in the image * Add notice about mainly text * Update discouraged image list * Support list of images * Fix typo Co-authored-by: Stefan de Konink <stefan@konink.de> * Fix typo Co-authored-by: Stefan de Konink <stefan@konink.de> * Revert table of content * Add media type, alt text * Fix URL writing Co-authored-by: Paul Swartz <paul@paulswartz.net> * Fix text reference in TranlatedImage Co-authored-by: Paul Swartz <paul@paulswartz.net> * Fix copy/paste error Co-authored-by: Paul Swartz <paul@paulswartz.net> * Clarify langage about image selection Co-authored-by: Sean Barbeau <sjbarbeau@gmail.com> * Clarify alt text description Co-authored-by: Sean Barbeau <sjbarbeau@gmail.com> * Update gtfs-realtime/proto/gtfs-realtime.proto Co-authored-by: Sean Barbeau <sjbarbeau@gmail.com> * Use RFC 2119 definition for requirement description Co-authored-by: Sean Barbeau <sjbarbeau@gmail.com> * Add missing extension attribute in TranslatedImage * Revert editorial changes * Revert editorial changes * Max size to 2MB * Add note about URL needing changing if the image changes * Use MUST for the size limit * Move alternative_text into the parent alert * Add missing experimenal note for image_alternative_text * Add note about image orderign * Only allow one image * Fix image text * Add mention of URL escaping, mirroring the one in GTFS static Co-authored-by: Stefan de Konink <stefan@konink.de> Co-authored-by: Paul Swartz <paul@paulswartz.net> Co-authored-by: Sean Barbeau <sjbarbeau@gmail.com>

Commit:99fdfba
Author:ericouyang
Committer:GitHub

Proposal: Add GTFS-NewShapes as experimental (#272)

Commit:3fe9939
Author:jakehoare
Committer:GitHub

Add departure_occupancy_status to TripUpdate (#260)

Commit:972f306
Author:ericouyang
Committer:GitHub

Clarification of TripUpdate.timestamp (#263)

Commit:729503b
Author:scmcca
Committer:GitHub

Clarification of GTFS Realtime occupancy descriptions (#259)

Commit:480ad2e
Author:Sean Barbeau
Committer:GitHub

Proposal: Support stop assignments in GTFS-RT (#219)

Commit:b28d6ef
Author:Loïc Fontolliet
Committer:GitHub

Proposal: Support multi-car crowding in GTFS-RT (#237)

Commit:993c2c0
Author:Sean Barbeau
Committer:GitHub

fix: Add extensions to TripProperties, remove extra comment (#238) This is an editorial follow-up to https://github.com/google/transit/pull/221 to fix two items: * New messages should have the extensions fields to allow 3rd party and internal extensions - this commit adds these fields * An erroneous comment was added that labeled schedule_relationship as experimental - this commit removes it

Commit:770ffee
Author:Sean Barbeau
Committer:GitHub

Proposal: Support DUPLICATED trips in GTFS-RT (#221) * Support DUPLICATED trips in GTFS-RT * Revert deprecation of ADDED * Remove auto-format change * Better explanation of "forbidden" * Add experimental labels for message/fields * Add experimental labels for field * Add experimental label for message * Clarify DUPLICATED use with VehiclePosition * Clarify that true frequency-based trips can't be duplicated * Explicitly define how the duplicated trip schedule and RT values are calculated * docs: Add migration guide for transition from ADDED to DUPLICATED trips * docs: Normalize comments in code * docs: Allow trip.trip_id->trip_properties.trip_id link in migration guide

Commit:df73737
Author:Sean Barbeau
Committer:GitHub

feat: Alert `tts_header_text`, `tts_description_text` no longer experimental (#229)

Commit:2ae5df1
Author:Sean Barbeau
Committer:GitHub

feat: Label GTFS-RT ADDED trips as not fully specified (#230)

Commit:8521cee
Author:Guillaume Campagna
Committer:GitHub

Mark severity level as final (#214)

Commit:270830c
Author:Guillaume Campagna
Committer:GitHub

Add occupancy_percentage (#213)

Commit:d3d53fe
Author:Paul Swartz
Committer:GitHub

feat: `direction_id` no longer experimental (#210)

Commit:5ce5f04
Author:Juan
Committer:Sean Barbeau

Reserve extension IDs range 9000-9999 for internal use by any organization (#178)

Commit:3672b36
Author:Sean Barbeau
Committer:GitHub

Fix #102 - Add StopTimeUpdate.ScheduleRelationship UNSCHEDULED value (#173)

Commit:0465aa1
Author:Guillaume Campagna
Committer:Sean Barbeau

Add accessibility issue alert effect (#164)

Commit:2de15c8
Author:Sean Barbeau
Committer:GitHub

Clarify TripDescriptor as referencing a single trip instance (#163) * Clarify TripDescriptor as referencing a single trip instance In the past, it was unclear whether TripDescriptor could reference more than one trip at a time when used within Alert EntitySelector. This change clarifies TripDescriptor use as follows: * TripDescriptor always refers to a single trip instances - it cannot be used to identify sets of trips. State that if a TripDescriptor doesn't resolve to a single trip instance, it's an error and consumers can drop the data. * List examples of known cases where additional fields other than trip_id are required to resolve TripDescriptor to a single trip instance * TripDescriptor.route_id cannot be used within an Alert EntitySelector - use EntitySelector.route_id instead * ScheduleRelationship field is ignored by consumers if set within an EntitySelector.TripDescriptor Basic descriptions for the fields in Alert EntitySelector are also added. This change also adds EntitySelector.direction_id for selecting one direction of route

Commit:b4c3dd5
Author:Paul Swartz
Committer:Sean Barbeau

Remove some trailing whitespace from files (#142) * Remove trailing whitespace from Markdown files * Remove trailing whitespace from .proto file

Commit:7d01582
Author:Sean Barbeau

Comment formatting - Add period for consistency

Commit:cabaec4
Author:Sean Barbeau

Add deprecated TripDescriptor.ScheduleRelationship=REPLACEMENT to .proto * TRANSLink in Queensland (https://gtfsrt.api.translink.com.au/) is publishing TripDescriptor.ScheduleRelationship=REPLACEMENT, which was deprecated in 2014 (https://groups.google.com/forum/#!topic/gtfs-realtime/77c3WZrGBnI) * When it was deprecated, the REPLACEMENT field value was removed from .proto entirely, which is causing consumers to crash when trying to read feed using the current .proto file (via gtfs-realtime-bindings library) (https://groups.google.com/forum/#!topic/gtfs-realtime/wbPfMIpXsJE) * This patch adds the REPLACEMENT field value back into the .proto file to support backwards-compatibility, but marks it as deprecated to discourage use until behavior surrounding this value is better defined.

Commit:2150941
Author:Giovanni Corti
Committer:GitHub

Update MobilityData fork (#20) Brings this fork in line with google/transit

Commit:b3bdbd9
Author:Sean Barbeau
Committer:GitHub

Add NO_EFFECT effect option for GTFS-realtime service alert (#137) * Some transit agencies are publishing service alerts that don't actually impact the transit network. Examples include advertising public meetings, and soliciting feedback via surveys. * This proposal adds a new Effect enumeration NO_EFFECT so that transit agency can clearly label these types of alerts as not impacting the transit network. Consumers can then make a choice if they want to surface these types of alerts in their UI. * Put example of holiday schedule under "Modified service" (following discussion in #137)

Commit:1b602c2
Author:ibi-group-team
Committer:Sean Barbeau

Add optional field SeverityLevel to Service Alerts feed (#136)

Commit:2538470
Author:ibi-group-team
Committer:Sean Barbeau

Add optional fields for Text-to-Speech in Service Alerts feed (#135)

Commit:97381d3
Author:Sean Barbeau
Committer:GitHub

Define valid GTFS-realtime version numbers (#130) * gtfs_realtime_version is a string in the Protocol Buffer gtfs-realtime.proto file, and therefore producers can populate this field with a number of different possible values. Previously, the exact GTFS-realtime version format hasn't been explicitly defined anywhere, and as a result producers have published a variety of interpretations (e.g., 1.0, 1) * This proposal strictly defines what the allowed GTFS-realtime version numbers are so that consumers can do exact string matching to determine which GTFS-realtime version the producer is publishing

Commit:2cbbaf0
Author:Eduardo Cáceres
Committer:Rachael Morgan

Revision of the Spanish translation of GTFS-realtime docs (#57) * Revision of the Spanish translation of GTFS-realtime docs Fix a number of translation inaccuracies. Add Occupancy status (missing in the Spanish version of vehicle-positions.md).

Commit:8eff163
Author:Joshua Marantz
Committer:Rachael Morgan

fix gtfs_realtime_version in FeedHeader (#82) gtfs_realtime_version was set = to 2 (the version number) instead of 1 (the field number)

Commit:eb4b243
Author:Sean Barbeau
Committer:Rachael Morgan

Define semantic cardinality for GTFS-realtime fields (#64) * Define semantic cardinality for GTFS-realtime fields * As originally discussed in https://github.com/google/transit/pull/19 and https://groups.google.com/forum/#!msg/gtfs-realtime/wm3W7QIEZ9Y/DLyWKkknJyoJ, the current GTFS-realtime spec documentation describes field Protocol Buffer cardinality, not semantic cardinality. This has created confusion for consumers and producers where fields have been omitted based on them being labeled as "optional" in the GTFS-realtime spec, even if they were required under certain logical transit conditions (e.g., stop_sequence must be provided if a trip contains a loop). * This patch changes the "Cardinality" documentation to define the semantic cardinality for each data element as "required", "conditionally required", and "optional". It also bumps the gtfs_realtime_version in the .proto file to 2.0 so validators can strictly enforce semantic cardinality based on the gtfs_realtime_version. * Make trip.stop_time_update conditionally required based on trip.schedule_relationship Addresses https://github.com/google/transit/pull/64#pullrequestreview-46986350 * Fix conditional states for stop_time_update.arrival/departure ...based on stop_time_update.schedule_relationship. See https://github.com/google/transit/blob/master/gtfs-realtime/spec/en/reference.md#enum-schedulerelationship * Separate "Required" and "Cardinality" into different columns * A new "Required" field holds the information as to whether a particular field is Required, Optional, or Conditionally required * The existing "Cardinality" field is changed to a semantic version of cardinality instead of using Protobuf cardinality * Change FeedMessage.entity to "Conditionally required" * This field can't be "Required", because there are legitimate scenarios where a feed may not have any real-time information about the system (e.g., if it's 3am, and the agency doesn't offer any service at 3am). So, change to "Conditionally required" with description.

Commit:314773c
Author:Rachael Morgan

Clarify that single-carriage vehicles (e.g. a standard bus) should have only 1 CarriageDescriptor.

Commit:9acd8bc
Author:Rachael Morgan

Add carriage_sequence to explicitly define the carriage ordering.

Commit:c840c75
Author:Rachael Morgan

cleanup.

Commit:b228b28
Author:Rachael Morgan

Add extensions and fix documentation for CarriageDescriptor.

Commit:59f7c4c
Author:Rachael Morgan

Add CarriageDescriptor.

Commit:b7bb2f6
Author:Rachael Morgan

whatevs

Commit:f8a8716
Author:Ivan Egorov

Merge pull request #7 from google/egorich239-multifeeds Allow multiple feed entity types in a single feed

Commit:2cbc1e0
Author:Ivan Egorov

Remove REPLACEMENTS, format to 80 chars.

Commit:171cbb5
Author:Ivan Egorov

Merge branch 'master' into egorich239-multifeeds

Commit:9d723b1
Author:Ivan Egorov

Remove paragraph about external configuration. It is clear from the previous sentences that GTFS RT refers to a GTFS feed. Polling frequency is one of trivial implementation details, not worth mentioning.

Commit:4a4c13e
Author:Ivan Egorov

Initial commit for Spanish translation.

Commit:189d0f0
Author:Ivan Egorov

Refer to the gtfs-realtime directory.

Commit:cb0f7f7
Author:Ivan Egorov

Make the Github repository the authoritative source for gtfs-realtime.proto.

Commit:c5b08b7
Author:Ivan Egorov
Committer:Ivan Egorov

Do not require same entity types across a feed.

Commit:67cf6f5
Author:Ivan Egorov

s/GTFS-realtime/GTFS Realtime/g

Commit:0176e0b
Author:Ivan Egorov

Delete extra empty line.

Commit:4dc1d18
Author:Ivan Egorov

Change GTFS Realtime Specification to Apache 2.0

Commit:0ed83c1
Author:Ivan Egorov

Create Markdown mirror of devsite content.