{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/snow-software/json-schema/snow-software-computer-hardware-details-schema.json",
  "title": "ComputerHardwareDetails",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/snow-software-computer-hardware-api-openapi.yml#/components/schemas/ComputerHardwareDetails",
  "allOf": [
    {
      "$ref": "#/$defs/BaseResponse"
    },
    {
      "type": "object",
      "description": "Response representing details of hardware of a computer.",
      "additionalProperties": false,
      "required": [
        "computerId"
      ],
      "properties": {
        "computerId": {
          "type": "string",
          "description": "The unique ID of the computer.",
          "format": "guid"
        },
        "processorCount": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The number of processors in the computer.",
          "format": "int32"
        },
        "coreCount": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The number of cores in the computer.",
          "format": "int32"
        },
        "processorType": {
          "type": [
            "string",
            "null"
          ],
          "description": "The type of processors in the computer."
        },
        "processorSpeed": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The speed of the processor in the computer in MHz.",
          "format": "int32"
        },
        "memorySlots": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The total number of memory slots in the computer.",
          "format": "int32"
        },
        "memorySlotsAvailable": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The number of available memory slots in the computer.",
          "format": "int32"
        },
        "physicalMemory": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The amount of physical memory in the computer.",
          "format": "int32"
        },
        "systemDiskSpace": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The total amount of system disk space in the computer in MB.",
          "format": "int64"
        },
        "systemDiskSpaceAvailable": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The amount of available system disk space in the computer in MB.",
          "format": "int64"
        },
        "totalDiskSpace": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The total amount of disk space in the computer in MB.",
          "format": "int64"
        },
        "totalDiskSpaceAvailable": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The amount of available disk space in the computer in MB.",
          "format": "int64"
        },
        "totalDiskSpaceUsed": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The total amount of disk space used in the computer in MB.",
          "format": "int64"
        },
        "socketCount": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The number of sockets in the computer.",
          "format": "byte"
        },
        "isSocketCountManualOverrideEnabled": {
          "type": "boolean",
          "description": "```true``` if the socket count manual override of the computer is enabled; otherwise, ```false```."
        },
        "chipModulesPerProcessor": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The number of chip modules per processor.",
          "format": "byte"
        },
        "processorManufacturer": {
          "type": [
            "string",
            "null"
          ],
          "description": "The manufacturer of the computer's processors."
        },
        "logicalProcessorCount": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The number of logical processors in the computer.",
          "format": "int32"
        }
      }
    }
  ],
  "$defs": {
    "BaseResponse": {
      "type": "object",
      "description": "Base response class.",
      "additionalProperties": false,
      "required": [
        "_links"
      ],
      "properties": {
        "_links": {
          "type": "array",
          "description": "A collection of links to related resources.",
          "items": {
            "$ref": "#/$defs/Link"
          }
        }
      }
    },
    "Link": {
      "type": "object",
      "required": [
        "href",
        "rel",
        "method"
      ],
      "properties": {
        "href": {
          "type": "string",
          "description": "The associated relative URL."
        },
        "rel": {
          "type": "string",
          "description": "Specifies the relationship between the current document and the linked document/resource."
        },
        "method": {
          "type": "string",
          "description": "The method to access related resources."
        }
      }
    }
  }
}