{
    "name"  : "rdp",
    "connectionForms" : [

        {
            "name"  : "network",
            "fields" : [
                {
                    "name"  : "hostname",
                    "type"  : "TEXT"
                },
                {
                    "name"  : "port",
                    "type"  : "NUMERIC"
                }
            ]
        },

        {
            "name"  : "authentication",
            "fields" : [
                {
                    "name"  : "username",
                    "type"  : "USERNAME"
                },
                {
                    "name"  : "password",
                    "type"  : "PASSWORD"
                },
                {
                    "name"  : "domain",
                    "type"  : "TEXT"
                },
                {
                    "name"    : "security",
                    "type"    : "ENUM",
                    "options" : [ "", "rdp", "tls", "nla", "any" ]
                },
                {
                    "name"    : "disable-auth",
                    "type"    : "BOOLEAN",
                    "options" : [ "true" ]
                },
                {
                    "name"    : "ignore-cert",
                    "type"    : "BOOLEAN",
                    "options" : [ "true" ]
                }
            ]
        },

        {
            "name"  : "basic-parameters",
            "fields" : [
                {
                    "name"  : "initial-program",
                    "type"  : "TEXT"
                },
                {
                    "name"  : "client-name",
                    "type"  : "TEXT"
                },
                {
                    "name"    : "server-layout",
                    "type"    : "ENUM",
                    "options" : [
                        "",
                        "en-us-qwerty",
                        "fr-fr-azerty",
                        "de-de-qwertz",
                        "it-it-qwerty",
                        "ja-jp-qwerty",
                        "sv-se-qwerty",
                        "failsafe"
                    ]
                },
                {
                    "name"    : "console",
                    "type"    : "BOOLEAN",
                    "options" : [ "true" ]
                }
            ]
        },

        {
            "name"  : "display",
            "fields" : [
                {
                    "name"  : "width",
                    "type"  : "NUMERIC"
                },
                {
                    "name"  : "height",
                    "type"  : "NUMERIC"
                },
                {
                    "name"  : "dpi",
                    "type"  : "NUMERIC"
                },
                {
                    "name"    : "color-depth",
                    "type"    : "ENUM",
                    "options" : [ "", "8", "16", "24", "32" ]
                },
                {
                    "name"    : "resize-method",
                    "type"    : "ENUM",
                    "options" : [ "", "reconnect", "display-update" ]
                },
                {
                    "name"    : "read-only",
                    "type"    : "BOOLEAN",
                    "options" : [ "true" ]
                }
            ]
        },

        {
            "name"  : "device-redirection",
            "fields" : [
                {
                    "name"    : "console-audio",
                    "type"    : "BOOLEAN",
                    "options" : [ "true" ]
                },
                {
                    "name"    : "disable-audio",
                    "type"    : "BOOLEAN",
                    "options" : [ "true" ]
                },
                {
                    "name"    : "enable-audio-input",
                    "type"    : "BOOLEAN",
                    "options" : [ "true" ]
                },
                {
                    "name"    : "enable-printing",
                    "type"    : "BOOLEAN",
                    "options" : [ "true" ]
                },
                {
                    "name"    : "enable-drive",
                    "type"    : "BOOLEAN",
                    "options" : [ "true" ]
                },
                {
                    "name"  : "drive-path",
                    "type"  : "TEXT"
                },
                {
                    "name"    : "create-drive-path",
                    "type"    : "BOOLEAN",
                    "options" : [ "true" ]
                },
                {
                    "name"  : "static-channels",
                    "type"  : "TEXT"
                }
            ]
        },

        {
            "name" : "performance",
            "fields" : [
                {
                    "name"    : "enable-wallpaper",
                    "type"    : "BOOLEAN",
                    "options" : [ "true" ]
                },
                {
                    "name"    : "enable-theming",
                    "type"    : "BOOLEAN",
                    "options" : [ "true" ]
                },
                {
                    "name"    : "enable-font-smoothing",
                    "type"    : "BOOLEAN",
                    "options" : [ "true" ]
                },
                {
                    "name"    : "enable-full-window-drag",
                    "type"    : "BOOLEAN",
                    "options" : [ "true" ]
                },
                {
                    "name"    : "enable-desktop-composition",
                    "type"    : "BOOLEAN",
                    "options" : [ "true" ]
                },
                {
                    "name"    : "enable-menu-animations",
                    "type"    : "BOOLEAN",
                    "options" : [ "true" ]
                }
            ]
        },

        {
            "name"  : "remoteapp",
            "fields" : [
                {
                    "name"  : "remote-app",
                    "type"  : "TEXT"
                },
                {
                    "name"  : "remote-app-dir",
                    "type"  : "TEXT"
                },
                {
                    "name"  : "remote-app-args",
                    "type"  : "TEXT"
                }
            ]
        },

        {
            "name"  : "preconnection-pdu",
            "fields" : [
                {
                    "name"  : "preconnection-id",
                    "type"  : "NUMERIC"
                },
                {
                    "name"  : "preconnection-blob",
                    "type"  : "TEXT"
                }
            ]
        },

        {
            "name" : "recording",
            "fields" : [
                {
                    "name"  : "recording-path",
                    "type"  : "TEXT"
                },
                {
                    "name"  : "recording-name",
                    "type"  : "TEXT"
                },
                {
                    "name"  : "create-recording-path",
                    "type"  : "BOOLEAN",
                    "options" : [ "true" ]
                }
            ]
        },

        {
            "name"  : "sftp",
            "fields" : [
                {
                    "name"    : "enable-sftp",
                    "type"    : "BOOLEAN",
                    "options" : [ "true" ]
                },
                {
                    "name"  : "sftp-hostname",
                    "type"  : "TEXT"
                },
                {
                    "name"  : "sftp-port",
                    "type"  : "NUMERIC"
                },
                {
                    "name"  : "sftp-username",
                    "type"  : "USERNAME"
                },
                {
                    "name"  : "sftp-password",
                    "type"  : "PASSWORD"
                },
                {
                    "name"  : "sftp-private-key",
                    "type"  : "MULTILINE"
                },
                {
                    "name"  : "sftp-passphrase",
                    "type"  : "PASSWORD"
                },
                {
                    "name"  : "sftp-directory",
                    "type"  : "TEXT"
                }
            ]
        }

    ],
    "sharingProfileForms" : [

        {
            "name"  : "display",
            "fields" : [
                {
                    "name"    : "read-only",
                    "type"    : "BOOLEAN",
                    "options" : [ "true" ]
                }
            ]
        }

    ]
}
