{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BackupConfig",
  "title": "BackupConfig",
  "type": "object",
  "description": "Backup custom configuration.",
  "properties": {
    "Endpoint": {
      "type": "string",
      "description": "Name of the endpoint, e.g. s3.amazonaws.com."
    },
    "Bucket": {
      "type": "string",
      "description": "Name of the bucket, container, volume, etc."
    },
    "Path": {
      "type": "string",
      "description": "Path or key within the bucket."
    },
    "CPUPercentage": {
      "type": "integer",
      "description": "Desired CPU core utilization ranging from 1%-80%",
      "default": 50,
      "minimum": 1,
      "maximum": 80
    },
    "ChunkSize": {
      "type": "integer",
      "description": "Deprecated, has no effect."
    },
    "CompressionLevel": {
      "type": "string",
      "description": "compression level used by compression algorithm",
      "enum": [
        "DefaultCompression",
        "BestSpeed",
        "BestCompression",
        "ZstdDefaultCompression",
        "ZstdBestSpeed",
        "ZstdBestCompression",
        "NoCompression"
      ],
      "default": "DefaultCompression"
    }
  }
}