{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/nutanix/main/json-schema/nutanix-storage-container-input-schema.json",
  "title": "StorageContainerInput",
  "description": "Input for creating or updating a storage container.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nutanix-storage-containers-api-openapi.yml#/components/schemas/StorageContainerInput",
  "type": "object",
  "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."
    }
  }
}