Skip to content

Import Schedule Feeds Feb 5#1258

Merged
ianktc merged 13 commits intomainfrom
import/schedule-feed-feb-5
Feb 5, 2026
Merged

Import Schedule Feeds Feb 5#1258
ianktc merged 13 commits intomainfrom
import/schedule-feed-feb-5

Conversation

@ianktc
Copy link
Copy Markdown
Contributor Author

ianktc commented Feb 5, 2026

Feed Submission Checklist

Thanks for contributing to the MobilityDatabase!

This is a comprehensive checklist detailing the things to consider before submitting a feed to the database. The schema links in this checklist will follow the convention of [1] for schedule feed schema and [2] for realtime feeds. You will find the schema definitions for schedule and realtime feeds are often the same, but both references are always included for completeness. If you have any questions, reach out to @ianktc.

General Checks

  • Valid Direct Download URL: Does the URL produce a zip file and is it valid gtfs? [1] If realtime, is it a protobuf? [2]

All schedule feeds have valid direct download URLs

  • Official Status: Is the feed official? Check contact email, direct download URL, website etc. [1] or [2]

Official:
au-queensland-translink-south-east-queensland-gtfs-3048.json
ee-tallinna-linn-tallinna-linn-gtfs-3047.json
es-metro-bilbao-gtfs-3042.json
hr-hzpp-gtfs-3043.json
it-bologna-tper-bus-gtfs-3040.json
it-bologna-tper-ferrara-gtfs-3042.json
it-bologna-tper-marconi-gtfs-3041.json
md-ungheni-transport-publi-gtfs-3046.json
mk-skopje-jsp-skopje-gtfs-3045.json
ua-inbusua-gtfs-3044.json

Unofficial:
in-apsrtc-gtfs-3050.json
ma-oncf-office-nat-gtfs-3049.json
sg-land-transport-gtfs-3051.json

  • Service Status: Is the status active? Check feed_info file for service window. [1] or [2]

Inactive:
mk-skopje-jsp-skopje-gtfs-3045.json
ua-inbusua-gtfs-3044.json

All other feeds are active

  • Authentication: Is there any authentication required? [1] or [2] Enum values are described [1] and [2] (they are the same)

None of the feeds require authentication

Is Your Feed New?

  • MDB Stable ID: Correct stable id in the file name? Does it match the mdb_source_id field? [1] or [2]. And stable id in the “latest url” field? [1]
  • Sequential Ordering: Does the stable id increment from latest stable id? Do they increase in sequential order? Refer to this spreadsheet for the latest mdb stable id.

New Feeds:
ee-tallinna-linn-tallinna-linn-gtfs-3047.json
in-apsrtc-gtfs-3050.json
ma-oncf-office-nat-gtfs-3049.json
md-ungheni-transport-publi-gtfs-3046.json
mk-skopje-jsp-skopje-gtfs-3045.json
sg-land-transport-gtfs-3051.json
ua-inbusua-gtfs-3044.json

Is Your Feed an Update?

  • Official Status: If unofficial, do not deprecate and redirect the old feed, but import this new feed as unofficial so both feeds are available in the database
  • Deprecate and Redirect: If official, deprecate and redirect the old feed to this updated feed. [1] or [2]

Updated Feeds:
au-queensland-translink-south-east-queensland-gtfs-3048.json
es-metro-bilbao-gtfs-3042.json
hr-hzpp-gtfs-3043.json
it-bologna-tper-bus-gtfs-3040.json
it-bologna-tper-ferrara-gtfs-3042.json
it-bologna-tper-marconi-gtfs-3041.json

Is it a Realtime Feed?

  • Reference: Does it have a reference to the schedule feed? [2]

No realtime feeds

Pre-existing Feed Existence [internal]

  • Perform a check on the mobility database website to check for pre-existing unpublished (wip) feeds from other sources
  • Sometimes the "old" feed is not included in the feed submission form, perform a check for fuzzy matches on Provider and Direct Download URL. In the case of probable matches, check with the validator for entity count, agency and feed info matches as well.

Other Considerations [internal]

Sometimes you will encounter two active schedule feeds. There are some possible reasons this may occur:

  • Flex: Flex feeds are sometimes produced separately from schedule feeds. Import the flex feed as a brand new feed instead of a redirect of the schedule feed. [definition]
  • Reference Schedule Feed: One schedule feed may be used as the schedule, while the other is used as a reference to the realtime feed. Look for feeds produced by Passio (or other vehicle tracking software). [example]

@ianktc ianktc requested a review from jcpitre February 5, 2026 18:56
@ianktc ianktc merged commit 28f96f7 into main Feb 5, 2026
10 checks passed
@ianktc ianktc deleted the import/schedule-feed-feb-5 branch February 5, 2026 19:35
@ianktc ianktc self-assigned this Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants