{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/couchbase/main/json-schema/couchbase-backup-repository-create-request-schema.json",
  "title": "BackupRepositoryCreateRequest",
  "description": "Request to create a backup repository",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/couchbase-repositories-api-openapi.yml#/components/schemas/BackupRepositoryCreateRequest",
  "type": "object",
  "required": [
    "plan",
    "archive"
  ],
  "properties": {
    "plan": {
      "type": "string",
      "description": "Name of the backup plan to use"
    },
    "archive": {
      "type": "string",
      "description": "Path to the backup archive location"
    },
    "bucket_name": {
      "type": "string",
      "description": "Cloud storage bucket name (for cloud backups)"
    }
  }
}