Skip to content

Invalid vehicle_type_id reference in vehicle_status/free_bike_status should be reported #113

@hbruch

Description

@hbruch

Current rule NoMissingVehicleTypeIdInVehicleStatusWhenVehicleTypesExist only checks, if a vehicle_type_id is defined for vehicles, when a vehicle_types feed exists, but it does not validate that the id is defined.

I suggest to rename this rule to NoMissingOrInvalidVehicleTypeIdInVehicleStatusWhenVehicleTypesExist and add the appropriate schema check. I'll provide a PR implementing this.

(see mobidata-bw/lamassu#1 for an example of an invalid feed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions