mapcomplete/assets/layers/shops/shops.json

415 lines
No EOL
11 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": "دکان"
},
"minzoom": 16,
"source": {
"osmTags": {
"and": [
"shop~*"
]
}
},
"title": {
"render": {
"en": "Shop",
"fr": "Magasin",
"ru": "Магазин",
"ja": "店",
"nl": "Winkel",
"de": "Geschäft",
"eo": "Butiko",
"ca": "Botiga",
"es": "Tienda",
"pa_PK": "دکان"
},
"mappings": [
{
"if": {
"and": [
"name~*"
]
},
"then": {
"en": "{name}",
"fr": "{name}",
"ru": "{name}",
"ja": "{name}",
"de": "{name}",
"eo": "{name}",
"nl": "{name}",
"ca": "{name}",
"es": "{name}"
}
},
{
"if": {
"and": [
"shop!~yes"
]
},
"then": {
"en": "{shop}",
"fr": "{shop}",
"ru": "{shop}",
"ja": "{shop}",
"de": "{shop}",
"eo": "{shop}",
"nl": "{shop}",
"ca": "{shop}",
"es": "{shop}"
}
}
]
},
"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"
},
"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?"
},
"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>"
},
"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?"
},
"render": {
"en": "This is a {shop}",
"de": "Das ist ein {shop}",
"fr": "C'est une {shop}",
"nl": "Dit is een {shop}"
},
"freeform": {
"key": "shop",
"addExtraTags": [
"fixme=freeform shop key used, to be reviewed"
]
}
}
},
"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?"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"ifnot": "service:print:A0=no"
}
]
},
"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?"
},
"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"
}
},
{
"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"
}
},
{
"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"
}
}
],
"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"
]
}
},
"questions",
"reviews"
],
"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"
},
"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"
}
}
],
"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"
},
"changesetMessage": "shop_closed"
}
]
},
"allowMove": true,
"mapRendering": [
{
"icon": {
"builtin": "id_presets.shop_rendering",
"override": {
"render": "./assets/layers/id_presets/maki-shop.svg"
}
},
"iconBadges": [
{
"if": "opening_hours~*",
"then": "icons.isOpen"
},
{
"if": {
"or": [
"organic=yes",
"organic=only"
]
},
"then": "./assets/layers/food/organic.svg"
}
],
"label": {
"mappings": [
{
"if": "name~*",
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
}
]
},
"iconSize": {
"render": "40,40,center"
},
"location": [
"point",
"centroid"
]
},
{
"color": {
"render": "#00f"
},
"width": {
"render": "8"
}
}
],
"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}"
}
}
]
},
{
"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}"
}
}
]
},
"accepts_cash",
"accepts_cards",
"has_organic"
]
}