210 lines
6.6 KiB
JSON
210 lines
6.6 KiB
JSON
{
|
|
"id": "tool_library",
|
|
"name": {
|
|
"en": "Tool libraries",
|
|
"de": "Werkzeugbibliothek",
|
|
"es": "Bibliotecas de herramientas"
|
|
},
|
|
"description": {
|
|
"en": "A tool library is a place where people from the general public can borrow tools",
|
|
"de": "Eine Werkzeugbibliothek ist ein Ort, an dem Menschen aus der Öffentlichkeit Werkzeuge ausleihen können",
|
|
"es": "Una biblioteca de herramientas es un lugar donde las personas del público en general pueden pedir prestadas herramientas"
|
|
},
|
|
"source": {
|
|
"osmTags": "amenity=tool_library"
|
|
},
|
|
"minzoom": 3,
|
|
"title": {
|
|
"render": {
|
|
"en": "Tool library {name}",
|
|
"de": "Werkzeugbibliothek {name}",
|
|
"es": "Biblioteca de herramientas {name}"
|
|
}
|
|
},
|
|
"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}",
|
|
"de": "{name}",
|
|
"es": "{name}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"labelCssClasses": "bg-white rounded px-2"
|
|
}
|
|
],
|
|
"lineRendering": [
|
|
{
|
|
"width": 1,
|
|
"color": "blue"
|
|
}
|
|
],
|
|
"presets": [
|
|
{
|
|
"title": {
|
|
"en": "a tool library",
|
|
"de": "Eine Werkzeugbibliothek",
|
|
"es": "una biblioteca de herramientas"
|
|
},
|
|
"tags": [
|
|
"amenity=tool_library"
|
|
],
|
|
"description": {
|
|
"en": "A tool library is a place where people from the general public can borrow tools",
|
|
"de": "Eine Werkzeugbibliothek ist ein Ort, an dem Menschen aus der Öffentlichkeit Werkzeuge ausleihen können",
|
|
"es": "Una biblioteca de herramientas es un lugar donde las personas del público en general pueden pedir prestadas herramientas"
|
|
}
|
|
}
|
|
],
|
|
"tagRenderings": [
|
|
"images",
|
|
"contact",
|
|
"facebook",
|
|
"opening_hours_by_appointment",
|
|
{
|
|
"question": {
|
|
"en": "Is a membership required to borrow tools here?",
|
|
"de": "Ist eine Mitgliedschaft erforderlich, um hier Werkzeuge auszuleihen?",
|
|
"es": "¿Se requiere una membresía para pedir herramientas prestadas aquí?"
|
|
},
|
|
"id": "membership",
|
|
"mappings": [
|
|
{
|
|
"then": {
|
|
"en": "No membership is required to borrow tools here",
|
|
"de": "Keine Mitgliedschaft ist erforderlich, um hier Werkzeuge auszuleihen",
|
|
"es": "No se requiere membresía para pedir herramientas prestadas aquí"
|
|
},
|
|
"if": "membership=no"
|
|
},
|
|
{
|
|
"if": "membership=required",
|
|
"then": {
|
|
"en": "A <b>membership is required</b> to use this tool library",
|
|
"de": "Eine <b>Mitgliedschaft ist erforderlich</b>, um diese Werkzeugbibliothek zu nutzen",
|
|
"es": "Se <b>requiere una membresía</b> para usar esta biblioteca de herramientas"
|
|
}
|
|
},
|
|
{
|
|
"if": "membership=optional",
|
|
"then": {
|
|
"en": "A <b>membership is possible</b> but not required to use this tool library",
|
|
"de": "Eine <b> Mitgliedschaft ist möglich</b> , aber nicht erforderlich, um diese Werkzeugbibliothek zu nutzen",
|
|
"es": "Una <b>membresía es posible</b> pero no se requiere para usar esta biblioteca de herramientas"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"question": {
|
|
"en": "How much does a membership cost?",
|
|
"de": "Wie viel kostet eine Mitgliedschaft?",
|
|
"es": "¿Cuánto cuesta una membresía?"
|
|
},
|
|
"id": "membership_charge",
|
|
"questionHint": {
|
|
"en": "There might be many formulas. In case of doubt, pick the most common one",
|
|
"de": "Es gibt möglicherweise viele Modelle. Im Zweifelsfall wähle das häufigste",
|
|
"es": "Puede haber muchas fórmulas. En caso de duda, elige la más común"
|
|
},
|
|
"freeform": {
|
|
"key": "charge:membership",
|
|
"type": "currency"
|
|
},
|
|
"condition": "membership=required",
|
|
"render": {
|
|
"en": "A membership costs {charge:membership}",
|
|
"de": "Eine Mitgliedschaft kostet {charge:membership}",
|
|
"es": "Una membresía cuesta {charge:membership}"
|
|
}
|
|
},
|
|
{
|
|
"question": {
|
|
"en": "Is a fee asked to borrow tools?",
|
|
"de": "Wird eine Gebühr erhoben, um Werkzeuge auszuleihen?",
|
|
"es": "¿Se cobra una tarifa por pedir herramientas prestadas?"
|
|
},
|
|
"id": "fee",
|
|
"mappings": [
|
|
{
|
|
"if": {
|
|
"and": [
|
|
"fee=no",
|
|
"membership=required"
|
|
]
|
|
},
|
|
"then": {
|
|
"en": "Borrowing tools is free (if one has a membership)",
|
|
"de": "Werkzeuge ausleihen ist kostenlos (wenn man eine Mitgliedschaft hat)",
|
|
"es": "Pedir herramientas prestadas es gratuito (si se tiene una membresía)"
|
|
},
|
|
"hideInAnswer": "membership!=required"
|
|
},
|
|
{
|
|
"if": "fee=no",
|
|
"then": {
|
|
"en": "Borrowing tools is free",
|
|
"de": "Werkzeuge ausleihen ist kostenlos",
|
|
"es": "Pedir herramientas prestadas es gratuito"
|
|
},
|
|
"hideInAnswer": "membership=required"
|
|
},
|
|
{
|
|
"if": "fee=yes",
|
|
"then": {
|
|
"en": "A fee is asked when borrowing tools",
|
|
"de": "Es wird eine Gebühr erhoben, wenn man Werkzeuge ausleiht",
|
|
"es": "Se cobra una tarifa al pedir herramientas prestadas"
|
|
}
|
|
},
|
|
{
|
|
"if": "fee=donation",
|
|
"then": {
|
|
"en": "A donation can be given when borrowing tools",
|
|
"de": "Eine Spende kann gegeben werden, wenn man Werkzeuge ausleiht",
|
|
"es": "Se puede hacer una donación al pedir herramientas prestadas"
|
|
}
|
|
}
|
|
],
|
|
"questionHint": {
|
|
"en": "If a membership is required, we assume that the membership is already paid for.",
|
|
"de": "Wenn eine Mitgliedschaft erforderlich ist, gehen wir davon aus, dass die Mitgliedschaft bereits bezahlt ist.",
|
|
"es": "Si se requiere una membresía, asumimos que la membresía ya está pagada."
|
|
}
|
|
}
|
|
],
|
|
"deletion": true,
|
|
"allowMove": true,
|
|
"units": [
|
|
{
|
|
"charge:membership": {
|
|
"inverted": true,
|
|
"quantity": "duration",
|
|
"denominations": [
|
|
"years",
|
|
"months",
|
|
"weeks"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|