{
    "name"  : "vnc",
    "forms" : [

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

        {
            "name"  : "authentication",
            "fields" : [
                {
                    "name"  : "password",
                    "type"  : "PASSWORD"
                }
            ]
        },

        {
            "name"  : "display",
            "fields" : [
                {
                    "name"    : "read-only",
                    "type"    : "BOOLEAN",
                    "options" : [ "true" ]
                },
                {
                    "name"    : "swap-red-blue",
                    "type"    : "BOOLEAN",
                    "options" : [ "true" ]
                },
                {
                    "name"  : "cursor",
                    "type"  : "ENUM",
                    "options" : [ "", "local", "remote" ]
                },
                {
                    "name"  : "color-depth",
                    "type"  : "ENUM",
                    "options" : [ "", "8", "16", "24", "32" ]
                }
            ]
        },

        {
            "name"  : "clipboard",
            "fields" : [
                {
                    "name"    : "clipboard-encoding",
                    "type"    : "ENUM",
                    "options" : [ "", "ISO8859-1", "UTF-8", "UTF-16", "CP1252" ]
                }
            ]
        },

        {
            "name"  : "repeater",
            "fields" : [
                {
                    "name"  : "dest-host",
                    "type"  : "TEXT"
                },
                {
                    "name"  : "dest-port",
                    "type"  : "NUMERIC"
                }
            ]
        },

        {
            "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"
                }
            ]
        },

        {
            "name"  : "audio",
            "fields" : [
                {
                    "name"    : "enable-audio",
                    "type"    : "BOOLEAN",
                    "options" : [ "true" ]
                },
                {
                    "name"  : "audio-servername",
                    "type"  : "TEXT"
                }
            ]
        }

    ]
}
