{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/CreateBucketDetails", "title": "CreateBucketDetails", "type": "object", "description": "Details for creating a new bucket.", "required": [ "name", "compartmentId" ], "properties": { "name": { "type": "string", "description": "The name of the bucket.", "example": "my-new-bucket" }, "compartmentId": { "type": "string", "description": "The OCID of the compartment.", "example": "ocid1.compartment.oc1..abcdefg123456" }, "publicAccessType": { "type": "string", "description": "The public access type.", "enum": [ "NoPublicAccess", "ObjectRead", "ObjectReadWithoutList" ], "default": "NoPublicAccess", "example": "NoPublicAccess" }, "storageTier": { "type": "string", "description": "The storage tier type.", "enum": [ "Standard", "Archive" ], "default": "Standard", "example": "Standard" }, "objectEventsEnabled": { "type": "boolean", "description": "Whether events are emitted for object state changes.", "default": false, "example": false }, "versioning": { "type": "string", "description": "The versioning status.", "enum": [ "Enabled", "Disabled" ], "example": "Enabled" }, "freeformTags": { "type": "object", "additionalProperties": { "type": "string" }, "example": { "key1": "value1" } } } }