mapcomplete/assets/layers/shops/shops.json

372 lines
9.4 KiB
JSON
Raw Normal View History

{
2021-11-07 14:37:21 +01:00
"id": "shops",
"name": {
"en": "Shop",
"fr": "Magasin",
"ru": "Магазин",
"ja": "店",
"nl": "Winkel",
2022-04-09 17:35:21 +02:00
"de": "Geschäfte",
2022-04-13 18:42:40 +02:00
"eo": "Butiko",
2022-06-19 22:13:38 +02:00
"ca": "Botiga",
"es": "Tienda"
2021-11-07 14:37:21 +01:00
},
"minzoom": 16,
"source": {
"osmTags": {
"and": [
"shop~*"
]
}
},
"title": {
"render": {
"en": "Shop",
"fr": "Magasin",
"ru": "Магазин",
"ja": "店",
"nl": "Winkel",
"de": "Geschäft",
2022-04-13 18:42:40 +02:00
"eo": "Butiko",
2022-06-19 22:13:38 +02:00
"ca": "Botiga",
"es": "Tienda"
},
2021-11-07 14:37:21 +01:00
"mappings": [
{
"if": {
"and": [
"name~*"
]
},
"then": {
"en": "{name}",
"fr": "{name}",
"ru": "{name}",
"ja": "{name}",
"de": "{name}",
2022-04-03 03:17:10 +02:00
"eo": "{name}",
2022-04-13 18:42:40 +02:00
"nl": "{name}",
2022-06-19 22:13:38 +02:00
"ca": "{name}",
"es": "{name}"
}
2021-11-07 14:37:21 +01:00
},
{
"if": {
"and": [
"shop!~yes"
]
},
2021-11-07 14:37:21 +01:00
"then": {
"en": "{shop}",
"fr": "{shop}",
"ru": "{shop}",
"ja": "{shop}",
"de": "{shop}",
2022-04-03 03:17:10 +02:00
"eo": "{shop}",
2022-04-13 18:42:40 +02:00
"nl": "{shop}",
2022-06-19 22:13:38 +02:00
"ca": "{shop}",
"es": "{shop}"
2021-11-07 14:37:21 +01:00
}
}
]
},
"description": {
"en": "A shop",
"fr": "Un magasin",
"ja": "ショップ",
"nl": "Een winkel",
"ru": "Магазин",
"de": "Ein Geschäft",
2022-06-03 01:42:58 +02:00
"eo": "Butiko",
2022-06-19 22:13:38 +02:00
"hu": "Egy bolt",
"es": "Una tienda"
2021-11-07 14:37:21 +01:00
},
"tagRenderings": [
"images",
{
"question": {
"en": "What is the name of this shop?",
2022-06-27 09:29:23 +02:00
"fr": "Qu'est-ce que le nom de ce magasin?",
2021-11-07 14:37:21 +01:00
"ru": "Как называется этот магазин?",
"ja": "このお店の名前は何ですか?",
"nl": "Wat is de naam van deze winkel?",
2022-06-19 22:13:38 +02:00
"de": "Wie ist der Name dieses Geschäfts?",
"es": "¿Cual es el nombre de esta tienda?"
2021-11-07 14:37:21 +01:00
},
"render": {
2022-07-27 10:16:11 +02:00
"en": "This shop is called <i>{name}</i>",
2022-07-28 09:30:45 +02:00
"de": "Der Name des Geschäfts lautet <i>{name}</i>",
"nl": "Deze zaak heet <i>{name}</i>"
},
2021-11-07 14:37:21 +01:00
"freeform": {
"key": "name"
},
"id": "shops-name"
},
2021-11-07 14:37:21 +01:00
{
"builtin": "id_presets.shop_types",
"override": {
"question": {
"en": "What kind of shop is this?",
2022-07-26 10:51:14 +02:00
"nl": "Wat voor soort winkel is dit?",
2022-07-27 10:13:31 +02:00
"de": "Um was für ein Geschäft handelt es sich?",
"fr": "Quel genre de magasin est-ce?"
2022-07-10 03:58:07 +02:00
},
"render": {
2022-07-26 10:51:14 +02:00
"en": "This is a {shop}",
2022-07-27 10:13:31 +02:00
"de": "Das ist ein {shop}",
2022-07-28 09:30:45 +02:00
"fr": "C'est une {shop}",
"nl": "Dit is een {shop}"
2022-07-10 03:58:07 +02:00
},
"freeform": {
"key": "shop",
2022-07-10 18:37:23 +02:00
"addExtraTags": [
"fixme=freeform shop key used, to be reviewed"
]
}
}
},
2022-07-02 02:45:59 +02:00
"opening_hours",
"website",
"email",
"phone",
"payment-options",
"level",
2022-07-08 15:37:31 +02:00
{
"id": "copyshop-print-sizes",
"condition": {
"or": [
"shop~.*copyshop.*",
"shop~.*stationary.*",
"service:print=yes"
]
},
"question": {
2022-07-26 10:51:14 +02:00
"en": "What paper formats does this shop offer?",
2022-07-27 10:13:31 +02:00
"de": "Welche Papierformate bietet das Geschäft an?",
2022-07-28 09:30:45 +02:00
"fr": "Quels formats de papier cette boutique propose-t-elle ?",
"nl": "Op welke papiergroottes kan deze zaak printen?"
2022-07-08 15:37:31 +02:00
},
"multiAnswer": true,
"mappings": [
{
"if": "service:print:A4=yes",
"then": {
2022-07-26 10:51:14 +02:00
"en": "This shop can print on papers of size A4",
2022-07-27 10:13:31 +02:00
"de": "Das Geschäft kann Unterlagen auf A4 Papier drucken",
2022-07-28 09:30:45 +02:00
"fr": "Cette boutique peut imprimer sur des papiers de format A4",
"nl": "Deze zaak kan printen op A4-formaat"
2022-07-08 15:37:31 +02:00
},
"ifnot": "service:print:A4=no"
},
{
"if": "service:print:A3=yes",
"then": {
2022-07-26 10:51:14 +02:00
"en": "This shop can print on papers of size A3",
2022-07-27 10:13:31 +02:00
"de": "Das Geschäft kann Unterlagen auf A3 Papier drucken",
2022-07-28 09:30:45 +02:00
"fr": "Cette boutique peut imprimer sur des papiers de format A3",
"nl": "Deze zaak kan printen op A3-formaat"
2022-07-08 15:37:31 +02:00
},
"ifnot": "service:print:A3=no"
},
{
"if": "service:print:A2=yes",
"then": {
2022-07-26 10:51:14 +02:00
"en": "This shop can print on papers of size A2",
2022-07-27 10:13:31 +02:00
"de": "Das Geschäft kann Unterlagen auf A2 Papier drucken",
2022-07-28 09:30:45 +02:00
"fr": "Cette boutique peut imprimer sur des papiers de format A2",
"nl": "Deze zaak kan printen op A2-formaat"
2022-07-08 15:37:31 +02:00
},
"ifnot": "service:print:A2=no"
},
{
"if": "service:print:A1=yes",
"then": {
2022-07-26 10:51:14 +02:00
"en": "This shop can print on papers of size A1",
2022-07-27 10:13:31 +02:00
"de": "Das Geschäft kann Unterlagen auf A1 Papier drucken",
2022-07-28 09:30:45 +02:00
"fr": "Cette boutique peut imprimer sur des papiers de format A1",
"nl": "Deze zaak kan printen op A1-formaat"
2022-07-08 15:37:31 +02:00
},
"ifnot": "service:print:A1=no"
},
{
"if": "service:print:A0=yes",
"then": {
2022-07-26 10:51:14 +02:00
"en": "This shop can print on papers of size A0",
2022-07-27 10:13:31 +02:00
"de": "Das Geschäft kann Unterlagen auf A0 Papier drucken",
2022-07-28 09:30:45 +02:00
"fr": "Cette boutique peut imprimer sur des papiers de format A0",
"nl": "Deze zaak kan printen op A0-formaat"
2022-07-08 15:37:31 +02:00
},
"ifnot": "service:print:A0=no"
}
]
},
"internet",
"internet-fee",
"internet-ssid",
2021-11-07 14:37:21 +01:00
"questions",
"reviews"
],
"presets": [
{
"tags": [
"shop=yes"
],
"title": {
2022-04-03 03:10:06 +02:00
"en": "a shop",
"fr": "une magasin",
2021-11-07 14:37:21 +01:00
"ru": "Магазин",
"ja": "店",
"nl": "een winkel",
2022-06-01 20:21:16 +02:00
"de": "ein Geschäft",
2022-06-19 22:13:38 +02:00
"eo": "Butiko",
"es": "una tienda"
2021-11-07 14:37:21 +01:00
},
"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",
2022-06-19 22:13:38 +02:00
"eo": "Enmeti novan butikon",
"es": "Añadir una nueva tienda"
2021-11-07 14:37:21 +01:00
}
}
],
"deletion": {
"softDeletionTags": {
"and": [
2022-08-13 10:33:41 +02:00
"shop=",
"disused:shop:={shop}"
2021-11-07 14:37:21 +01:00
]
},
"extraDeleteReasons": [
{
"explanation": {
"nl": "{title()} is permanent gestopt",
2022-04-18 01:47:54 +02:00
"en": "{title()} has closed down permanently",
2022-06-19 22:13:38 +02:00
"de": "{title()} wurde dauerhaft geschlossen",
2022-07-27 10:13:31 +02:00
"es": "{title()} ha cerrado permanentemente",
"fr": "{title()} a fermé définitivement"
},
"changesetMessage": "shop_closed"
}
]
2021-11-07 14:37:21 +01:00
},
2021-11-07 15:31:55 +01:00
"allowMove": true,
"mapRendering": [
{
"icon": {
"builtin": "id_presets.shop_rendering",
"override": {
"render": "./assets/layers/id_presets/maki-shop.svg"
}
2021-11-07 15:31:55 +01:00
},
"iconBadges": [
{
2021-11-07 15:31:55 +01:00
"if": "opening_hours~*",
"then": "isOpen"
}
2021-11-07 15:31:55 +01:00
],
2022-03-16 00:20:15 +01:00
"label": {
"mappings": [
{
"if": "name~*",
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
}
]
},
2021-11-07 15:31:55 +01:00
"iconSize": {
"render": "40,40,center"
},
"location": [
"point",
"centroid"
]
},
{
"color": {
"render": "#00f"
},
"width": {
"render": "8"
}
}
2022-04-04 05:12:14 +02:00
],
"filter": [
{
"id": "shop-type",
2022-04-07 03:14:21 +02:00
"options": [
{
"fields": [
{
"name": "search",
"type": "string"
}
],
"osmTags": "shop~i~.*{search}.*",
2022-04-07 03:14:21 +02:00
"question": {
2022-04-09 17:35:21 +02:00
"en": "Only show shops selling {search}",
2022-04-13 18:42:40 +02:00
"de": "Nur Geschäfte, die {search} verkaufen",
2022-06-19 22:13:38 +02:00
"nl": "Toon enkel winkels die {search} verkopen",
2022-07-27 10:13:31 +02:00
"es": "Solo mostrar tiendas que vendan {search}",
"fr": "N'afficher que les magasins vendant {search}"
2022-04-07 03:14:21 +02:00
}
2022-04-04 05:12:14 +02:00
}
]
},
{
"id": "shop-name",
2022-04-07 03:14:21 +02:00
"options": [
{
"fields": [
{
"name": "search",
"type": "string"
}
],
"osmTags": "name~i~.*{search}.*",
2022-04-07 03:14:21 +02:00
"question": {
2022-04-09 17:35:21 +02:00
"en": "Only show shops with name {search}",
2022-04-13 18:42:40 +02:00
"de": "Nur Geschäfte mit dem Namen {search} anzeigen",
2022-06-19 22:13:38 +02:00
"nl": "Toon enkel winkels met naam {search}",
2022-07-27 10:13:31 +02:00
"es": "Solo mostrar tiendas con nombre {search}",
"fr": "N'afficher que les magasins portant le nom {search}"
2022-04-07 03:14:21 +02:00
}
2022-04-04 05:12:14 +02:00
}
2022-04-07 03:14:21 +02:00
]
},
{
"id": "accepts-cash",
"options": [
{
"osmTags": "payment:cash=yes",
"question": {
2022-05-06 12:17:21 +02:00
"en": "Accepts cash",
2022-06-08 01:47:07 +02:00
"de": "Akzeptiert Bargeld",
2022-06-19 22:13:38 +02:00
"nl": "Accepteert cash",
2022-07-27 10:13:31 +02:00
"es": "Acepta efectivo",
"fr": "Accepte les espèces"
}
}
]
},
{
"id": "accepts-cards",
"options": [
{
"osmTags": "payment:cards=yes",
"question": {
2022-05-06 12:17:21 +02:00
"en": "Accepts payment cards",
2022-06-08 01:47:07 +02:00
"de": "Akzeptiert Kartenzahlung",
2022-06-19 22:13:38 +02:00
"nl": "Accepteert betaalkaarten",
2022-07-27 10:13:31 +02:00
"es": "Acepta el pago por tarjeta",
"fr": "Accepte les cartes de paiement"
}
}
]
2022-04-07 03:14:21 +02:00
}
2021-11-07 15:31:55 +01:00
]
2022-08-13 10:33:41 +02:00
}