{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UpdateBucketDetails",
  "title": "UpdateBucketDetails",
  "type": "object",
  "description": "Details for updating a bucket.",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the bucket.",
      "example": "example-value"
    },
    "namespace": {
      "type": "string",
      "description": "The Object Storage namespace.",
      "example": "oci_computeagent"
    },
    "compartmentId": {
      "type": "string",
      "description": "The OCID of the compartment.",
      "example": "ocid1.resource.oc1.iad.abcdefg123456"
    },
    "publicAccessType": {
      "type": "string",
      "enum": [
        "NoPublicAccess",
        "ObjectRead",
        "ObjectReadWithoutList"
      ],
      "example": "NoPublicAccess"
    },
    "objectEventsEnabled": {
      "type": "boolean",
      "example": true
    },
    "versioning": {
      "type": "string",
      "enum": [
        "Enabled",
        "Suspended"
      ],
      "example": "Enabled"
    },
    "freeformTags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "example": {
        "key1": "value1"
      }
    }
  }
}