{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cloudflare/main/json-schema/cloudflare-bucket-list-response-schema.json",
  "title": "BucketListResponse",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudflare-buckets-api-openapi.yml#/components/schemas/BucketListResponse",
  "type": "object",
  "properties": {
    "result": {
      "type": "object",
      "properties": {
        "buckets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Bucket"
          }
        }
      }
    },
    "success": {
      "type": "boolean"
    }
  },
  "$defs": {
    "Bucket": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the bucket."
        },
        "creation_date": {
          "type": "string",
          "format": "date-time",
          "description": "When the bucket was created."
        },
        "location": {
          "type": "string",
          "description": "The location of the bucket."
        },
        "storage_class": {
          "type": "string",
          "description": "Default storage class for the bucket."
        }
      }
    }
  }
}