{
  "type": "object",
  "decsription": "Used in running an update of the search index",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the bucket that will be operating on"
    },
    "accessKey": {
      "type": "string",
      "description": "The public part of the key pair to access the cloud"
    },
    "secretKey": {
      "type": "string",
      "description": "The private part of the key pair to access the cloud"
    },
    "elasticsearch": {
      "properties": {
        "connectionString": {
          "type": "string",
          "description": "The way to connect to elasticsearch"
        },
        "accessKey": {
          "type": "string",
          "description": "The public part of the key pair to access the cloud"
        },
        "secretKey": {
          "type": "string",
          "description": "The private part of the key pair to access the cloud"
        }
      },
      "required": [
        "connectionString"
      ]
    },
    "logLevel": {
      "type": "string",
      "description": "What we should set the log level to.  This will either be DEBUG or INFO"
    },
    "chunkSize": {
      "type": "integer",
      "description": "How many records to process at once"
    },
    "bulkUpdateLogDirectory": {
      "type": "string",
      "description": "The location of a writable directory for storing logs per bucket"
    }
  },
  "required": [
    "name",
    "accessKey",
    "secretKey",
    "elasticsearch",
    "logLevel",
    "chunkSize",
    "bulkUpdateLogDirectory"
  ],
  "$schema": "http://json-schema.org/draft-04/schema#"
}