mapcomplete/assets/layers/assisted_repair/assisted_repair.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

167 lines
4.2 KiB
JSON
Raw Normal View History

{
"minzoom": 1,
"pointRendering": [
{
"location": [
"point",
"centroid"
],
"marker": [
{
"icon": "circle",
"color": "white"
},
{
"icon": {
"render": "gear",
"mappings": [
{
"if": {
"or": [
"bicycle:repair=yes",
"service:bicycle:repair=yes"
]
},
"then": "./assets/layers/hackerspace/bicycle.svg"
}
]
}
}
]
}
],
"tagRenderings": [
"images",
"preset_description",
{
"question": {
"en": "What is the name of this repair workshop?"
},
"id": "name",
"render": {
"en": "This workshop is called <b>{name}</b>"
},
"freeform": {
"key": "name"
}
},
"opening_hours_by_appointment",
"contact",
"mastodon",
"facebook",
{
"question": {
"en": "What type of items are repaired here?"
},
"id": "item:repair",
"mappings": [
{
"if": "service:mobile_phone:repair=yes",
"alsoShowIf": "mobile_phone:repair=yes",
"addExtraTags": ["mobile_phone:repair="],
"then": {
"en": "Mobile phones are repaired here"
},
"ifnot": "service:mobile_phone:repair=no"
},
{
"if": "service:computer:repair=yes",
"alsoShowIf": "computer:repair=yes",
"addExtraTags": ["computer:repair="],
"then": {
"en": "Computers are repaired here"
},
"ifnot": "service:computer:repair=no"
},
{
"if": "service:bicycle:repair=yes",
"alsoShowIf": "bicycle:repair=yes",
"addExtraTags": ["bicycle:repair="],
"then": {
"en": "Bicycles are repaired here"
},
"ifnot": "service:bicycle:repair=no"
},
{
"if": "service:electronics:repair=yes",
"alsoShowIf": "bicycle:repair=yes",
"addExtraTags": ["bicycle:repair="],
"then": {
"en": "Electronic devices are repaired here"
},
"ifnot": "service:electronics:repair=no",
"icon": "./assets/layers/recycling/small_electrical_appliances.svg"
},
{
"if": "service:furniture:repair=yes",
"alsoShowIf": "furniture:repair=yes",
"addExtraTags": ["furniture:repair="],
"then": {
"en": "Furniture is repaired here"
},
"ifnot": "service:furniture:repair=no",
"icon": "./assets/layers/recycling/furniture.svg"
},
{
"if": "service:clothes:repair=yes",
"alsoShowIf": "clothes:repair=yes",
"addExtraTags": ["clothes:repair="],
"then": {
"en": "Clothes are repaired here"
},
"ifnot": "service:clothes:repair=no",
"icon": "./assets/layers/recycling/clothes.svg"
}
],
"multiAnswer": true
}
],
"lineRendering": [
{
"width": 1,
"color": "blue"
}
],
"id": "assisted_repair",
"name": {
"en": "Repair cafés and assisted repair workshops"
},
"description": {
"en": "A self-assisted workshop is a location where people can come and repair their goods with help of volunteers and with the tools available at the given location. A repair café is a type of event organized regularly along the same principles."
},
"source": {
"osmTags": "repair=assisted_self_service"
},
"title": {
"render": {
"en": "Workshop for assisted repair"
},
"mappings": [
{
"if": "name~*",
"then": {
"en": "{name}"
}
}
]
},
"deletion": {},
"allowMove": true,
"presets": [
{
"title": {
"en": "an assisted repair workshop"
},
"tags": [
"amenity=workshop",
"repair=assisted_self_service"
],
"description": {
"en": "A location with a permanent workshop where people can come to repair items with the help of volunteers."
}
}
]
}