{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/couchbase/main/json-schema/couchbase-bucket-update-request-schema.json",
  "title": "BucketUpdateRequest",
  "description": "Request body for updating a bucket",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/couchbase-buckets-api-openapi.yml#/components/schemas/BucketUpdateRequest",
  "type": "object",
  "properties": {
    "ramQuota": {
      "type": "integer",
      "description": "RAM quota in megabytes",
      "minimum": 100
    },
    "replicaNumber": {
      "type": "integer",
      "description": "Number of replicas",
      "minimum": 0,
      "maximum": 3
    },
    "flushEnabled": {
      "type": "integer",
      "description": "Whether flush is enabled (0 or 1)",
      "enum": [
        0,
        1
      ]
    }
  }
}