{
  "id": "ticket_machine",
  "name": {
    "en": "Ticket Machines",
    "de": "Fahrkartenautomaten",
    "nl": "Kaartautomaten",
    "ca": "Màquines de bitllets",
    "cs": "Automaty na jízdenky"
  },
  "description": {
    "en": "Find ticket machines for public transport tickets",
    "de": "Fahrkartenautomaten für ÖPNV-Tickets finden",
    "nl": "Zoek kaartautomaten voor het openbaar vervoer",
    "ca": "Troba màquines de bitllets per a bitllets de transport públic",
    "cs": "Vyhledejte automaty na jízdenky na veřejnou dopravu"
  },
  "source": {
    "osmTags": {
      "and": [
        "amenity=vending_machine",
        "vending=public_transport_tickets"
      ]
    }
  },
  "minzoom": 18,
  "title": {
    "render": {
      "en": "Ticket Machine",
      "de": "Fahrkartenautomat",
      "nl": "Kaartautomaat",
      "ca": "Màquina de bitllets",
      "cs": "Automat na jízdenky"
    }
  },
  "pointRendering": [
    {
      "iconSize": "20,20",
      "location": [
        "point",
        "centroid"
      ],
      "anchor": "center",
      "marker": [
        {
          "icon": "square",
          "color": "lightblue"
        },
        {
          "icon": "./assets/themes/stations/public_transport_tickets.svg"
        }
      ]
    }
  ],
  "lineRendering": [],
  "presets": [
    {
      "tags": [
        "amenity=vending_machine",
        "vending=public_transport_tickets"
      ],
      "title": {
        "en": "a ticket machine",
        "de": "einen Fahrkartenautomat",
        "nl": "een kaartautomaat",
        "ca": "una màquina de bitllets",
        "cs": "automat na jízdenky"
      }
    }
  ],
  "tagRenderings": [
    "images",
    "level",
    {
      "id": "operator",
      "question": {
        "en": "Who is the operator of this ticket machine?",
        "de": "Wer ist der Betreiber dieses Fahrkartenautomaten?",
        "nl": "Wie is de beheerder van deze kaartautomaat?",
        "ca": "Qui és l'operador d'aquesta màquina de venda de bitllets?",
        "cs": "Kdo je provozovatelem tohoto automatu na jízdenky?"
      },
      "render": {
        "en": "This ticket machine is operated by {operator}",
        "de": "Dieser Fahrkartenautomat wird betrieben von {operator}",
        "nl": "Deze kaartautomaat wordt beheerd door {operator}",
        "ca": "{operator} opera aquesta màquina de bitllets",
        "cs": "Tento automat na jízdenky provozuje {operator}"
      },
      "freeform": {
        "key": "operator",
        "type": "string",
        "placeholder": {
          "en": "Name of the operator",
          "de": "Name des Betreibers",
          "nl": "Naam van de beheerder",
          "ca": "Nom de l'operador",
          "cs": "Jméno operátora"
        }
      },
      "mappings": [
        {
          "if": "operator=Nederlandse Spoorwegen",
          "then": {
            "en": "Dutch Railways (NS)",
            "nl": "Nederlandse Spoorwegen (NS)",
            "de": "Niederländische Eisenbahn (NS)",
            "ca": "Ferrocarrils holandesos (NS)",
            "cs": "Nizozemské dráhy (NS)"
          },
          "addExtraTags": [
            "operator:wikidata=Q23076"
          ],
          "hideInAnswer": "_country!=nl"
        }
      ]
    },
    "payment-options-split",
    "denominations-coins",
    "denominations-notes"
  ],
  "deletion": true,
  "allowMove": true
}