{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-dedicated-installation-template-hardware-raid-schema.json",
  "title": "dedicated.installationTemplate.hardwareRaid",
  "description": "Hardware RAID defined in this partitioning scheme",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-dedicated-installationTemplate-openapi.yml#/components/schemas/dedicated.installationTemplate.hardwareRaid",
  "type": "object",
  "properties": {
    "disks": {
      "type": "array",
      "description": "Disk list",
      "items": {
        "type": "string"
      },
      "readOnly": true
    },
    "mode": {
      "allOf": [
        {
          "$ref": "#/$defs/dedicated.TemplateOsHardwareRaidEnum"
        }
      ],
      "description": "RAID mode",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "description": "Hardware RAID name",
      "readOnly": true
    },
    "step": {
      "type": "integer",
      "description": "Specifies the creation order of the hardware RAID",
      "readOnly": true
    }
  },
  "$defs": {
    "dedicated.TemplateOsHardwareRaidEnum": {
      "type": "string",
      "description": "Hardware RAID enum",
      "enum": [
        "raid0",
        "raid1",
        "raid10",
        "raid5",
        "raid50",
        "raid6",
        "raid60"
      ]
    }
  }
}