{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Bucket", "description": "Bucket schema from Pure1 Public REST API", "$id": "https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-schema/pure1-cloud-api-bucket-schema.json", "allOf": [ { "description": "A built-in resource that exists on one or multiple arrays.\n", "allOf": [ { "$ref": "#/components/schemas/_resource" }, { "$ref": "#/components/schemas/_arrays" } ] }, { "type": "object", "properties": { "account": { "type": "object", "properties": { "id": { "description": "The opaque and unique id of this resource.", "type": "string", "readOnly": true, "example": "2a989a09-c851-4d52-9ec6-ab728b1c04db" }, "name": { "description": "The name of this resource.", "type": "string", "readOnly": true, "example": "example_name" }, "resource_type": { "description": "The type of this resource represented by the name of its REST endpoint.\nFor example, \"arrays\", \"network-interfaces\", and \"metrics\".\nThe value may be `null` if the resource is not represented.\n", "type": "string", "readOnly": true, "example": "example_resource_type" } }, "x-readOnly": true }, "created": { "description": "Creation time of the bucket, in milliseconds since Unix epoch.", "type": "integer", "format": "int64", "readOnly": true, "example": 1502729489760 }, "destroyed": { "description": "Returns a value of `true` if the bucket is destroyed, but not yet eradicated.\n", "type": "boolean" }, "object_count": { "description": "The number of objects contained within the bucket.", "type": "integer", "format": "int64", "readOnly": true, "example": 15 }, "versioning": { "description": "The versioning state for objects within the bucket.\nValid values are `none`, `enabled`, and `suspended`.\n", "type": "string" } } } ] }