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 field | Type | Meaning |
|---|---|---|
csvRowNumber | integer | The row number of the faulty record. |
filename | string | The name of the faulty file. |
Repair
How to fix it
- 1
Decide whether the data is released under a standard license or under custom terms.
- 2
Keep
license_spdx_idfor a standard license, orcustom_license_urlfor custom terms, and clear the other field. - 3Check 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