ERRORGTFS Schedule notice

A license has neither an SPDX ID nor a custom URL

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

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 fieldTypeMeaning
csvRowNumberintegerThe row number of the faulty record.
filenamestringThe name of the faulty file.

Repair

How to fix it

  1. 1

    Find the license that applies to the data the record covers.

  2. 2

    Fill license_spdx_id with its SPDX identifier, or custom_license_url with a link to custom terms.

  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