{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/autodesk/json-schema/autodesk-buckets-response-schema.json",
  "title": "BucketsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/autodesk-object-storage-service-api-openapi.yml#/components/schemas/BucketsResponse",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Bucket"
      }
    },
    "next": {
      "type": "string"
    }
  },
  "$defs": {
    "Bucket": {
      "type": "object",
      "properties": {
        "bucketKey": {
          "type": "string",
          "description": "The unique bucket key."
        },
        "bucketOwner": {
          "type": "string",
          "description": "The application client ID that owns the bucket."
        },
        "createdDate": {
          "type": "string",
          "format": "date-time"
        },
        "permissions": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "authId": {
                "type": "string"
              },
              "access": {
                "type": "string",
                "enum": [
                  "full",
                  "read"
                ]
              }
            }
          }
        },
        "policyKey": {
          "type": "string",
          "description": "Retention policy.",
          "enum": [
            "transient",
            "temporary",
            "persistent"
          ]
        }
      }
    }
  }
}