{
  "description": "CStorBackup describes a cstor backup resource created as a custom resource",
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
      "type": [
        "string",
        "null"
      ]
    },
    "kind": {
      "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": [
        "string",
        "null"
      ]
    },
    "metadata": {
      "type": [
        "object",
        "null"
      ]
    },
    "spec": {
      "additionalProperties": false,
      "description": "CStorBackupSpec is the spec for a CStorBackup resource",
      "properties": {
        "backupDest": {
          "description": "BackupDest is the remote address for backup transfer",
          "type": [
            "string",
            "null"
          ]
        },
        "backupName": {
          "description": "BackupName is the name of the backup or scheduled backup",
          "type": "string"
        },
        "localSnap": {
          "description": "LocalSnap is the flag to enable local snapshot only",
          "type": [
            "boolean",
            "null"
          ]
        },
        "prevSnapName": {
          "description": "PrevSnapName is the last completed-backup's snapshot name",
          "type": [
            "string",
            "null"
          ]
        },
        "snapName": {
          "description": "SnapName is the name of the current backup snapshot",
          "type": "string"
        },
        "volumeName": {
          "description": "VolumeName is the name of the volume for which this backup is destined",
          "type": "string"
        }
      },
      "required": [
        "backupName",
        "snapName",
        "volumeName"
      ],
      "type": "object"
    },
    "status": {
      "description": "CStorBackupStatus is a string type that represents the status of the backup",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "spec"
  ],
  "type": "object"
}