{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cockroach-labs/main/json-schema/cockroach-labs-backup-configuration-schema.json",
  "title": "BackupConfiguration",
  "description": "Backup configuration settings for a CockroachDB cluster.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cockroach-labs-backup-restore-api-openapi.yml#/components/schemas/BackupConfiguration",
  "type": "object",
  "properties": {
    "cluster_id": {
      "type": "string",
      "description": "Cluster ID the configuration applies to."
    },
    "frequency_minutes": {
      "type": "integer",
      "description": "How often backups are taken, in minutes."
    },
    "retention_days": {
      "type": "integer",
      "description": "Number of days backups are retained."
    }
  }
}