Diagnosis
What this notice means
missing_license_spdx_id_or_custom_license_url is an error in a GTFS Schedule validation report: a license has neither an SPDX ID nor a custom URL. Start with licenses.txt.
A licenses.txt record leaves both license_spdx_id and custom_license_url empty; exactly one is required.
Operational effect
Why it matters
The record names no license, so consumers cannot tell on what terms they may use 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
Find the license that applies to the data the record covers.
- 2
Fill
license_spdx_idwith its SPDX identifier, orcustom_license_urlwith a link to custom terms. - 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