{
    "$schema" : "https://json-schema.org/draft-07/schema#",
    "$id" : ".",
    "$comment": "By Xgui4",
    "title" : "LCE Qt Launcher Instance Extension JSON",
    "description": "LCE Qt Launcher Instance Config",
    "type" : "object",
    "properties": { 
        "name" : {
            "description": "Name of the instance",
            "type" : "string",
            "default" : "Default"
        }, 
        "installation_path" : {
            "description": "Installation Path of the game files",
            "type" : "string",
            "default" : ".",
            "examples": [
                "~/.lce",
                "$HOME/Documents/lce-qt-launcher",
                "~/Documents/lce-qt-launcher"
            ]
        },
        "username" : {
            "$comment": "DEPRECIATED : will be soon removed and replaced by the username config settng",
            "description": "The username of the player for the instance",
            "type" : "string",
            "default" : "Steve"
        },
        "exe_name" : {
            "description": "The executable file of the instance",
            "type" : "string", 
            "default" : "Minecraft.Client.exe",
            "examples": [
                "Minecraft.Server.exe"
            ]
        },
        "archive_file" : {
            "description": "The archive filename to download or extract",
            "type" : "string",
            "default" : "LCEWindows64.zip",
            "examples": [
                "LCEWindows64-Linux"
            ]
        },
        "repo_url": {
            "description": "The url/repo of the project",
            "type" : "string", 
            "default" : "https://github.com/MCLCE/minecraftconsoles",
            "examples": [
                "https://codeberg.org/piebot/LegacyEvolved",
                "https://github.com/LCE-Hub/neoLegacy"
            ]
        },
        "image" : {
            "description": "Image of the instance to show (right now it is only local, will be updated later)",
            "type" : "string",
            "default" : ":/assets/minecraft.png"
        },
        "news_feed" : {
            "description": "The website of the news feed to display in the news tabs",
            "type" : "string",
            "default" : "https://github.com/MCLCE/minecraftconsoles/commits"
        },
        "instance_source" : {
            "description": "Instance Source Object", 
            "examples": [
                "InstanceSource.GITHUB_RELEASE",
                "InstanceSource.FORGEJO_RELEASE",
                "InstanceSource.REMOTE_GIT_SOURCE",
                "InstanceSource.LOCAL_INSTALLATION",
                "InstanceSource.LOCAL_SOURCE_CODE"
            ],
            "type" : "string",
            "default" : "InstanceSource.GITHUB_RELEASE"
        }, 
        "version" : {
            "description": "version/tag of the release",
            "type" : "string",
            "default" : "nightly",
            "examples": [
                "Nightly",
                "v1.0.0b"
            ]
        },
        "steam_link" : {
            "description": "Steam id command of the instance",
            "type" : "string",
            "examples" : [
                "steam://rungameid/{number}"
            ]
        }
    }
}