{
  "id": "souvenir_note",
  "name": {
    "en": "Souvenir Banknote Machines",
    "de": "Souvenir Banknotenmaschinen",
    "es": "Máquinas de Billetes de Recuerdo"
  },
  "description": {
    "en": "Layer showing machines selling souvenir banknotes",
    "de": "Ebene zeigt Maschinen, die Souvenir-Banknoten verkaufen",
    "es": "Capa que muestra máquinas expendedoras de billetes de recuerdo"
  },
  "source": {
    "osmTags": {
      "and": [
        "amenity=vending_machine",
        "vending~.*souvenir_notes.*"
      ]
    }
  },
  "title": {
    "render": {
      "en": "Souvenir Banknote Machine",
      "de": "Souvenir-Banknotenautomat",
      "es": "Máquina de Billetes de Recuerdo"
    }
  },
  "pointRendering": [
    {
      "location": [
        "point",
        "centroid"
      ],
      "iconBadges": [
        {
          "if": "opening_hours~*",
          "then": "icons.isOpen"
        }
      ],
      "marker": [
        {
          "icon": "circle",
          "color": "#FFFFFF00"
        },
        {
          "icon": "./assets/layers/souvenir_note/souvenir_note.svg"
        }
      ]
    }
  ],
  "lineRendering": [
    {
      "width": 1,
      "color": "blue"
    }
  ],
  "presets": [
    {
      "title": {
        "en": "a souvenir banknote machine",
        "de": "eine Souvenir-Banknotenmaschine",
        "es": "una máquina de billetes de recuerdo"
      },
      "description": {
        "en": "Add a machine selling souvenir banknotes",
        "de": "Hinzufügen eines Automaten, der Souvenir-Banknoten verkauft",
        "es": "Añadir una máquina expendedora de billetes de recuerdo"
      },
      "tags": [
        "amenity=vending_machine",
        "vending=souvenir_notes"
      ]
    }
  ],
  "tagRenderings": [
    "images",
    "opening_hours_24_7",
    {
      "id": "designs",
      "question": {
        "en": "How many designs are available?",
        "de": "Wie viele Designs sind verfügbar?",
        "es": "¿Cuántos diseños están disponibles?"
      },
      "freeform": {
        "key": "note:design_count",
        "type": "pnat",
        "placeholder": {
          "en": "Number of designs (e.g. 5)",
          "de": "Motivanzahl (z.B. 5)",
          "es": "Número de diseños (ej. 5)",
          "ca": "Nombre de dissenys (p. e. 5)",
          "cs": "Počet vzorů (např. 5)"
        }
      },
      "render": {
        "en": "This machine has {note:design_count} designs available.",
        "de": "Diese Maschine verfügt über {note:design_count} Designs.",
        "es": "Esta máquina tiene {note:design_count} diseños disponibles."
      },
      "mappings": [
        {
          "if": "note:design_count=1",
          "then": {
            "en": "This machine has one design available.",
            "de": "Diese Maschine hat ein Design zur Verfügung.",
            "es": "Esta máquina tiene un diseño disponible."
          }
        },
        {
          "if": "note:design_count=2",
          "then": {
            "en": "This machine has two designs available.",
            "de": "Diese Maschine hat zwei Designs verfügbar.",
            "es": "Esta máquina tiene dos diseños disponibles."
          }
        },
        {
          "if": "note:design_count=3",
          "then": {
            "en": "This machine has three designs available.",
            "de": "Diese Maschine hat drei Designs verfügbar.",
            "es": "Esta máquina tiene tres diseños disponibles."
          }
        },
        {
          "if": "note:design_count=4",
          "then": {
            "en": "This machine has four designs available.",
            "de": "Diese Maschine hat vier Designs verfügbar.",
            "es": "Esta máquina tiene cuatro diseños disponibles."
          }
        }
      ]
    },
    "payment-options-split",
    "website",
    {
      "question": {
        "en": "How much does a souvenir note cost?",
        "de": "Wie viel kostet eine Souvenirnote?",
        "es": "¿Cuánto cuesta un billete de recuerdo?"
      },
      "id": "charge",
      "render": {
        "en": "A souvenir note costs {charge}",
        "de": "Eine Souvenirnote kostet {charge}",
        "es": "Un billete de recuerdo cuesta {charge}"
      },
      "freeform": {
        "key": "charge",
        "placeholder": {
          "en": "Cost (e.g. 2 EUR)",
          "de": "Kosten (z.B. 2 EUR)",
          "es": "Coste (ej. 2 EUR)"
        }
      },
      "mappings": [
        {
          "if": "charge=2 EUR",
          "then": {
            "en": "A souvenir note costs 2 euro",
            "de": "Eine Souvenirnote kostet 2 Euro",
            "es": "Un billete de recuerdo cuesta 2 euros"
          },
          "hideInAnswer": "_currency!~.*EUR.*"
        },
        {
          "if": "charge=3 EUR",
          "then": {
            "en": "A souvenir note costs 3 euro",
            "de": "Eine Souvenirnote kostet 3 Euro",
            "es": "Un billete de recuerdo cuesta 3 euros"
          },
          "hideInAnswer": "_currency!~.*EUR.*"
        }
      ]
    },
    "denominations-coins",
    {
      "question": {
        "en": "Is this machine located indoors?",
        "de": "Ist diese Maschine im Innenbereich?",
        "es": "¿Está esta máquina ubicada en interiores?"
      },
      "id": "indoor",
      "mappings": [
        {
          "if": "indoor=yes",
          "then": {
            "en": "This machine is located indoors.",
            "de": "Diese Maschine befindet sich im Innenbereich.",
            "es": "Esta máquina está ubicada en interiores."
          }
        },
        {
          "if": "indoor=no",
          "then": {
            "en": "This machine is located outdoors.",
            "de": "Diese Maschine befindet sich im Freien.",
            "es": "Esta máquina está ubicada en exteriores."
          }
        }
      ]
    },
    "level",
    "check_date"
  ],
  "filter": [
    "open_now",
    "accepts_debit_cards",
    "accepts_credit_cards"
  ],
  "deletion": true,
  "allowMove": true
}
