{
  "config": {
    "type": "object",
    "properties": {
      "clean": {
        "type": "boolean",
        "description": "Remove the source file or directory on completion."
      },
      "format": {
        "type": "string",
        "enum": [
          "tgz",
          "tar",
          "zip",
          "bz2",
          "xz"
        ],
        "description": "Compression tool and format to be used."
      },
      "source": {
        "type": "string",
        "description": "Source of the file or directory to compress."
      },
      "target": {
        "type": "string",
        "description": "Destination path of the generated archive, default to the source\nparent directory."
      }
    },
    "required": [
      "source",
      "target"
    ]
  }
}
