WARNINGGTFS Schedule notice

Two fare media have the same name and type

duplicate_fare_media
Severity
WARNING
Files to check
1
Report fields
4
Documentation
Curated

Diagnosis

What this notice means

Different fare_media_id values describe the same combination of fare_media_name and fare_media_type.

Operational effect

Why it matters

The records may be duplicates, making fare products harder to maintain and identify.

Scope

Files to check and report fields

Report fieldTypeMeaning
csvRowNumber1integerThe row number of the first fare media.
csvRowNumber2integerThe row number of the second fare media.
fareMediaId1stringThe id of the first fare media.
fareMediaId2stringThe id of the second fare media.

Repair

How to fix it

  1. 1

    Compare the two reported rows in fare_media.txt and their references in fare_products.txt.

  2. 2

    If they describe one medium, keep one ID and update its references. If they are distinct, use their actual distinguishing names or types.

  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