Skip to content

Commit

Permalink
remove fields that I am not going to use
Browse files Browse the repository at this point in the history
  • Loading branch information
miklcct committed Dec 3, 2024
1 parent e22668e commit 3ff34bf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
17 changes: 0 additions & 17 deletions gtfs-realtime/proto/gtfs-realtime.proto
Original file line number Diff line number Diff line change
Expand Up @@ -287,19 +287,6 @@ message TripUpdate {
// The updated drop off of the vehicle at the stop.
optional DropOffPickupType drop_off_type = 4;

// The updated timing point status of the vehicle at the stop.
// If false, the vehicle will no longer wait at the stop;
// if true, the vehicle will wait until the scheduled time at the stop.
optional bool timepoint = 5;

// Identifies the boarding booking rule at this stop time.
// Refers to a `booking_rule_id` defined in the GTFS `booking_rules.txt`.
optional string pickup_booking_rule_id = 6;

// Identifies the alighting booking rule at this stop time.
// Refers to a `booking_rule_id` defined in the GTFS `booking_rules.txt`.
optional string drop_off_booking_rule_id = 7;

// The extensions namespace allows 3rd-party developers to extend the
// GTFS Realtime Specification in order to add and evaluate new features
// and modifications to the spec.
Expand Down Expand Up @@ -429,10 +416,6 @@ message TripUpdate {
// NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
optional string trip_short_name = 6;

// Specifies the block for this trip when it differs from the original.
// NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
optional string block_id = 7;

// The extensions namespace allows 3rd-party developers to extend the
// GTFS Realtime Specification in order to add and evaluate new features
// and modifications to the spec.
Expand Down
4 changes: 0 additions & 4 deletions gtfs-realtime/spec/en/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,6 @@ Realtime update for certain properties defined within GTFS stop_times.txt.
| **stop_headsign** | [string](https://protobuf.dev/programming-guides/proto2/#scalar) | Optional | One | The updated headsign of the vehicle at the stop. |
| **drop_off_type** | [DropOffPickupType](#enum-dropoffpickuptype) | Optional | One | The updated drop off of the vehicle at the stop. |
| **pickup_type** | [DropOffPickupType](#enum-dropoffpickuptype) | Optional | One | The updated pickup of the vehicle at the stop. |
| **timepoint** | [bool](https://protobuf.dev/programming-guides/proto2/#scalar) | Optional | One | The updated timing point status of the vehicle at the stop. If false, the vehicle will no longer wait at the stop; if true, the vehicle will wait until the scheduled time at the stop. |
| **pickup_booking_rule_id** | [string](https://protobuf.dev/programming-guides/proto2/#scalar) | Optional | One | Identifies the boarding booking rule at this stop time. Refers to a `booking_rule_id` defined in the GTFS `booking_rules.txt`. <br>Recommended when `pickup_type=PHONE_AGENCY`. |
| **drop_off_booking_rule_id** | [string](https://protobuf.dev/programming-guides/proto2/#scalar) | Optional | One | Identifies the alighting booking rule at this stop time. Refers to a `booking_rule_id` defined in the GTFS `booking_rules.txt`. <br>Recommended when `drop_off_type=PHONE_AGENCY`. |

## _enum_ DropOffPickupType

Expand Down Expand Up @@ -267,7 +264,6 @@ Defines updated properties of the trip
| **start_time** | [string](https://protobuf.dev/programming-guides/proto2/#scalar) | Conditionally required | One | Defines the departure start time of the trip when it’s duplicated. See definition of `stop_times.departure_time` in (CSV) GTFS. Scheduled arrival and departure times for the duplicated trip are calculated based on the offset between the original trip `departure_time` and this field. For example, if a GTFS trip has stop A with a `departure_time` of `10:00:00` and stop B with `departure_time` of `10:01:00`, and this field is populated with the value of `10:30:00`, stop B on the duplicated trip will have a scheduled `departure_time` of `10:31:00`. Real-time prediction `delay` values are applied to this calculated schedule time to determine the predicted time. For example, if a departure `delay` of `30` is provided for stop B, then the predicted departure time is `10:31:30`. Real-time prediction `time` values do not have any offset applied to them and indicate the predicted time as provided. For example, if a departure `time` representing 10:31:30 is provided for stop B, then the predicted departure time is `10:31:30`.This field is required if `schedule_relationship` is `DUPLICATED`, otherwise this field must not be populated and will be ignored by consumers. <br><br>**Caution:** this field is still **experimental**, and subject to change. It may be formally adopted in the future. |
| **trip_headsign** | [string](https://protobuf.dev/programming-guides/proto2/#scalar) | Optional | One | Specifies the headsign for this trip when it differs from the original. <br><br>**Caution:** this field is still **experimental**, and subject to change. It may be formally adopted in the future. |
| **trip_short_name** | [string](https://protobuf.dev/programming-guides/proto2/#scalar) | Optional | One | Specifies the name for this trip when it differs from the original. <br><br>**Caution:** this field is still **experimental**, and subject to change. It may be formally adopted in the future. |
| **block_id** | [string](https://protobuf.dev/programming-guides/proto2/#scalar) | Optional | One | Specifies the block for this trip when it differs from the original. <br><br>**Caution:** this field is still **experimental**, and subject to change. It may be formally adopted in the future. |
| **shape_id** | [string](https://protobuf.dev/programming-guides/proto2/#scalar) | Optional | One | Specifies the shape of the vehicle travel path for this trip when it differs from the original. Refers to a shape defined in the (CSV) GTFS or a new shape entity in a real-time feed. See definition of `trips.shape_id` in (CSV) GTFS. <br><br>**Caution:** this field is still **experimental**, and subject to change. It may be formally adopted in the future. |

## _message_ VehiclePosition
Expand Down

0 comments on commit 3ff34bf

Please sign in to comment.