Changes between Version 15 and Version 16 of Rules/FranceSpecificRules


Ignore:
Timestamp:
2020-03-08T21:03:29+01:00 (5 years ago)
Author:
Don-vip
Comment:

#18640 - Discourage contributors to use ref:ERDF:gdo in France + ref:FR:gdo validation

Legend:

Unmodified
Added
Removed
Modified
  • Rules/FranceSpecificRules

    v15 v16  
    5757}
    5858
     59/* #18640 - Discourage contributors to use ref:ERDF:gdo in France. */
     60*[ref:ERDF:gdo][inside("FR")] {
     61    throwWarning: tr("{0} is deprecated", "{0.tag}");
     62    suggestAlternative: "ref:FR:gdo";
     63    group: tr("deprecated tagging");
     64    fixChangeKey: "ref:ERDF:gdo=>ref:FR:gdo";
     65}
     66
     67/* #18640 - ref:FR:gdo validation */
     68*[ref:FR:gdo!~/[0-9AB]{5}[A-Z]{1,3}[0-9]{4,}/][inside("FR")] {
     69    throwWarning: tr("{0} is invalid", "{0.tag}");
     70}
     71
     72*[power=substation][!ref:FR:gdo][ref][operator~/^(Enedis|GRDF)$/][inside("FR")],
     73*[power=switch][!ref:FR:gdo][ref][operator=Enedis][inside("FR")] {
     74    throwWarning: tr("{0} without {1}", "{0.key}", "{1.tag}");
     75    group: tr("missing tag");
     76}
     77
    5978/* #18552 - Add validation rules for French telecom references */
    6079*[ref:FR:ARCEP                 ][telecom!=connection_point],