MobilityData / gtfs-validator

Canonical GTFS Validator project for schedule (static) files.
https://gtfs-validator.mobilitydata.org/
Apache License 2.0
288 stars 101 forks source link

[REQUEST] Make notices more generic #263

Closed lionel-nj closed 4 years ago

lionel-nj commented 4 years ago

Is your feature request related to a problem? Please describe. At present, some notices such as RouteColorAndTextInsufficientContrastNotice contain a field contastRatio. These fields are specific and should be wrapped into a field ruleValue containing all rule specific values. This would allow for a more generic treatmentof notices in the future.

Consider the architecture used in geojson via field properties. See https://geojson.org/

lionel-nj commented 4 years ago

Implemented in https://github.com/MobilityData/gtfs-validator/pull/273