{
    "name": "Wifi Hotspot",
    "id": "hotspot",
    "packaging_format": 1,
    "description": {
        "en": "Create and manager wifi networks, share Internet access and use Yunohost apps accross wifi",
        "fr": "Créer et configurer des réseaux wifi, partager l'accès a Internet et utiliser les applications Yunohost via wifi"
    },
    "version": "1.2.0~ynh6",
    "url": "https://github.com/labriqueinternet/hotspot_ynh",
    "license": "AGPL-3.0",
    "maintainer": {
        "name": "Julien Vaubourg",
        "email": "julien@vaubourg.com",
        "url": "http://julien.vaubourg.com"
    },
    "requirements": {
        "yunohost": ">= 4.1.0"
    },
    "multi_instance": false,
    "services": [
        "nginx",
        "php7.0-fpm"
    ],
    "arguments": {
        "install" : [
            {
                "name": "domain",
                "type": "domain",
                "example": "domain.org"
            },
            {
                "name": "path",
                "type": "path",
                "default": "/wifiadmin"
            },
            {
                "name": "wifi_ssid",
                "type": "string",
                "ask": {
                    "en": "Choose a wifi name (SSID)",
                    "fr": "Choisissez un nom pour le wifi (SSID)"
                },
                "example": "myNeutralNetwork",
                "default": "myNeutralNetwork"
            },
            {
                "name": "wifi_passphrase",
                "type": "password",
                "ask": {
                    "en": "Choose a wifi password (at least 8 characters for WPA2)",
                    "fr": "Choisissez un mot de passe wifi (au minimum 8 caractères pour le WPA2)"
                },
                "example": "VhegT8oev0jZI"
            },
            {
                "name": "firmware_nonfree",
                "type": "string",
                "ask": {
                    "en": "Install non-free firmwares - in addition to the free ones - for the wifi dongle (yes/no)",
                    "fr": "Installer des firmwares non-libres (en plus des libres) pour la clé USB wifi (yes/no)"
                },
                "choice": [ "yes", "no" ],
                "default": "no"
            }
        ]
    }
}