{
  "id": "fritures",
  "title": {
    "nl": "Friturenkaart",
    "fr": "Carte des friteries"
  },
  "description": {
    "nl": "Op deze kaart vind je je favoriete frituur!"
  },
  "language": [
    "nl",
    "fr",
    "en",
    "ca",
    "id",
    "ru"
  ],
  "maintainer": "",
  "icon": "./assets/themes/fritures/logo.svg",
  "version": "0",
  "startLat": 0,
  "startLon": 0,
  "startZoom": 1,
  "widenFactor": 0.05,
  "socialImage": "",
  "layers": [
    {
      "id": "fritures",
      "name": {
        "nl": "Frituren",
        "fr": "Friteries"
      },
      "minzoom": 8,
      "source": {
        "osmTags": {
          "and": [
            "cuisine~.*friture.*"
          ]
        }
      },
      "title": {
        "render": {
          "nl": "Frituur",
          "fr": "Friterie"
        },
        "mappings": [
          {
            "if": {
              "and": [
                "name~*"
              ]
            },
            "then": {
              "nl": " <i>{name}</i>",
              "fr": " <i>{name}</i>"
            }
          }
        ]
      },
      "tagRenderings": [
        "images",
        {
          "render": {
            "nl": "{name}",
            "fr": "{name}"
          },
          "question": {
            "en": "What is the name of this friture?",
            "nl": "Wat is de naam van deze frituur?",
            "fr": "Quel est le nom de cette friterie?"
          },
          "freeform": {
            "key": "name"
          }
        },
        {
          "render": {
            "nl": "<h3>Openingsuren</h3>{opening_hours_table(opening_hours)}",
            "fr": "<h3>Horaires</h3>{opening_hours_table(opening_hours)}"
          },
          "question": {
            "nl": "Wat zijn de openinguren van deze frituur?",
            "fr": "Quand est ce-que ce friterie ouvert?"
          },
          "freeform": {
            "key": "opening_hours",
            "type": "opening_hours"
          }
        },
        {
          "render": {
            "en": "<a href='{website}'>{website}</a>",
            "ca": "<a href='{website}'>{website}</a>",
            "fr": "<a href='{website}'>{website}</a>",
            "id": "<a href='{website}'>{website}</a>",
            "ru": "<a href='{website}'>{website}</a>"
          },
          "question": {
            "en": "What is the website of this shop?",
            "nl": "Wat is de website van deze frituur?",
            "fr": "Quel est le site web de cette  friterie?"
          },
          "freeform": {
            "key": "website",
            "type": "url"
          }
        },
        {
          "render": {
            "nl": "<a href='tel:{phone}'>{phone}</a>",
            "fr": "<a href='tel:{phone}'>{phone}</a>"
          },
          "question": {
            "en": "What is the phone number?",
            "nl": "Wat is het telefoonnummer van deze frituur?",
            "fr": "Quel est le numéro de téléphone de cette friterie?"
          },
          "freeform": {
            "key": "phone",
            "type": "phone"
          }
        },
        {
          "question": {
            "nl": "Heeft deze frituur vegetarische snacks?",
            "fr": "Cette friterie est-elle équipée de snacks végétariens ?"
          },
          "mappings": [
            {
              "if": {
                "and": [
                  "diet:vegetarian=yes"
                ]
              },
              "then": {
                "nl": "Er zijn vegetarische snacks aanwezig",
                "fr": "Des collations végétariennes sont disponibles"
              }
            },
            {
              "if": {
                "and": [
                  "diet:vegetarian=limited"
                ]
              },
              "then": {
                "nl": "Slechts enkele vegetarische snacks",
                "fr": "Quelques snacks végétariens seulement"
              }
            },
            {
              "if": {
                "and": [
                  "diet:vegetarian=no"
                ]
              },
              "then": {
                "nl": "Geen vegetarische snacks beschikbaar",
                "fr": "Pas d'en-cas végétariens disponibles"
              }
            }
          ]
        },
        {
          "question": {
            "nl": "Heeft deze frituur veganistische snacks?",
            "fr": "Cette friterie est-elle équipée de snacks végétaliens ?"
          },
          "mappings": [
            {
              "if": {
                "and": [
                  "diet:vegan=yes"
                ]
              },
              "then": {
                "nl": "Er zijn veganistische snacks aanwezig",
                "fr": "Des collations végétaliens sont disponibles"
              }
            },
            {
              "if": {
                "and": [
                  "diet:vegan=limited"
                ]
              },
              "then": {
                "nl": "Slechts enkele veganistische snacks",
                "fr": "Quelques snacks végétaliens seulement"
              }
            },
            {
              "if": {
                "and": [
                  "diet:vegetarian=no"
                ]
              },
              "then": {
                "nl": "Geen veganistische snacks beschikbaar",
                "fr": "Pas d'en-cas végétaliens disponibles"
              }
            }
          ]
        },
        {
          "question": {
            "nl": "Bakt deze frituur in dierlijk  vetof plantaardig olie?",
            "fr": "Cette friteuse fonctionne-t-elle avec de la graisse animale ou végétale ?"
          },
          "mappings": [
            {
              "if": {
                "and": [
                  "friture:oil=vegetable"
                ]
              },
              "then": {
                "nl": "Plantaardige olie",
                "fr": "Huile végétale"
              }
            },
            {
              "if": {
                "and": [
                  "friture:oil=animal"
                ]
              },
              "then": {
                "nl": "Dierlijk vet",
                "fr": "Graisse animale"
              }
            }
          ]
        },
        {
          "question": {
            "nl": "Als je je eigen container (bv. kookpot of kleine potjes voor saus) meeneemt, gebruikt de frituur deze dan om je bestelling in te doen?",
            "en": "If you bring your own container (such as a cooking pot and small pots), is it used to package your order?<br/>"
          },
          "mappings": [
            {
              "if": "bulk_purchase=yes",
              "then": {
                "nl": "Je mag je <b>eigen containers</b> meenemen om je bestelling in mee te nemen en zo minder afval te maken",
                "en": "You can bring <b>your own containers</b> to get your order, saving on single-use packaging material and thus waste"
              }
            },
            {
              "if": "bulk_purchase=no",
              "then": {
                "nl": "Je mag <b>geen</b> eigen containers meenemen om je bestelling in mee te nemen",
                "en": "Bringing your own container is <b>not allowed</b>"
              }
            },
            {
              "if": "bulk_purchase=only",
              "then": {
                "nl": "Je <b>moet</b> je eigen containers meenemen om je bestelling in mee te nemen.",
                "en": "You <b>must</b> bring your own container to order here."
              }
            }
          ]
        },
        "questions",
        "reviews"
      ],
      "icon": {
        "render": "./assets/themes/fritures/fries.svg"
      },
      "width": {
        "render": "8"
      },
      "iconSize": {
        "render": "40,40,center"
      },
      "color": {
        "render": "#00f"
      },
      "presets": [
        {
          "title": {
            "nl": "Frituur",
            "fr": "Friturie"
          },
          "tags": [
            "amenity=fast_food",
            "cuisine=friture"
          ]
        }
      ],
      "wayHandling": 1
    }
  ],
  "roamingRenderings": []
}