mapcomplete/assets/layers/shops/shops.json

275 lines
No EOL
6 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"
},
"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"
},
"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"
},
"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": "This shop is called <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?"
}
}
},
"opening_hours",
"website",
"email",
"phone",
"payment-options",
"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": [
"amenity=",
"disused:amenity:={amenity}"
]
},
"extraDeleteReasons": [
{
"explanation": {
"nl": "{title()} is permanent gestopt",
"en": "{title()} has closed down permanently",
"de": "{title()} wurde dauerhaft geschlossen",
"es": "{title()} ha cerrado permanentemente"
},
"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": "isOpen"
}
],
"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": [
{
"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}"
}
}
]
},
{
"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}"
}
}
]
},
{
"id": "accepts-cash",
"options": [
{
"osmTags": "payment:cash=yes",
"question": {
"en": "Accepts cash",
"de": "Akzeptiert Bargeld",
"nl": "Accepteert cash",
"es": "Acepta efectivo"
}
}
]
},
{
"id": "accepts-cards",
"options": [
{
"osmTags": "payment:cards=yes",
"question": {
"en": "Accepts payment cards",
"de": "Akzeptiert Kartenzahlung",
"nl": "Accepteert betaalkaarten",
"es": "Acepta el pago por tarjeta"
}
}
]
}
]
}