2024-07-27 02:18:58 +02:00
|
|
|
{
|
|
|
|
"credits": "Not logged in",
|
|
|
|
"minzoom": 3,
|
|
|
|
"pointRendering": [
|
|
|
|
{
|
|
|
|
"location": [
|
|
|
|
"point",
|
|
|
|
"centroid"
|
|
|
|
],
|
|
|
|
"marker": [
|
|
|
|
{
|
|
|
|
"icon": "pin",
|
|
|
|
"color": "#93E800FF"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"icon": "./assets/layers/bike_repair_station/repair_station.svg"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"anchor": "bottom",
|
|
|
|
"label": {
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "name~*",
|
|
|
|
"then": {
|
|
|
|
"en": "{name}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"labelCssClasses": "bg-white rounded px-2"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tagRenderings": [
|
|
|
|
"images",
|
|
|
|
"contact",
|
|
|
|
"facebook",
|
|
|
|
"opening_hours_by_appointment",
|
|
|
|
{
|
|
|
|
"question": {
|
|
|
|
"en": "Is a membership required to borrow tools here?"
|
|
|
|
},
|
|
|
|
"id": "membership",
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"then": {
|
|
|
|
"en": "No membership is required to borrow tools here"
|
|
|
|
},
|
|
|
|
"if": "membership=no"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "membership=required",
|
|
|
|
"then": {
|
|
|
|
"en": "A <b>membership is required</b> to use this tool library"
|
|
|
|
}
|
2024-07-28 04:00:13 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "membership=optional",
|
|
|
|
"then": {
|
|
|
|
"en": "A <b>membership is possible</b> but not required to use this tool library"
|
|
|
|
}
|
2024-07-27 02:18:58 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"question": {
|
|
|
|
"en": "How much does a membership cost?"
|
|
|
|
},
|
|
|
|
"id": "membership_charge",
|
|
|
|
"questionHint": {
|
|
|
|
"en": "There might be many formulas. In case of doubt, pick the most common one"
|
|
|
|
},
|
|
|
|
"freeform": {
|
|
|
|
"key": "charge:membership",
|
|
|
|
"type": "currency"
|
|
|
|
},
|
|
|
|
"condition": "membership=required",
|
|
|
|
"render": {
|
|
|
|
"en": "A membership costs {charge:membership}"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"question": {
|
|
|
|
"en": "Is a fee asked to borrow tools?"
|
|
|
|
},
|
|
|
|
"id": "fee",
|
|
|
|
"mappings": [
|
2024-07-28 04:00:13 +02:00
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"fee=no",
|
|
|
|
"membership=required"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
2024-07-29 15:23:40 +02:00
|
|
|
"en": "Borrowing tools is free (if one has a membership)"
|
2024-07-28 04:00:13 +02:00
|
|
|
},
|
|
|
|
"hideInAnswer": "membership!=required"
|
|
|
|
},
|
2024-07-27 02:18:58 +02:00
|
|
|
{
|
|
|
|
"if": "fee=no",
|
|
|
|
"then": {
|
|
|
|
"en": "Borrowing tools is free"
|
2024-07-28 04:00:13 +02:00
|
|
|
},
|
|
|
|
"hideInAnswer": "membership=required"
|
2024-07-27 02:18:58 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "fee=yes",
|
|
|
|
"then": {
|
|
|
|
"en": "A fee is asked when borrowing tools"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "fee=donation",
|
|
|
|
"then": {
|
|
|
|
"en": "A donation can be given when borrowing tools"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"questionHint": {
|
|
|
|
"en": "If a membership is required, we assume that the membership is already paid for."
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"lineRendering": [
|
|
|
|
{
|
|
|
|
"width": 1,
|
|
|
|
"color": "blue"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id": "tool_library",
|
|
|
|
"name": {
|
|
|
|
"en": "Tool libraries"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"en": "A tool library is a place where people from the general public can borrow tools"
|
|
|
|
},
|
|
|
|
"source": {
|
|
|
|
"osmTags": "amenity=tool_library"
|
|
|
|
},
|
|
|
|
"title": {
|
|
|
|
"render": {
|
|
|
|
"en": "Tool library {name}"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"presets": [
|
|
|
|
{
|
|
|
|
"title": {
|
|
|
|
"en": "a tool library"
|
|
|
|
},
|
|
|
|
"tags": [
|
|
|
|
"amenity=tool_library"
|
|
|
|
],
|
|
|
|
"description": {
|
|
|
|
"en": "A tool library is a place where people from the general public can borrow tools"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"deletion": true,
|
|
|
|
"allowMove": true,
|
|
|
|
"units": [
|
|
|
|
{
|
|
|
|
"charge:membership": {
|
|
|
|
"inverted": true,
|
|
|
|
"quantity": "duration",
|
2024-07-28 04:00:13 +02:00
|
|
|
"denominations": [
|
|
|
|
"years",
|
|
|
|
"months",
|
|
|
|
"weeks"
|
|
|
|
]
|
2024-07-27 02:18:58 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|