{
    "name": "Outline",
    "id": "outline",
    "packaging_format": 1,
    "description": {
        "en": "Wiki and knowledge base for teams",
        "fr": "Wiki et base de connaissances pour les équipes"
    },
    "version": "0.73.1~ynh1",
    "url": "https://www.getoutline.com",
    "upstream": {
        "license": "BUSL-1.1",
        "website": "https://www.getoutline.com",
        "demo": "https://app.getoutline.com/create",
        "admindoc": "https://www.getoutline.com/developers",
        "userdoc": "https://www.getoutline.com/about",
        "code": "https://github.com/outline/outline"
    },
    "license": "BUSL-1.1",
    "maintainer": {
        "name": "Raoul de Limezy"
    },
    "requirements": {
        "yunohost": ">= 11.0.9"
    },
    "multi_instance": false,
    "services": [
        "nginx"
    ],
    "arguments": {
        "install" : [
            {
                "name": "domain",
                "type": "domain"
            },
            {
                "name": "is_public",
                "type": "boolean",
                "default": true
            },
            {
                "name": "language",
                "type": "string",
                "ask": {
                    "en": "Choose the application language",
                    "fr": "Choisissez la langue de l'application"
                },
                "choices": ["fr", "en"],
                "default": "en"
            },
            {
                "name": "dex_domain",
                "type": "domain",
                "ask": {
                    "en": "Domain for authentication. It can't be the same domain as above. Dex app will be installed and used for the authentication mechanism.",
                    "fr": "Domaine pour l'authentification. Il ne peut pas s'agir du même domaine que ci-dessus. L'application Dex sera installée et utilisée pour le mécanisme d'authentification."
                }
            },
            {
                "name": "dex_path",
                "type": "path",
                "default": "/",
                "ask": {
                    "en": "Path for authentication URL. Please don't use 'auth' as it will break NGINX configuration.",
                    "fr": "Chemin de l'URL d'authentification. Veuillez ne pas utiliser 'auth' car cela casserait la configuration NGINX."
                }
            }
        ]
    }
}
