mapcomplete/assets/layers/shops/shops.json

649 lines
18 KiB
JSON
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"id": "shops",
"name": {
"en": "Shop",
"fr": "Magasin",
"ru": "Магазин",
"ja": "店",
"nl": "Winkel",
"de": "Geschäfte",
"eo": "Butiko",
"ca": "Botiga",
"es": "Tienda",
"pa_PK": "دکان",
"cs": "Obchod"
},
"description": {
"en": "A shop",
"fr": "Un magasin",
"ja": "ショップ",
"nl": "Een winkel",
"ru": "Магазин",
"de": "Ein Geschäft",
"eo": "Butiko",
"hu": "Egy bolt",
"es": "Una tienda",
"ca": "Una botiga",
"cs": "Obchod"
},
"source": {
"osmTags": {
"and": [
{
"or": [
"shop~*",
"craft=shoe_repair",
"craft=key_cutter"
]
},
"shop!=mall"
]
}
},
"minzoom": 12,
"title": {
"render": {
"en": "Shop",
"fr": "Magasin",
"ru": "Магазин",
"ja": "店",
"nl": "Winkel",
"de": "Geschäft",
"eo": "Butiko",
"ca": "Botiga",
"es": "Tienda",
"pa_PK": "دکان",
"cs": "Obchod"
},
"mappings": [
{
"if": {
"and": [
"name~*"
]
},
"then": {
"en": "{name}",
"fr": "{name}",
"ru": "{name}",
"ja": "{name}",
"de": "{name}",
"eo": "{name}",
"nl": "{name}",
"ca": "{name}",
"es": "{name}",
"cs": "{name}"
}
},
{
"if": {
"and": [
"shop!~yes"
]
},
"then": {
"en": "{shop}",
"fr": "{shop}",
"ru": "{shop}",
"ja": "{shop}",
"de": "{shop}",
"eo": "{shop}",
"nl": "{shop}",
"ca": "{shop}",
"es": "{shop}",
"cs": "{shop}"
}
}
]
},
"pointRendering": [
{
"marker": [
{
"icon": "circle",
"color": "white"
},
{
"icon": {
"builtin": "id_presets.shop_rendering",
"override": {
"render": "./assets/layers/id_presets/maki-shop.svg",
"+mappings": [
{
"#": "Layer icon rendering",
"if": "id=",
"then": "./assets/layers/id_presets/maki-shop.svg"
},
{
"if": {
"or": [
"shop=vacant",
"shop=disused",
"disused:shop=yes"
]
},
"then": "./assets/layers/shops/shop-disused.svg"
},
{
"if": "craft=shoemaker",
"then": "./assets/layers/id_presets/temaki-hammer_shoe.svg"
}
],
"mappings+": [
{
"if": "craft=key_cutter",
"then": "./assets/layers/id_presets/fas-key.svg"
}
]
}
}
}
],
"iconBadges": [
{
"if": "opening_hours~*",
"then": "icons.isOpen"
},
{
"if": {
"or": [
"organic=yes",
"organic=only"
]
},
"then": "./assets/layers/food/organic.svg"
},
{
"if": {
"or": [
"service:key_cutting=yes",
"craft=key_cutter"
]
},
"then": "circle:white;./assets/layers/id_presets/fas-key.svg"
}
],
"label": {
"mappings": [
{
"if": "name~*",
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
}
]
},
"iconSize": "40,40",
"location": [
"point",
"centroid"
],
"anchor": "center"
}
],
"lineRendering": [
{
"color": "#00f",
"width": "8"
}
],
"presets": [
{
"tags": [
"shop=yes"
],
"title": {
"en": "a shop",
"fr": "une magasin",
"ru": "Магазин",
"ja": "店",
"nl": "een winkel",
"de": "ein Geschäft",
"eo": "Butiko",
"es": "una tienda",
"ca": "una botiga",
"cs": "obchod"
},
"description": {
"en": "Add a new shop",
"fr": "Ajouter un nouveau magasin",
"ru": "Добавить новый магазин",
"ja": "新しい店を追加する",
"nl": "Voeg een nieuwe winkel toe",
"de": "Ein neues Geschäft hinzufügen",
"eo": "Enmeti novan butikon",
"es": "Añadir una nueva tienda",
"ca": "Afegir una botiga nova",
"cs": "Přidat nový obchod"
}
}
],
"tagRenderings": [
"images",
{
"question": {
"en": "What is the name of this shop?",
"fr": "Qu'est-ce que le nom de ce magasin?",
"ru": "Как называется этот магазин?",
"ja": "このお店の名前は何ですか?",
"nl": "Wat is de naam van deze winkel?",
"de": "Wie ist der Name dieses Geschäfts?",
"es": "¿Cual es el nombre de esta tienda?",
"ca": "Quin és el nom d'aquesta botiga?",
"cs": "Jak se jmenuje tento obchod?"
},
"render": {
"en": "This shop is called <i>{name}</i>",
"de": "Der Name des Geschäfts lautet <i>{name}</i>",
"nl": "Deze zaak heet <i>{name}</i>",
"ca": "La botiga s'anomena <i>{name}</i>",
"fr": "Ce commerce s'appelle <i>{name}</i>",
"cs": "Tento obchod se jmenuje <i>{name}</i>"
},
"freeform": {
"key": "name"
},
"id": "shops-name"
},
{
"builtin": "id_presets.shop_types",
"override": {
"question": {
"en": "What kind of shop is this?",
"nl": "Wat voor soort winkel is dit?",
"de": "Um was für ein Geschäft handelt es sich?",
"fr": "Quel genre de magasin est-ce?",
"ca": "Quin tipus de botiga és aquesta?",
"cs": "Co je to za obchod?"
},
"render": {
"en": "This is a {shop}",
"de": "Das ist ein {shop}",
"fr": "C'est une {shop}",
"nl": "Dit is een {shop}",
"ca": "Açò és una {shop}",
"cs": "Toto je {shop}"
},
"freeform": {
"key": "shop",
"addExtraTags": [
"fixme=freeform shop key used, to be reviewed"
]
},
"condition": "craft=",
"invalidValues": "shop=yes"
}
},
{
"id": "second_hand",
"question": {
"en": "Does this shop sell second-hand items?",
"de": "Verlauft das Geschäft auch Second-Hand-Produkte?",
"cs": "Prodává tento obchod použité zboží?"
},
"mappings": [
{
"if": "second_hand=only",
"then": "This shop sells second-hand items <b>only</b>"
},
{
"if": "second_hand=yes",
"then": "This shop sells second-hand items along with new items"
},
{
"if": "second_hand=no",
"then": "This shop only sells brand-new items"
}
],
"condition": {
"or": [
"shop=clothes",
"shop=car",
"shop=books",
"shop=charity",
"shop=car_repair",
"shop=furniture",
"shop=bicycle",
"shop=bicycle",
"shop=mobile_phone",
"shop=computer",
"shop=toys"
]
}
},
"opening_hours",
"website",
"email",
"phone",
"payment-options",
"level",
{
"id": "copyshop-print-sizes",
"condition": {
"or": [
"shop~.*copyshop.*",
"shop~.*stationery.*",
"service:print=yes"
]
},
"question": {
"en": "What paper formats does this shop offer?",
"de": "Welche Papierformate bietet das Geschäft an?",
"fr": "Quels formats de papier cette boutique propose-t-elle ?",
"nl": "Op welke papiergroottes kan deze zaak printen?",
"ca": "Quins formats de paper ofereix aquesta botiga?",
"cs": "Jaké formáty papíru tento obchod nabízí?"
},
"multiAnswer": true,
"mappings": [
{
"if": "service:print:A4=yes",
"then": {
"en": "This shop can print on papers of size A4",
"de": "Das Geschäft kann Unterlagen auf A4 Papier drucken",
"fr": "Cette boutique peut imprimer sur des papiers de format A4",
"nl": "Deze zaak kan printen op A4-formaat",
"ca": "Aquesta botiga pot imprimir en papers de mida A4",
"cs": "Tento obchod umí tisknout na papíry velikosti A4"
},
"ifnot": "service:print:A4=no"
},
{
"if": "service:print:A3=yes",
"then": {
"en": "This shop can print on papers of size A3",
"de": "Das Geschäft kann Unterlagen auf A3 Papier drucken",
"fr": "Cette boutique peut imprimer sur des papiers de format A3",
"nl": "Deze zaak kan printen op A3-formaat",
"ca": "Aquesta botiga pot imprimir en papers de mida A3",
"cs": "Tento obchod umí tisknout na papíry velikosti A3"
},
"ifnot": "service:print:A3=no"
},
{
"if": "service:print:A2=yes",
"then": {
"en": "This shop can print on papers of size A2",
"de": "Das Geschäft kann Unterlagen auf A2 Papier drucken",
"fr": "Cette boutique peut imprimer sur des papiers de format A2",
"nl": "Deze zaak kan printen op A2-formaat",
"ca": "Aquesta botiga pot imprimir en papers de mida A2",
"cs": "Tento obchod umí tisknout na papíry velikosti A2"
},
"ifnot": "service:print:A2=no"
},
{
"if": "service:print:A1=yes",
"then": {
"en": "This shop can print on papers of size A1",
"de": "Das Geschäft kann Unterlagen auf A1 Papier drucken",
"fr": "Cette boutique peut imprimer sur des papiers de format A1",
"nl": "Deze zaak kan printen op A1-formaat",
"ca": "Aquesta botiga pot imprimir en papers de mida A1",
"cs": "Tento obchod umí tisknout na papíry velikosti A1"
},
"ifnot": "service:print:A1=no"
},
{
"if": "service:print:A0=yes",
"then": {
"en": "This shop can print on papers of size A0",
"de": "Das Geschäft kann Unterlagen auf A0 Papier drucken",
"fr": "Cette boutique peut imprimer sur des papiers de format A0",
"nl": "Deze zaak kan printen op A0-formaat",
"ca": "Aquesta botiga pot imprimir en papers de mida A0",
"cs": "Tento obchod umí tisknout na papíry velikosti A0"
},
"ifnot": "service:print:A0=no"
}
]
},
{
"id": "key_cutter",
"question": {
"en": "Does this shop offer key cutting?",
"de": "Bietet dieser Laden Schlüsselschneiden an?"
},
"mappings": [
{
"if": "craft=key_cutter",
"#": "Many shoe repair shops are also specialized in key cutting and deserve the 'craft'-tag. Some other shops (often DIY- and home-improvement stores) offer it as a service, but rather limited/on the side",
"hideInAnswer": "shop!=shoe_repair",
"icon": "./assets/layers/id_presets/fas-key.svg",
"then": {
"en": "This shop is also specialized in key cutting",
"de": "Dieser Laden ist auch auf das Schlüsselschneiden spezialisiert"
},
"addExtraTags": [
"service:key_cutting=yes"
]
},
{
"if": "service:key_cutting=yes",
"icon": "./assets/layers/id_presets/fas-key.svg",
"then": {
"en": "This shop offers key cutting as a service",
"de": "Dieser Laden bietet Schlüsselschneiden als Dienstleistung an"
}
},
{
"if": {
"and": [
"craft=",
"service:key_cutting=no"
]
},
"then": {
"en": "This shops does not offer key cutting as a service",
"de": "Dieser Laden bietet kein Schlüsselschneiden als Dienstleistung an"
}
}
],
"condition": {
"or": [
"shop=shoe_repair",
"service:key_cutting~*",
"craft=key_cutting",
"shop=diy",
"shop=doityourself",
"shop=home_improvement",
"shop=hardware",
"shop=locksmith",
"shop=repair"
]
}
},
"internet",
"internet-fee",
"internet-ssid",
{
"id": "organic",
"question": {
"en": "Does this shop offer organic products?",
"de": "Bietet dieses Geschäft Bioprodukte an?",
"nl": "Biedt deze winkel biologische producten aan?",
"ca": "Aquesta botiga ofereix productes orgànics?",
"fr": "Ce commerce propose-t-il des produits bio ?",
"cs": "Nabízí tento obchod bio produkty?"
},
"mappings": [
{
"if": "organic=yes",
"then": {
"en": "This shop offers organic products",
"de": "Dieses Geschäft bietet Bio-Produkte an",
"nl": "Deze winkel biedt biologische producten aan",
"ca": "Aquesta botiga ofereix productes orgànics",
"fr": "Ce commerce propose des produits bio",
"cs": "Tento obchod nabízí bio produkty"
}
},
{
"if": "organic=only",
"then": {
"en": "This shop only offers organic products",
"de": "Dieses Geschäft bietet ausschließlich Bio-Produkte an",
"nl": "Deze winkel biedt uitluitend biologische producten aan",
"ca": "Aquesta botiga sols ofereix productes orgànics",
"fr": "Ce commerce ne propose que des produits bio",
"cs": "Tento obchod nabízí pouze bio produkty"
}
},
{
"if": "organic=no",
"then": {
"en": "This shop does not offer organic products",
"de": "Dieses Geschäft bietet keine Bioprodukte an",
"nl": "Deze winkel heeft geen biologische producten",
"ca": "Aquesta botiga no ofereix productes orgànics",
"fr": "Ce commerce ne propose pas de produit bio",
"cs": "Tento obchod nenabízí bio produkty"
}
}
],
"condition": {
"or": [
"shop=supermarket",
"shop=convenience",
"shop=farm",
"shop=greengrocer",
"shop=health_food",
"shop=clothes",
"shop=shoes",
"shop=butcher",
"shop=cosmetics",
"shop=deli",
"shop=bakery",
"shop=alcohol",
"shop=seafood",
"shop=beverages",
"shop=florist"
]
}
},
{
"id": "diets",
"builtin": [
"sugar_free",
"gluten_free",
"lactose_free"
],
"override": {
"condition": {
"or": [
"shop=supermarket",
"shop=convenience",
"shop=farm",
"shop=greengrocer",
"shop=health_food",
"shop=deli",
"shop=bakery",
"shop=beverages",
"shop=beverages",
"shop=pastry",
"shop=chocolate",
"shop=frozen_food",
"shop=ice_cream"
]
}
}
},
"questions",
"reviews"
],
"filter": [
"open_now",
{
"id": "shop-type",
"options": [
{
"fields": [
{
"name": "search",
"type": "string"
}
],
"osmTags": "shop~i~.*{search}.*",
"question": {
"en": "Only show shops selling {search}",
"de": "Nur Geschäfte, die {search} verkaufen",
"nl": "Toon enkel winkels die {search} verkopen",
"es": "Solo mostrar tiendas que vendan {search}",
"fr": "N'afficher que les magasins vendant {search}",
"ca": "Sols mostrar botigues que venen {search}",
"cs": "Zobrazit pouze obchody prodávající {search}"
}
}
]
},
{
"id": "shop-name",
"options": [
{
"fields": [
{
"name": "search",
"type": "string"
}
],
"osmTags": "name~i~.*{search}.*",
"question": {
"en": "Only show shops with name {search}",
"de": "Nur Geschäfte mit dem Namen {search} anzeigen",
"nl": "Toon enkel winkels met naam {search}",
"es": "Solo mostrar tiendas con nombre {search}",
"fr": "N'afficher que les magasins portant le nom {search}",
"cs": "Zobrazit pouze obchody s názvem {search}"
}
}
]
},
"accepts_cash",
"accepts_cards",
"has_organic",
{
"id": "second_hand",
"options": [
{
"question": {
"en": "Only show shops selling second-hand items",
"de": "Nur Second-Hand-Geschäfte anzeigen",
"cs": "Zobrazit pouze obchody prodávající použité zboží"
},
"osmTags": {
"or": [
"shop=second_hand",
"shop=charity",
"second_hand=yes",
"second_hand=only"
]
}
}
]
},
"sugar_free",
"gluten_free",
"lactose_free"
],
"deletion": {
"softDeletionTags": {
"and": [
"shop=",
"disused:shop:={shop}"
]
},
"extraDeleteReasons": [
{
"explanation": {
"nl": "{title()} is permanent gestopt",
"en": "{title()} has closed down permanently",
"de": "{title()} wurde dauerhaft geschlossen",
"es": "{title()} ha cerrado permanentemente",
"fr": "{title()} a fermé définitivement",
"ca": "{title()} ha tancat permanentment",
"cs": "{title()} je trvale uzavřen"
},
"changesetMessage": "shop_closed"
}
]
},
"allowMove": true
}