ERRORGTFS Schedule notice

A license sets both an SPDX ID and a custom URL

forbidden_license_spdx_id_or_custom_license_url
Severity
ERROR
Files to check
1
Report fields
2
Documentation
Curated

Diagnosis

What this notice means

forbidden_license_spdx_id_or_custom_license_url is an error in a GTFS Schedule validation report: a license sets both an SPDX ID and a custom URL. Start with licenses.txt.

A licenses.txt record fills both license_spdx_id and custom_license_url; exactly one is allowed.

Operational effect

Why it matters

Consumers cannot tell which of the two terms applies to the data.

Scope

Files to check and report fields

Report fieldTypeMeaning
csvRowNumberintegerThe row number of the faulty record.
filenamestringThe name of the faulty file.

Repair

How to fix it

  1. 1

    Decide whether the data is released under a standard license or under custom terms.

  2. 2

    Keep license_spdx_id for a standard license, or custom_license_url for custom terms, and clear the other field.

  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