{
  "id": "ghostsign",
  "title": {
    "render": {
      "en": "Ghost Sign",
      "de": "Geisterzeichen",
      "es": "Letrero fantasma",
      "ca": "Rètols fantasma",
      "cs": "Nápisy na zdech"
    }
  },
  "description": {
    "en": "Layer showing disused signs on buildings",
    "de": "Ebene, die ungenutzte Zeichen auf Gebäuden zeigt",
    "es": "Capa que muestra letreros en desuso en edificios",
    "ca": "Capa que mostra rètols en desús dels edificis",
    "cs": "Vrstva zobrazující nepoužívané nápisy na budovách"
  },
  "name": {
    "en": "Ghost Signs",
    "de": "Geisterzeichen",
    "es": "Letreros fantasma"
  },
  "source": {
    "osmTags": {
      "and": [
        "historic~*",
        "advertising~*"
      ]
    }
  },
  "minzoom": 10,
  "#allowMove": "Normally, a ghost sign is snapped to a wall, so moving won't be possible in most cases, but might still be useful e.g. to snap to a building",
  "allowMove": {
    "enableImproveAccuracy": true,
    "enableRelocation": false
  },
  "tagRenderings": [
    "images",
    "advertising.historic",
    "advertising.type",
    {
      "id": "inscription",
      "question": {
        "en": "What is the text on the sign?",
        "de": "Was ist der Text auf dem Schild?",
        "es": "¿Cuál es el texto en el letrero?",
        "ca": "Quin és el text del rètol?",
        "uk": "Який текст на вивісці?"
      },
      "freeform": {
        "key": "inscription",
        "type": "text",
        "placeholder": {
          "en": "Text on the sign",
          "de": "Text auf dem Schild",
          "es": "Texto en el letrero",
          "ca": "Text en el rètol",
          "uk": "Текст на табличці"
        }
      },
      "render": {
        "en": "The text on the sign is: {inscription}",
        "de": "Der Text auf dem Schild ist: {inscription}",
        "es": "El texto en el letrero es: {inscription}",
        "uk": "Текст на табличці: {inscription}"
      }
    },
    {
      "id": "brand",
      "question": {
        "en": "For what business was this sign made?",
        "de": "Für welches Unternehmen wurde dieses Schild angefertigt?",
        "es": "¿Para qué negocio se hizo este letrero?",
        "ca": "Per a quin negoci es va fer aquest rètol?",
        "cs": "Pro jaký účel byla tato značka vyrobena?"
      },
      "freeform": {
        "key": "brand",
        "type": "string",
        "placeholder": {
          "en": "Business name",
          "de": "Unternehmensname",
          "es": "Nombre del negocio",
          "it": "Nome dell'attività",
          "ca": "Nom comercial",
          "cs": "Název firmy"
        }
      },
      "render": {
        "en": "This sign was made for: {brand}",
        "de": "Dieses Schild wurde gemacht für: {brand}",
        "es": "Este letrero se hizo para: {brand}",
        "ca": "El rètol es va fer per a: {brand}",
        "cs": "Tato cedule byla vyrobena pro: {brand}"
      }
    }
  ],
  "lineRendering": [
    {
      "color": "blue",
      "width": 2
    }
  ],
  "pointRendering": [
    {
      "location": [
        "point",
        "centroid"
      ],
      "marker": [
        {
          "icon": "./assets/themes/advertising/wall_painting.svg"
        }
      ]
    }
  ],
  "presets": [
    {
      "tags": [
        "historic=advertising",
        "advertising=wall_painting"
      ],
      "title": {
        "en": "a ghost sign",
        "de": "ein Geisterzeichen",
        "es": "un letrero fantasma",
        "ca": "un rètol fantasma",
        "cs": "nápis na zdi"
      },
      "snapToLayer": [
        "walls_and_buildings"
      ],
      "maxSnapDistance": 5
    }
  ]
}
