RemoteFileServer (type)

{
  "additionalProperties": false, 
  "id": "RemoteFileServer", 
  "module_id": "BackupConfiguration", 
  "properties": {
    "directory_path": {
      "pattern": "^\\/[\\w\\-.\\+~%\\/]+$", 
      "required": true, 
      "title": "Remote server directory to copy bundle files to", 
      "type": "string", 
      "validation_msg_key": "com.vmware.nsx.validation.constraints.BackupRestore.directory_path_pattern.message"
    }, 
    "port": {
      "default": 22, 
      "maximum": 65535, 
      "minimum": 1, 
      "title": "Server port", 
      "type": "integer"
    }, 
    "protocol": {
      "$ref": "FileTransferProtocol, 
      "required": true, 
      "title": "Protocol to use to copy file"
    }, 
    "server": {
      "format": "hostname-or-ip", 
      "required": true, 
      "title": "Remote server hostname or IP address", 
      "type": "string"
    }
  }, 
  "title": "Remote file server", 
  "type": "object"
}