{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/veritas-infoscale/json-schema/veritas-infoscale-disk-schema.json",
  "title": "Disk",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/veritas-infoscale-disks-api-openapi.yml#/components/schemas/Disk",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Disk name"
    },
    "devicePath": {
      "type": "string",
      "description": "Device path"
    },
    "size": {
      "type": "string",
      "description": "Disk size"
    },
    "state": {
      "type": "string",
      "description": "Disk state",
      "enum": [
        "online",
        "offline",
        "error"
      ]
    },
    "diskGroup": {
      "type": "string",
      "description": "Disk group membership"
    },
    "mediaType": {
      "type": "string",
      "description": "Media type",
      "enum": [
        "HDD",
        "SSD",
        "NVMe"
      ]
    }
  }
}