95 | | -osmoseTags: list("ref", "infrastructure"); |
| 95 | -osmoseTags: list("ref", "infrastructure", "telecom"); |
| 96 | } |
| 97 | |
| 98 | /* #20607 - Add regexp validation rules for French telecom references */ |
| 99 | *["ref:FR:Orange"]["ref:FR:Orange"!~/PT[1-9]{1}[0-9]*/][inside("FR")] { |
| 100 | throwWarning: tr("{0} is invalid. Should look like PT123 without trailing zeros", "{0.tag}"); |
| 101 | -osmoseItemClassLevel: "3040/30401/3"; |
| 102 | -osmoseTags: list("ref", "infrastructure", "telecom"); |
| 103 | } |
| 104 | *["ref:FR:Orange:NRO"]["ref:FR:Orange:NRO"!~/[0-9]{5}[A-Z0-9]{3}/][inside("FR")] { |
| 105 | throwWarning: tr("{0} is invalid. Should look like 12345ABC", "{0.tag}"); |
| 106 | -osmoseItemClassLevel: "3040/30401/3"; |
| 107 | -osmoseTags: list("ref", "infrastructure", "telecom"); |
| 108 | } |
| 109 | *["ref:FR:PTT"]["ref:FR:PTT"!~/[A-Z0-9]{3}/][inside("FR")] { |
| 110 | throwWarning: tr("{0} is invalid. Should look like ABC", "{0.tag}"); |
| 111 | -osmoseItemClassLevel: "3040/30401/3"; |
| 112 | -osmoseTags: list("ref", "infrastructure", "telecom"); |
| 113 | } |
| 114 | *["ref:FR:PTT:NRA"]["ref:FR:PTT:NRA"!~/[0-9]{5}[A-Z0-9]{3}/][inside("FR")] { |
| 115 | throwWarning: tr("{0} is invalid. Should look like 12345ABC", "{0.tag}"); |
| 116 | -osmoseItemClassLevel: "3040/30401/3"; |
| 117 | -osmoseTags: list("ref", "infrastructure", "telecom"); |