{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-dedicated-server-hardware-specifications-schema.json",
  "title": "dedicated.server.HardwareSpecifications",
  "description": "A structure describing informations about this dedicated server",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-dedicated-server-openapi.yml#/components/schemas/dedicated.server.HardwareSpecifications",
  "type": "object",
  "properties": {
    "bootMode": {
      "allOf": [
        {
          "$ref": "#/$defs/dedicated.server.BootModeEnum"
        }
      ],
      "description": "Server boot mode"
    },
    "coresPerProcessor": {
      "type": [
        "integer",
        "null"
      ],
      "description": "number of cores per processor"
    },
    "defaultDiskGroupId": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Default disk group id used for OS reinstallation when not specified"
    },
    "defaultHardwareRaidSize": {
      "allOf": [
        {
          "$ref": "#/$defs/complexType.UnitAndValue_long"
        }
      ],
      "description": "Default hardware raid size for this server",
      "nullable": true
    },
    "defaultHardwareRaidType": {
      "allOf": [
        {
          "$ref": "#/$defs/dedicated.server.HardwareSpecificationsRaidHardEnum"
        }
      ],
      "description": "Default hardware raid type configured on this server",
      "nullable": true
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "commercial name of this server"
    },
    "diskGroups": {
      "type": [
        "array",
        "null"
      ],
      "description": "details about the groups of disks in the server",
      "items": {
        "$ref": "#/$defs/dedicated.server.HardwareSpecificationsDisk"
      }
    },
    "expansionCards": {
      "type": [
        "array",
        "null"
      ],
      "description": "details about the server's expansion cards",
      "items": {
        "$ref": "#/$defs/dedicated.server.HardwareSpecificationsExpansionCard"
      }
    },
    "formFactor": {
      "allOf": [
        {
          "$ref": "#/$defs/dedicated.server.FormFactorEnum"
        }
      ],
      "description": "Server form factor",
      "nullable": true
    },
    "memorySize": {
      "allOf": [
        {
          "$ref": "#/$defs/complexType.UnitAndValue_long"
        }
      ],
      "description": "ram capacity",
      "nullable": true
    },
    "motherboard": {
      "type": [
        "string",
        "null"
      ],
      "description": "server motherboard"
    },
    "numberOfProcessors": {
      "type": [
        "integer",
        "null"
      ],
      "description": "number of processors in this dedicated server"
    },
    "processorArchitecture": {
      "allOf": [
        {
          "$ref": "#/$defs/dedicated.server.CpuFamilyEnum"
        }
      ],
      "description": "processor architecture bit",
      "nullable": true
    },
    "processorName": {
      "type": [
        "string",
        "null"
      ],
      "description": "processor name"
    },
    "threadsPerProcessor": {
      "type": [
        "integer",
        "null"
      ],
      "description": "number of threads per processor"
    },
    "usbKeys": {
      "type": [
        "array",
        "null"
      ],
      "description": "Capacity of the USB keys installed on your server, if any",
      "items": {
        "$ref": "#/$defs/complexType.UnitAndValue_long"
      }
    }
  },
  "$defs": {
    "complexType.UnitAndValue_long": {
      "type": "object",
      "description": "A numeric value tagged with its unit",
      "properties": {
        "unit": {
          "type": "string"
        },
        "value": {
          "type": "integer"
        }
      }
    },
    "dedicated.server.BootModeEnum": {
      "type": "string",
      "description": "Server boot mode",
      "enum": [
        "legacy",
        "uefi",
        "uefi-legacy"
      ]
    },
    "dedicated.server.CpuFamilyEnum": {
      "type": "string",
      "description": "cpu family ",
      "enum": [
        "arm64",
        "armhf32",
        "ppc64",
        "x86",
        "x86-ht",
        "x86_64"
      ]
    },
    "dedicated.server.FormFactorEnum": {
      "type": "string",
      "description": "Server form factor",
      "enum": [
        "0.25u",
        "0.5u",
        "1u",
        "2u",
        "3u",
        "4u"
      ]
    },
    "dedicated.server.HardwareSpecificationsDisk": {
      "type": "object",
      "description": "A structure describing informations about server disks",
      "properties": {
        "defaultHardwareRaidSize": {
          "allOf": [
            {
              "$ref": "#/$defs/complexType.UnitAndValue_long"
            }
          ],
          "description": "default hardware raid size for this disk group",
          "nullable": true
        },
        "defaultHardwareRaidType": {
          "allOf": [
            {
              "$ref": "#/$defs/dedicated.server.HardwareSpecificationsRaidHardEnum"
            }
          ],
          "description": "default hardware raid type for this disk group",
          "nullable": true
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "human readable description of this disk group"
        },
        "diskGroupId": {
          "type": [
            "integer",
            "null"
          ],
          "description": "identifier of this disk group"
        },
        "diskSize": {
          "allOf": [
            {
              "$ref": "#/$defs/complexType.UnitAndValue_long"
            }
          ],
          "description": "disk capacity",
          "nullable": true
        },
        "diskType": {
          "type": [
            "string",
            "null"
          ],
          "description": "type of the disk (SSD, SATA, SAS, ...)"
        },
        "numberOfDisks": {
          "type": [
            "integer",
            "null"
          ],
          "description": "number of disks in this group"
        },
        "raidController": {
          "type": [
            "string",
            "null"
          ],
          "description": "raid controller, if any, managing this group of disks"
        }
      }
    },
    "dedicated.server.HardwareSpecificationsExpansionCard": {
      "type": "object",
      "description": "A structure describing informations about server expansion cards",
      "properties": {
        "description": {
          "type": "string",
          "description": "expansion card description"
        },
        "type": {
          "allOf": [
            {
              "$ref": "#/$defs/dedicated.server.HardwareSpecificationsExpansionCardTypeEnum"
            }
          ],
          "description": "expansion card type"
        }
      }
    },
    "dedicated.server.HardwareSpecificationsExpansionCardTypeEnum": {
      "type": "string",
      "description": "Expansion card type enum",
      "enum": [
        "fpga",
        "gpu"
      ]
    },
    "dedicated.server.HardwareSpecificationsRaidHardEnum": {
      "type": "string",
      "description": "Raid hard configuration",
      "enum": [
        "raid0",
        "raid1",
        "raid10",
        "raid1E",
        "raid5",
        "raid50",
        "raid6",
        "raid60"
      ]
    }
  }
}