{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "sftp-adapter",
  "type": "object",
  "required": [
    "type",
    "host",
    "path"
  ],
  "properties": {
    "type": {
      "type": "string",
      "description": "The type of adapter. In this case, `sftp`."
    },
    "host": {
      "type": "string",
      "description": "The SFTP IP address or hostname."
    },
    "port": {
      "type": "number",
      "description": "The port number to connect to on the host. Defaults to `22` if not provided."
    },
    "path": {
      "type": "string",
      "description": "The path on the server to store the resulting export in."
    },
    "username": {
      "type": "string",
      "description": "The username to use when authenticating on the SFTP server. Defaults to anonymous authentication if not provided."
    },
    "password": {
      "type": "string",
      "description": "The password to use when authenticating on the SFTP server. Defaults to anonymous authentication if not provided."
    }
  }
}