# Third-party data and attribution

This project is **not affiliated with, endorsed by, or operated by** Societatea
de Transport Public Timișoara (STPT) or the Timișoara municipality.

Transit information is retrieved from publicly reachable endpoints operated by
STPT:

- Live arrivals: `https://live.stpt.ro/proxy-smtt-cache.php`
- Alerts: `https://live.stpt.ro/proxy-alerts.php`
- Vehicles: `https://live.stpt.ro/gtfs-vehicles.php`
- GTFS-derived network snapshot: `https://live.stpt.ro/gtfs-data/`
- GTFS timetable: `https://smtt.ro/transit/gtfs/maps/smtt-timisoara-ro.zip`
  (mirrored by the Mobility Database as feed `mdb-2868`)

The bundled `network.json` is a derived snapshot of STPT's public GTFS data. It
contains stop codes, stop names, coordinates, route membership, and stop
sequences, together with feed metadata. The bundled `timetable.json` is derived
from the same GTFS feed and contains its service calendar and trip departure
times. They are included so stop/route discovery and the schedule fallback work
when the upstream services are unavailable. They are refreshed by the project
maintainers, not downloaded at runtime.

STPT and its data remain the property of their respective owners. No warranty
is made about the accuracy, completeness, or availability of upstream data.
Downstream users are responsible for complying with applicable terms of use
and for not overloading the public endpoints. This server applies caching,
single-flight coalescing, bounded concurrency, and conservative timeouts for
that reason.

The source code in this repository is licensed under the MIT License; that
license does not grant rights to STPT data beyond what applicable law and STPT
permit.

OpenStreetMap-derived coordinates may be present in the upstream GTFS feed.
OpenStreetMap data is © OpenStreetMap contributors, available under the Open
Database License (ODbL).
