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 field | Type | Meaning |
|---|---|---|
csvRowNumber | integer | The row number of the faulty record. |
fieldName | string | The name of the faulty field. |
fieldValue | string | The value of the faulty field. |
filename | string | The name of the faulty file. |
Repair
How to fix it
- 1
Check the value for typos and compare it with the SPDX License List.
- 2
Use the exact SPDX identifier of the license, for example
CC-BY-4.0orODbL-1.0. For terms that have no SPDX identifier, clearlicense_spdx_idand link them withcustom_license_urlinstead. - 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