{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/StorageContainerInput",
  "title": "StorageContainerInput",
  "type": "object",
  "description": "Input for creating or updating a storage container.",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the storage container."
    },
    "storage_pool_uuid": {
      "type": "string",
      "description": "UUID of the storage pool to use."
    },
    "replication_factor": {
      "type": "integer",
      "description": "Data replication factor.",
      "minimum": 2,
      "maximum": 3
    },
    "compression_enabled": {
      "type": "boolean",
      "description": "Whether to enable inline compression."
    },
    "dedupe_enabled": {
      "type": "boolean",
      "description": "Whether to enable deduplication."
    }
  }
}