{
  "id": "parcel_lockers",
  "name": {
    "en": "Parcel Lockers",
    "de": "Paketschließfächer",
    "nl": "Pakketautomaten",
    "ca": "bústies intel·ligents",
    "fr": "Casiers à colis",
    "pl": "Paczkomaty",
    "cs": "Schránky na balíky"
  },
  "description": {
    "en": "Layer showing parcel lockers for collecting and sending parcels.",
    "de": "Ebene mit Paketschließfächern zum Abholen und Versenden von Paketen.",
    "nl": "Laag met pakketautomaten voor het ophalen en verzenden van paketten.",
    "ca": "Capa que mostra les bústies intel·ligents per recollir i enviar paquets.",
    "fr": "Couche affichant les casiers pour récupérer ou envoyer des colis.",
    "pl": "Warstwa pokazująca paczkomaty umożliwiające odbieranie i wysyłanie przesyłek.",
    "cs": "Vrstva se schránkami na balíky pro vyzvedávání a odesílání balíků."
  },
  "source": {
    "osmTags": {
      "or": [
        "amenity=parcel_locker",
        {
          "and": [
            "amenity=vending_machine",
            "vending=parcel_pickup;parcel_mail_in"
          ]
        }
      ]
    }
  },
  "minzoom": 12,
  "title": {
    "render": {
      "en": "Parcel Locker",
      "de": "Paketschließfach",
      "nl": "Pakketautomaat",
      "ca": "Bústia intel·ligent",
      "fr": "Casier à colis",
      "pl": "Paczkomat",
      "cs": "Schránka na balíky"
    },
    "mappings": [
      {
        "if": "brand~*",
        "then": {
          "en": "{brand} parcel locker",
          "de": "{brand} Paketschließfach",
          "nl": "{brand} pakketautomaat",
          "ca": "{brand} bústia intel·ligent",
          "fr": "Casier à colis {brand}",
          "pl": "Paczkomat {brand}",
          "cs": "{brand} schránka na balíky"
        }
      }
    ]
  },
  "pointRendering": [
    {
      "iconBadges": [
        {
          "if": "opening_hours~*",
          "then": "icons.isOpen"
        }
      ],
      "iconSize": "40,40",
      "location": [
        "point",
        "centroid"
      ],
      "anchor": "center",
      "marker": [
        {
          "icon": "square",
          "color": "white"
        },
        {
          "icon": "./assets/layers/parcel_lockers/parcel_lockers.svg"
        }
      ]
    }
  ],
  "lineRendering": [],
  "presets": [
    {
      "title": {
        "en": "a parcel locker",
        "nl": "een pakketautomaat",
        "de": "ein Paketschließfach",
        "ca": "una bústia intel·ligent",
        "fr": "un casier à colis",
        "pl": "paczkomat",
        "cs": "schránky na balíky"
      },
      "tags": [
        "amenity=parcel_locker"
      ]
    }
  ],
  "tagRenderings": [
    "images",
    {
      "id": "brand",
      "question": {
        "en": "What is the brand of the parcel locker?",
        "de": "Welche Marke hat das Paketschließfach?",
        "nl": "Wat is het merk van deze pakketautomaat?",
        "ca": "Quina és la marca d'aquesta bústia intel·ligent?",
        "fr": "Quelle est la marque de ce casier à colis ?",
        "pl": "Jakiej marki jest ten paczkomat?",
        "cs": "Jaká je značka schránky na balíky?"
      },
      "freeform": {
        "key": "brand",
        "type": "string",
        "placeholder": {
          "en": "Brand",
          "de": "Marke",
          "nl": "Merk",
          "ca": "Marca",
          "fr": "Marque",
          "pl": "Marka",
          "cs": "Značka"
        }
      },
      "mappings": [
        {
          "if": "brand=Amazon Locker",
          "then": {
            "en": "This is an Amazon Locker",
            "de": "Dies ist ein Amazon Locker",
            "nl": "Dit is een Amazon Locker",
            "ca": "Açò és un Amazon Locker",
            "fr": "C'est un Amazon Locker",
            "pl": "To jest paczkomat Amazonu",
            "cs": "Toto je Amazon Locker"
          },
          "addExtraTags": [
            "brand:wikidata=Q16974764",
            "brand:wikipedia=en:Amazon Locker",
            "operator=Amazon"
          ]
        },
        {
          "if": "brand=DHL Packstation",
          "then": {
            "en": "This is a DHL Packstation",
            "de": "Dies ist eine DHL-Packstation",
            "nl": "Dit is een DHL Packstation",
            "ca": "Açò és un DHL Packstation",
            "cs": "Toto je DHL Packstation"
          },
          "addExtraTags": [
            "brand:wikidata=Q1766703",
            "brand:wikipedia=de:Packstation",
            "operator=DHL"
          ],
          "hideInAnswer": "_country!=de"
        },
        {
          "if": "brand=Pickup Station",
          "then": {
            "en": "This is a DPD Pickup Station",
            "de": "Dies ist eine DPD Pickup Station",
            "nl": "Dit is een DPD Pickup Station",
            "fr": "C'est une DPD Pickup Station",
            "cs": "Toto je DPD Pickup Station"
          },
          "addExtraTags": [
            "operator=DPD"
          ],
          "hideInAnswer": "_country!=pl"
        },
        {
          "if": "brand=PostNL",
          "then": {
            "en": "This is a PostNL Parcel Locker",
            "nl": "Dit is een PostNL pakketautomaat",
            "de": "Dies ist ein PostNL-Paketschließfach",
            "ca": "Açò és una bústia intel·ligent de PostNL",
            "fr": "C'est un PostNL Parcel Locker",
            "pl": "To jest paczkomat PostNL",
            "cs": "Toto je PostNL Parcel Locker"
          },
          "addExtraTags": [
            "operator=PostNL"
          ],
          "hideInAnswer": "_country!=nl"
        }
      ],
      "render": {
        "en": "This is a {brand} parcel locker",
        "de": "Dies ist ein Paketschließfach von {brand}",
        "nl": "Dit is een {brand} pakketautomaat",
        "ca": "Açò és una bústia intel·ligent de {brand}",
        "fr": "C'est un casier à colis {brand}",
        "pl": "To jest paczkomat marki {brand}",
        "cs": "To je {brand} schránka na balíky"
      }
    },
    {
      "id": "operator",
      "question": {
        "en": "What is the operator of the parcel locker?",
        "de": "Was ist der Betreiber des Paketschließfachs?",
        "nl": "Wat is de beheerder van deze pakketautomaat?",
        "ca": "Qui gestiona aquesta bústia intel·ligent?",
        "fr": "Quel est l'exploitant de ce casier à colis ?",
        "cs": "Kdo je provozovatelem schránky na balíky?"
      },
      "freeform": {
        "key": "operator",
        "type": "string",
        "placeholder": {
          "en": "Operator",
          "de": "Betreiber",
          "nl": "Beheerder",
          "ca": "Gestor",
          "fr": "Exploitant",
          "pl": "Operator",
          "cs": "Operátor"
        }
      },
      "render": {
        "en": "This parcel locker is operated by {operator}",
        "de": "Dieses Paketschließfach wird von {operator} betrieben",
        "nl": "Deze pakketautomaat wordt beheerd door {operator}",
        "ca": "Aquesta bústia intel·ligent la gestiona {operator}",
        "fr": "Ce casier à colis est exploité par {operator}",
        "pl": "Ten paczkomat jest obsługiwany przez {operator}",
        "cs": "Tuto schránku na balíky provozuje {operator}"
      }
    },
    "opening_hours_24_7",
    {
      "id": "ref",
      "question": {
        "en": "What is the reference number/identifier of this parcel locker?",
        "de": "Wie lautet die Referenznummer/Kennung dieses Paketschließfachs?",
        "nl": "Wat is het referentienummer/identificator van deze pakketautomaat?",
        "ca": "Quin és el nombre de referència/identificador d'aquesta bústia intel·ligent?",
        "fr": "Quel est le numéro de référence/d'identification de ce casier à colis ?",
        "cs": "Jaké je referenční číslo/identifikátor této schránky na balíky?"
      },
      "freeform": {
        "key": "ref",
        "type": "string",
        "placeholder": {
          "en": "Reference",
          "de": "Referenz",
          "nl": "Referentie",
          "pa_PK": "ہوالہ",
          "ca": "Referència",
          "fr": "Référence",
          "cs": "Reference"
        }
      },
      "render": {
        "en": "This parcel locker has the reference {ref}",
        "de": "Dieses Paketschließfach hat die Kennnummer {ref}",
        "nl": "Deze pakketautomaat heeft de referentie {ref}",
        "ca": "Aquesta bústia intel·ligent té la referència {ref}",
        "fr": "Ce casier a colis porte la référence {ref}",
        "cs": "Tato schránka na balíky má referenční číslo {ref}"
      }
    },
    {
      "id": "mail-in",
      "question": {
        "en": "Can you send packages from this parcel locker?",
        "de": "Können Sie von diesem Paketschließfach aus Pakete versenden?",
        "nl": "Kan je pakketten versturen vanuit deze pakketautomaat?",
        "ca": "Pots enviar paquets des d'aquesta bústia intel·ligent?",
        "fr": "Peut-on envoyer des colis depuis ce casier ?",
        "pl": "Czy z tego paczkomatu można wysyłać przesyłki?",
        "cs": "Lze z této schránky na balíky odesílat balíky?"
      },
      "mappings": [
        {
          "if": "parcel_mail_in=yes",
          "then": {
            "en": "You can send packages from this parcel locker",
            "de": "Sie können Pakete von diesem Paketschließfach aus versenden",
            "nl": "Je kan pakketten versturen vanuit deze pakketautomaat",
            "ca": "Pots enviar paquets des d'aquesta bústia intel·ligent",
            "fr": "On peut envoyer des colis depuis ce casier",
            "pl": "Z tego paczkomatu można wysyłać przesyłki",
            "cs": "Z této schránky na balíky můžete posílat balíky"
          }
        },
        {
          "if": "parcel_mail_in=no",
          "then": {
            "en": "You <b>can't</b> send packages from this parcel locker",
            "de": "Sie können <b>keine</b> Pakete von diesem Paketschließfach aus versenden",
            "nl": "Je kan <b>geen</b> pakketten versturen vanuit deze pakketautomaat",
            "ca": "<b>No pots</b> enviar paquets des d'aquesta bústia intel·ligent",
            "fr": "On <b>ne peut pas</b> envoyer de colis depuis ce casier",
            "pl": "Z tego paczkomatu <b>nie można</b> wysyłać przesyłek",
            "cs": "Z této schránky na balíky <b>nemůžete posílat balíky</b>"
          }
        }
      ],
      "condition": "amenity=parcel_locker"
    },
    {
      "id": "pickup",
      "question": {
        "en": "Can you pick up packages from this parcel locker?",
        "de": "Können Sie Pakete aus diesem Paketschließfach abholen?",
        "nl": "Kan je pakketten ophalen bij deze pakketautomaat?",
        "ca": "Pots arreplegar paquets a aquest armari intel·ligent?",
        "fr": "Peut-on retirer des colis depuis ce casier ?",
        "pl": "Czy z tego paczkomatu można odbierać przesyłki?",
        "cs": "Můžete si vyzvednout balíčky z této schránky na balíky?"
      },
      "mappings": [
        {
          "if": "parcel_pickup=yes",
          "then": {
            "en": "You can pick up packages from this parcel locker",
            "de": "Sie können Pakete von diesem Paketschließfach abholen",
            "nl": "Je kan pakketten ophalen bij deze pakketautomaat",
            "ca": "Pots arreplegar paquets a aquesta bústia intel·ligent",
            "fr": "On peut retirer des colis depuis ce casier",
            "pl": "Z tego paczkomatu można odbierać przesyłki",
            "cs": "Balíčky si můžete vyzvednout v této schránce na balíky"
          }
        },
        {
          "if": "parcel_pickup=no",
          "then": {
            "en": "You <b>can't</b> pick up packages from this parcel locker",
            "de": "Sie können <b>keine</b> Pakete von diesem Paketschließfach abholen",
            "nl": "Je kan <b>geen</b> pakketten ophalen bij deze pakketautomaat",
            "ca": "<b>No pots</b> arreplegar paquets a aquesta bústia intel·ligent",
            "fr": "On <b>ne peut pas</b> retirer de colis depuis ce casier",
            "pl": "Z tego paczkomatu <b>nie można</b> odbierać przesyłek",
            "cs": "Z této schránky na balíky <b>nemůžete vyzvedávat balíky</b>"
          }
        }
      ],
      "condition": "amenity=parcel_locker"
    }
  ],
  "filter": [
    "open_now"
  ],
  "deletion": true,
  "allowMove": {
    "enableImproveAccuracy": true
  }
}