WARNINGGTFS Schedule notice

A license names an unknown file

licenses_unknown_table_name
Severity
WARNING
Files to check
1
Report fields
4
Documentation
Curated

Diagnosis

What this notice means

licenses_unknown_table_name is a warning in a GTFS Schedule validation report: a license names an unknown file. Start with licenses.txt.

licensed_table_name does not match a GTFS file. It should be the file name without .txt; locations.geojson may be written as locations or locations.geojson.

Operational effect

Why it matters

The license is not attached to any data, so the file it was meant for appears unlicensed.

Scope

Files to check and report fields

Report fieldTypeMeaning
csvRowNumberintegerThe row number of the faulty record.
fieldNamestringThe name of the faulty field.
fieldValuestringThe value of the faulty field.
filenamestringThe name of the faulty file.

Repair

How to fix it

  1. 1

    Compare the value with the files in the feed, without the .txt extension (stops, not stops.txt).

  2. 2

    Correct the name, or leave it empty for a license that covers the whole feed.

  3. 3
    Check the result

    After a repair, rebuild the archive and validate it again. Confirm that the affected records are correct and that no new related notices appeared. A reviewed warning or informational notice may remain when it describes intentional, supported data.

Re-check your feed in the browserFree, no upload for a file you pick.

Sources

References