google / google/transit

Relax conditionally forbidden nature of prior_notice_start_day in booking_rules.txt

Open
#566 6 comments 0 reactions 0 assignees View on GitHub
Change type: Non-Functional GTFS Schedule GTFS-Flex Support: Needs Feedback
Dominant language
No language data
Stars
1.1k
Forks
225
Avg merge
7d 17h
Merged PRs (30d)
3

Description

### Describe the problem

Presently, the spec prohibits specifying `prior_notice_start_day` in `booking_rules.txt` if `booking_type = 0` (Real time booking). However, some microtransit services exist that allow a rider to schedule a ride multiple days in advance if they choose in addition to being available in real time. I'd like to explore the possibility of relaxing the conditionally forbidden aspect of `prior_notice_start_day`.

### Use cases

C-TRAN's The Current microtransit service allows riders to schedule a ride up to two days in advance in addition to real-time:

![Image](https://github.com/user-attachments/assets/9c6eae2e-34c7-4cb5-b8a7-39ef9a38cdde)

https://mail.c-tran.com/thecurrent/current-faq

Here is a link to the main page for The Current service:
https://mail.c-tran.com/thecurrent

### Proposed solution

Remove "**Forbidden** for `booking_type=0`" from `booking_rules.prior_notice_start_day`

### Additional information

_Edited 6/17/25 to remove booking_rules.prior_notice_last_day from request_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.