{
  "id": "hackerspaces",
  "title": {
    "en": "Hackerspaces",
    "de": "Hackerspaces"
  },
  "shortDescription": {
    "en": "A map of hackerspaces",
    "de": "Eine Karte von Hackerspaces"
  },
  "description": {
    "en": "On this map you can see hackerspaces, add a new hackerspace or update data directly",
    "de": "Auf dieser Karte können Sie Hackerspaces sehen, einen neuen Hackerspace hinzufügen oder Daten direkt aktualisieren"
  },
  "language": [
    "en",
    "de"
  ],
  "maintainer": "",
  "icon": "./assets/themes/hackerspaces/glider.svg",
  "version": "0",
  "startLat": 0,
  "startLon": 0,
  "startZoom": 1,
  "widenFactor": 5,
  "socialImage": "",
  "layers": [
    {
      "id": "hackerspaces",
      "name": {
        "en": "Hackerspace",
        "de": "Hackerspace"
      },
      "minzoom": 8,
      "title": {
        "render": {
          "en": "Hackerspace",
          "de": "Hackerspace"
        },
        "mappings": [
          {
            "if": {
              "and": [
                "name~*"
              ]
            },
            "then": {
              "en": " {name}",
              "de": " {name}"
            }
          }
        ]
      },
      "description": {
        "en": "Hackerspace",
        "de": "Hackerspace"
      },
      "tagRenderings": [
        {
          "id": "is_makerspace",
          "question": {
            "en": "Is this a hackerspace or a makerspace?",
            "de": "Ist dies ein Hackerspace oder ein Makerspace?"
          },
          "mappings": [
            {
              "if": "hackerspace=makerspace",
              "then": {
                "en": "This is a makerspace",
                "de": "Dies ist ein Makerspace"
              }
            },
            {
              "if": "hackerspace=",
              "then": {
                "en": "This is a traditional (software oriented) hackerspace",
                "de": "Dies ist ein traditioneller (softwareorientierter) Hackerspace"
              }
            }
          ]
        },
        {
          "question": {
            "en": "What is the name of this hackerspace?",
            "de": "Wie lautet der Name dieses Hackerspace?"
          },
          "render": {
            "en": "This hackerspace is named <b>{name}</b>",
            "de": "Dieser Hackerspace heißt <b>{name}</b>"
          },
          "freeform": {
            "key": "name"
          },
          "id": "hackerspaces-name"
        },
        "website",
        "email",
        "phone",
        {
          "question": {
            "en": "When is this hackerspace opened?",
            "de": "Wann hat dieser Hackerspace geöffnet?"
          },
          "freeform": {
            "key": "opening_hours",
            "type": "opening_hours"
          },
          "render": {
            "en": "{opening_hours_table()}",
            "de": "{opening_hours_table()}"
          },
          "mappings": [
            {
              "if": {
                "and": [
                  "opening_hours=24/7"
                ]
              },
              "then": {
                "en": "Opened 24/7",
                "de": "durchgehend geöffnet"
              }
            }
          ],
          "id": "hackerspaces-opening_hours"
        },
        "wheelchair-access",
        {
          "id": "hs-club-mate",
          "question": {
            "en": "Does this hackerspace serve Club Mate?",
            "de": "Gibt es in diesem Hackerspace Club Mate?"
          },
          "mappings": [
            {
              "if": {
                "and": [
                  "drink:club-mate=yes"
                ]
              },
              "then": {
                "en": "This hackerspace serves club mate",
                "de": "In diesem Hackerspace gibt es Club Mate"
              }
            },
            {
              "if": {
                "and": [
                  "drink:club-mate=no"
                ]
              },
              "then": {
                "en": "This hackerspace does not serve club mate",
                "de": "In diesem Hackerspace gibt es kein Club Mate"
              }
            }
          ]
        },
        {
          "render": {
            "en": "This hackerspace was founded at {start_date}",
            "de": "Dieser Hackerspace wurde gegründet am {start_date}"
          },
          "question": {
            "en": "When was this hackerspace founded?",
            "de": "Wann wurde dieser Hackerspace gegründet?"
          },
          "freeform": {
            "key": "start_date",
            "type": "date"
          },
          "id": "hackerspaces-start_date"
        }
      ],
      "icon": {
        "render": "./assets/themes/hackerspaces/glider.svg",
        "mappings": [
          {
            "if": {
              "and": [
                "hackerspace=makerspace"
              ]
            },
            "then": {
              "en": "./assets/themes/hackerspaces/led.png",
              "de": "./assets/themes/hackerspaces/led.png"
            }
          }
        ]
      },
      "width": {
        "render": "8"
      },
      "iconSize": {
        "render": "40,40,center"
      },
      "color": {
        "render": "#00f"
      },
      "presets": [
        {
          "tags": [
            "leisure=hackerspace"
          ],
          "title": {
            "en": "Hackerspace",
            "de": "Hackerspace"
          },
          "description": {
            "en": "A hackerspace is an area where people interested in software gather",
            "de": "Ein Hackerspace ist ein Ort, an dem sich Menschen treffen, die sich für Software interessieren"
          }
        },
        {
          "tags": [
            "leisure=hackerspace",
            "hackerspace=makerspace"
          ],
          "title": {
            "en": "Makerspace",
            "de": "Makerspace"
          },
          "description": {
            "en": "A makerspace is a place where DIY-enthusiasts gather to experiment with electronics such as arduino, LEDstrips, ...",
            "de": "Ein Makerspace ist ein Ort, an dem Heimwerker-Enthusiasten zusammenkommen, um mit Elektronik zu experimentieren, wie Arduino, LED-Strips, ..."
          }
        }
      ],
      "wayHandling": 2,
      "source": {
        "osmTags": {
          "and": [
            "leisure=hackerspace"
          ]
        }
      },
      "mapRendering": [
        {
          "icon": {
            "render": "./assets/themes/hackerspaces/glider.svg",
            "mappings": [
              {
                "if": {
                  "and": [
                    "hackerspace=makerspace"
                  ]
                },
                "then": {
                  "en": "./assets/themes/hackerspaces/led.png",
                  "de": "./assets/themes/hackerspaces/led.png"
                }
              }
            ]
          },
          "iconSize": {
            "render": "40,40,center"
          },
          "location": [
            "point",
            "centroid"
          ]
        },
        {
          "color": {
            "render": "#00f"
          },
          "width": {
            "render": "8"
          }
        }
      ]
    }
  ]
}