333 lines
No EOL
9.2 KiB
JSON
333 lines
No EOL
9.2 KiB
JSON
{
|
||
"id": "shops",
|
||
"title": {
|
||
"en": "Open Shop Map",
|
||
"fr": "Carte des magasins",
|
||
"ja": "オープン ショップ マップ",
|
||
"zh_Hant": "開放商店地圖"
|
||
},
|
||
"shortDescription": {
|
||
"en": "An editable map with basic shop information",
|
||
"fr": "Carte modifiable affichant les informations de base des magasins",
|
||
"ja": "基本的なショップ情報を含む編集可能なマップ"
|
||
},
|
||
"description": {
|
||
"en": "On this map, one can mark basic information about shops, add opening hours and phone numbers",
|
||
"fr": "Sur cette carte, vous pouvez ajouter des informations sur les magasins, horaires d'ouverture et numéro de téléphone",
|
||
"ja": "この地図には店の基本情報を記入したり営業時間や電話番号を追加することができます",
|
||
"zh_Hant": "這份地圖上,你可以標記商家基本資訊,新增營業時間以及聯絡電話"
|
||
},
|
||
"language": [
|
||
"en",
|
||
"fr",
|
||
"ja",
|
||
"zh_Hant",
|
||
"ru",
|
||
"ca",
|
||
"id"
|
||
],
|
||
"maintainer": "MapComplete",
|
||
"icon": "./assets/themes/shops/shop.svg",
|
||
"version": "0",
|
||
"startLat": 0,
|
||
"startLon": 0,
|
||
"startZoom": 1,
|
||
"widenFactor": 0.05,
|
||
"socialImage": "",
|
||
"layers": [
|
||
{
|
||
"id": "shops",
|
||
"name": {
|
||
"en": "Shop",
|
||
"fr": "Magasin",
|
||
"ru": "Магазин",
|
||
"ja": "店"
|
||
},
|
||
"minzoom": 16,
|
||
"source": {
|
||
"osmTags": {
|
||
"and": [
|
||
"shop~*"
|
||
]
|
||
}
|
||
},
|
||
"title": {
|
||
"render": {
|
||
"en": "Shop",
|
||
"fr": "Magasin",
|
||
"ru": "Магазин",
|
||
"ja": "店"
|
||
},
|
||
"mappings": [
|
||
{
|
||
"if": {
|
||
"and": [
|
||
"name~*"
|
||
]
|
||
},
|
||
"then": {
|
||
"en": "{name}",
|
||
"fr": "{name}",
|
||
"ru": "{name}",
|
||
"ja": "{name}"
|
||
}
|
||
},
|
||
{
|
||
"if": {
|
||
"and": [
|
||
"shop!~yes"
|
||
]
|
||
},
|
||
"then": {
|
||
"en": "{shop}",
|
||
"fr": "{shop}",
|
||
"ru": "{shop}",
|
||
"ja": "{shop}"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"description": {
|
||
"en": "A shop",
|
||
"fr": "Un magasin",
|
||
"ja": "ショップ"
|
||
},
|
||
"tagRenderings": [
|
||
"images",
|
||
{
|
||
"question": {
|
||
"en": "What is the name of this shop?",
|
||
"fr": "Qu'est-ce que le nom de ce magasin?",
|
||
"ru": "Как называется магазин?",
|
||
"ja": "このお店の名前は何ですか?"
|
||
},
|
||
"render": "This shop is called <i>{name}</i>",
|
||
"freeform": {
|
||
"key": "name"
|
||
}
|
||
},
|
||
{
|
||
"render": {
|
||
"en": "This shop sells {shop}",
|
||
"fr": "Ce magasin vends {shop}",
|
||
"ja": "こちらのお店では{shop}を販売しております"
|
||
},
|
||
"question": {
|
||
"en": "What does this shop sell?",
|
||
"fr": "Que vends ce magasin ?",
|
||
"ja": "このお店では何を売っていますか?"
|
||
},
|
||
"freeform": {
|
||
"key": "shop"
|
||
},
|
||
"mappings": [
|
||
{
|
||
"if": {
|
||
"and": [
|
||
"shop=convenience"
|
||
]
|
||
},
|
||
"then": {
|
||
"en": "Convenience store",
|
||
"fr": "Épicerie/superette",
|
||
"ja": "コンビニエンスストア"
|
||
}
|
||
},
|
||
{
|
||
"if": {
|
||
"and": [
|
||
"shop=supermarket"
|
||
]
|
||
},
|
||
"then": {
|
||
"en": "Supermarket",
|
||
"fr": "Supermarché",
|
||
"ru": "Супермаркет",
|
||
"ja": "スーパーマーケット"
|
||
}
|
||
},
|
||
{
|
||
"if": {
|
||
"and": [
|
||
"shop=clothes"
|
||
]
|
||
},
|
||
"then": {
|
||
"en": "Clothing store",
|
||
"fr": "Magasin de vêtements",
|
||
"ru": "Магазин одежды",
|
||
"ja": "衣料品店"
|
||
}
|
||
},
|
||
{
|
||
"if": {
|
||
"and": [
|
||
"shop=hairdresser"
|
||
]
|
||
},
|
||
"then": {
|
||
"en": "Hairdresser",
|
||
"fr": "Coiffeur",
|
||
"ru": "Парикмахерская",
|
||
"ja": "理容師"
|
||
}
|
||
},
|
||
{
|
||
"if": {
|
||
"and": [
|
||
"shop=bakery"
|
||
]
|
||
},
|
||
"then": {
|
||
"en": "Bakery",
|
||
"fr": "Boulangerie",
|
||
"ja": "ベーカリー"
|
||
}
|
||
},
|
||
{
|
||
"if": {
|
||
"and": [
|
||
"shop=car_repair"
|
||
]
|
||
},
|
||
"then": {
|
||
"en": "Car repair (garage)",
|
||
"fr": "Garagiste",
|
||
"ja": "自動車修理(ガレージ)"
|
||
}
|
||
},
|
||
{
|
||
"if": {
|
||
"and": [
|
||
"shop=car"
|
||
]
|
||
},
|
||
"then": {
|
||
"en": "Car dealer",
|
||
"fr": "Concessionnaire",
|
||
"ru": "Автосалон",
|
||
"ja": "自動車ディーラー"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"render": {
|
||
"en": "<a href='tel:{phone}'>{phone}</a>",
|
||
"fr": "<a href='tel:{phone}'>{phone}</a>",
|
||
"ca": "<a href='tel:{phone}'>{phone}</a>",
|
||
"id": "<a href='tel:{phone}'>{phone}</a>",
|
||
"ru": "<a href='tel:{phone}'>{phone}</a>",
|
||
"ja": "<a href='tel:{phone}'>{phone}</a>"
|
||
},
|
||
"question": {
|
||
"en": "What is the phone number?",
|
||
"fr": "Quel est le numéro de téléphone ?",
|
||
"ja": "電話番号は何番ですか?"
|
||
},
|
||
"freeform": {
|
||
"key": "phone",
|
||
"type": "phone"
|
||
}
|
||
},
|
||
{
|
||
"render": {
|
||
"en": "<a href='{website}'>{website}</a>",
|
||
"fr": "<a href='{website}'>{website}</a>",
|
||
"ca": "<a href='{website}'>{website}</a>",
|
||
"id": "<a href='{website}'>{website}</a>",
|
||
"ru": "<a href='{website}'>{website}</a>",
|
||
"ja": "<a href='{website}'>{website}</a>"
|
||
},
|
||
"question": {
|
||
"en": "What is the website of this shop?",
|
||
"fr": "Quel est le site internet de ce magasin ?",
|
||
"ja": "このお店のホームページは何ですか?"
|
||
},
|
||
"freeform": {
|
||
"key": "website",
|
||
"type": "url"
|
||
}
|
||
},
|
||
{
|
||
"render": {
|
||
"en": "<a href='mailto:{email}'>{email}</a>",
|
||
"fr": "<a href='mailto:{email}'>{email}</a>",
|
||
"id": "<a href='mailto:{email}'>{email}</a>",
|
||
"ru": "<a href='mailto:{email}'>{email}</a>",
|
||
"ja": "<a href='mailto:{email}'>{email}</a>"
|
||
},
|
||
"question": {
|
||
"en": "What is the email address of this shop?",
|
||
"fr": "Quelle est l'adresse électronique de ce magasin ?",
|
||
"ja": "このお店のメールアドレスは何ですか?"
|
||
},
|
||
"freeform": {
|
||
"key": "email",
|
||
"type": "email"
|
||
}
|
||
},
|
||
{
|
||
"render": {
|
||
"en": "{opening_hours_table(opening_hours)}",
|
||
"fr": "{opening_hours_table(opening_hours)}",
|
||
"ru": "{opening_hours_table(opening_hours)}",
|
||
"ja": "{opening_hours_table(opening_hours)}"
|
||
},
|
||
"question": {
|
||
"en": "What are the opening hours of this shop?",
|
||
"fr": "Quels sont les horaires d'ouverture de ce magasin ?",
|
||
"ja": "この店の営業時間は何時から何時までですか?"
|
||
},
|
||
"freeform": {
|
||
"key": "opening_hours",
|
||
"type": "opening_hours"
|
||
}
|
||
},
|
||
"questions",
|
||
"reviews"
|
||
],
|
||
"hideUnderlayingFeaturesMinPercentage": 0,
|
||
"icon": {
|
||
"render": "./assets/themes/shops/shop.svg"
|
||
},
|
||
"iconOverlays": [
|
||
{
|
||
"if": "opening_hours~*",
|
||
"then": "isOpen",
|
||
"badge": true
|
||
}
|
||
],
|
||
"width": {
|
||
"render": "8"
|
||
},
|
||
"iconSize": {
|
||
"render": "40,40,center"
|
||
},
|
||
"color": {
|
||
"render": "#00f"
|
||
},
|
||
"presets": [
|
||
{
|
||
"tags": [
|
||
"shop=yes"
|
||
],
|
||
"title": {
|
||
"en": "Shop",
|
||
"fr": "Magasin",
|
||
"ru": "Магазин",
|
||
"ja": "店"
|
||
},
|
||
"description": {
|
||
"en": "Add a new shop",
|
||
"fr": "Ajouter un nouveau magasin",
|
||
"ru": "Добавить новый магазин",
|
||
"ja": "新しい店を追加する"
|
||
}
|
||
}
|
||
],
|
||
"wayHandling": 2
|
||
}
|
||
],
|
||
"roamingRenderings": []
|
||
} |