Themes: add validation check if a mapping does not erase another mapping completely

This commit is contained in:
Pieter Vander Vennet 2023-11-09 15:42:15 +01:00
parent 7d43bb5983
commit 556f6d0b93
43 changed files with 5015 additions and 4778 deletions

View file

@ -201,6 +201,7 @@
"nohousenumber=yes"
]
},
"addExtraTags": ["addr:housenumber="],
"then": {
"en": "This building has no house number",
"nl": "Dit gebouw heeft geen huisnummer",

View file

@ -1122,7 +1122,8 @@
"pl": "To jest lampa neonowa",
"pt_BR": "Isso é uma luz de neon"
},
"hideInAnswer": "advertising!=sign"
"hideInAnswer": "advertising!=sign",
"addExtraTags": ["lit=no"]
}
],
"condition": {

View file

@ -180,6 +180,7 @@
},
{
"if": "backrest=no",
"addExtraTags": ["two_sided="],
"then": {
"en": "Does <b>not</b> have a backrest",
"de": "Die Sitzbank hat <b>keine</b> Rückenlehne",
@ -253,7 +254,8 @@
},
"freeform": {
"key": "seats",
"type": "nat"
"type": "nat",
"addExtraTags": ["seats:separated="]
},
"question": {
"en": "How many seats does this bench have?",
@ -282,6 +284,7 @@
"mappings": [
{
"if": "seats:separated=no",
"addExtraTags": ["seats="],
"then": {
"en": "This bench does not have separated seats",
"nl": "Deze bank is niet ingedeeld in aparte zitplaatsen",
@ -1052,7 +1055,8 @@
"pt_BR": "Esse banco é um memorial para alguém ou alguma coisa"
},
"addExtraTags": [
"memorial=bench"
"memorial=bench",
"not:historic="
]
},
{

View file

@ -178,6 +178,7 @@
},
{
"if": "shop=rental",
"then": {
"en": "This is a rental business which rents out various objects and/or vehicles. It rents out bicycles too, but this is not the main focus",
"nl": "Dit is een zaak die verschillende voorwerpen en/of voertuigen verhuurt, waaronder ook fietsen; al zijn fietsen niet de hoofdfocus",
@ -211,6 +212,7 @@
},
{
"if": "bicycle_rental=docking_station",
"addExtraTags": ["service:bicycle:rental="],
"then": {
"en": "This is an automated docking station, where a bicycle is mechanically locked to a structure",
"nl": "Dit is een docking station waar de fietsen mechanisch in een grotere structuur worden vastgemaakt",
@ -225,6 +227,7 @@
},
{
"if": "bicycle_rental=key_dispensing_machine",
"addExtraTags": ["service:bicycle:rental="],
"then": {
"en": "A machine is present which dispenses and accepts keys, eventually after authentication and/or payment. The bicycles are parked nearby",
"nl": "Hier is een machine die fietssleutels verdeelt en terugneemt, eventueel na aanmelden of betaling. De fietsen staan in de buurt geparkeerd",
@ -240,6 +243,7 @@
},
{
"if": "bicycle_rental=dropoff_point",
"addExtraTags": ["service:bicycle:rental="],
"then": {
"en": "This is a dropoff point, e.g. a reserved parking to place the bicycles clearly marked as being for the rental service only",
"nl": "Dit is een dropzone, bv. een fietsparkeerplaats die is voorbehouden voor fietsverhuur",

View file

@ -95,6 +95,7 @@
"freeform": {
"key": "name",
"type": "string",
"addExtraTags": ["noname="],
"placeholder": {
"en": "Name of the car rental",
"nl": "Naam van de autoverhuur",
@ -117,6 +118,7 @@
"mappings": [
{
"if": "noname=yes",
"addExtraTags": ["name="],
"then": {
"en": "This car rental has no name",
"nl": "Deze autoverhuur heeft geen naam",

View file

@ -581,6 +581,7 @@
"mappings": [
{
"if": "recycling_type=container",
"addExtraTags": ["amenity=recycling"],
"then": {
"en": "This is a recycling container",
"nl": "Dit is een recyclingcontainer",
@ -594,6 +595,7 @@
},
{
"if": "recycling_type=centre",
"addExtraTags": ["amenity=recycling"],
"then": {
"en": "This is a recycling centre",
"nl": "Dit is een recyclingcentrum",
@ -644,6 +646,7 @@
},
{
"if": "recycling_type=pickup_point",
"addExtraTags": ["amenity=recycling"],
"then": {
"en": "This is a pickup point. The waste material is placed here without placing it in a dedicated container.",
"nl": "Dit is een verzamelplaats zonder container waar het afval later opgepikt wordt.",
@ -655,6 +658,7 @@
},
{
"if": "recycling_type=dump",
"addExtraTags": ["amenity=recycling"],
"then": {
"en": "This is a dump where the waste material is stacked.",
"nl": "Dit is een afvalhoop waar het afvalmateriaal bovenop elkaar gestapeld wordt.",