371 lines
No EOL
9.4 KiB
JSON
371 lines
No EOL
9.4 KiB
JSON
{
|
||
"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": {
|
||
"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>"
|
||
},
|
||
"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~.*stationary.*",
|
||
"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",
|
||
"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": "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}",
|
||
"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}"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "accepts-cash",
|
||
"options": [
|
||
{
|
||
"osmTags": "payment:cash=yes",
|
||
"question": {
|
||
"en": "Accepts cash",
|
||
"de": "Akzeptiert Bargeld",
|
||
"nl": "Accepteert cash",
|
||
"es": "Acepta efectivo",
|
||
"fr": "Accepte les espèces"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"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",
|
||
"fr": "Accepte les cartes de paiement"
|
||
}
|
||
}
|
||
]
|
||
}
|
||
]
|
||
} |