ERRORGTFS Schedule notice

A license identifier is not an SPDX ID

invalid_license_spdx_id
Severity
ERROR
Files to check
1
Report fields
4
Documentation
Curated

Diagnosis

What this notice means

invalid_license_spdx_id is an error in a GTFS Schedule validation report: a license identifier is not an SPDX ID. Start with licenses.txt.

license_spdx_id is not an identifier in the SPDX License List. Matching ignores case.

Operational effect

Why it matters

Consumers cannot determine which license applies, so they may not be able to reuse the data.

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

    Check the value for typos and compare it with the SPDX License List.

  2. 2

    Use the exact SPDX identifier of the license, for example CC-BY-4.0 or ODbL-1.0. For terms that have no SPDX identifier, clear license_spdx_id and link them with custom_license_url instead.

  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