{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/snow-software/json-schema/snow-software-computer-details-schema.json",
  "title": "ComputerDetails",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/snow-software-computers-api-openapi.yml#/components/schemas/ComputerDetails",
  "allOf": [
    {
      "$ref": "#/$defs/BaseResponse"
    },
    {
      "type": "object",
      "description": "Response representing details of a computer.",
      "additionalProperties": false,
      "required": [
        "id",
        "hostName",
        "lastScanDate",
        "infoTransferDate",
        "architecture"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique ID of the computer.",
          "format": "guid",
          "minLength": 1
        },
        "scanIdentifier": {
          "type": [
            "string",
            "null"
          ],
          "description": "The identifier used by the scan."
        },
        "hostName": {
          "type": "string",
          "description": "The host name of the computer."
        },
        "domain": {
          "type": [
            "string",
            "null"
          ],
          "description": "The domain of the computer."
        },
        "lastScanDate": {
          "type": "string",
          "description": "The last date that the computer was scanned.",
          "format": "date-time"
        },
        "biosSerialNumber": {
          "type": [
            "string",
            "null"
          ],
          "description": "The BIOS serial number of the computer."
        },
        "biosVersion": {
          "type": [
            "string",
            "null"
          ],
          "description": "The BIOS version of the computer."
        },
        "biosDate": {
          "type": [
            "string",
            "null"
          ],
          "description": "The BIOS date of the computer.",
          "format": "date-time"
        },
        "manufacturer": {
          "type": [
            "string",
            "null"
          ],
          "description": "The manufacturer of the computer."
        },
        "manufacturerWebsite": {
          "type": [
            "string",
            "null"
          ],
          "description": "Website of the computer's manufacturer."
        },
        "model": {
          "type": [
            "string",
            "null"
          ],
          "description": "The model of the computer."
        },
        "isPortable": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "```true``` if the computer is portable; otherwise, ```false```."
        },
        "infoTransferDate": {
          "type": "string",
          "description": "The date and time of information transfer for the computer.",
          "format": "date-time"
        },
        "clientInstallDate": {
          "type": [
            "string",
            "null"
          ],
          "description": "The date and time that the client was installed on the computer.",
          "format": "date-time"
        },
        "clientVersion": {
          "type": [
            "string",
            "null"
          ],
          "description": "The version of the client on the computer."
        },
        "clientSiteName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The site name of the client on the computer."
        },
        "clientConfigurationName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The configuration name of the client on the computer."
        },
        "scannerVersion": {
          "type": [
            "string",
            "null"
          ],
          "description": "The version of the scanner for the computer."
        },
        "quarantineDate": {
          "type": [
            "string",
            "null"
          ],
          "description": "The quarantine date of the computer, if computer was quarantined.",
          "format": "date-time"
        },
        "isQuarantineManagementDisabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "```true``` if the computer has quarantine management disabled; otherwise, ```false```."
        },
        "operatingSystem": {
          "type": [
            "string",
            "null"
          ],
          "description": "The operating system of the computer."
        },
        "operatingSystemId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The unique ID of the computer's operating system.",
          "format": "guid"
        },
        "operatingSystemServicePack": {
          "type": [
            "string",
            "null"
          ],
          "description": "The service pack of the computer's operating system."
        },
        "operatingSystemSerialNumber": {
          "type": [
            "string",
            "null"
          ],
          "description": "The serial number of the computer's operating system."
        },
        "ipAddress": {
          "type": [
            "string",
            "null"
          ],
          "description": "The IP address of the computer."
        },
        "isVirtual": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "```true``` if the computer is virtual; otherwise, ```false```."
        },
        "hostComputerId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The unique ID of the host computer if present.",
          "format": "guid"
        },
        "siblingComputerId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The unique ID of the sibling computer if present.",
          "format": "guid"
        },
        "isUpdated": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "```true``` if the computer is updated; otherwise, ```false```."
        },
        "is64bit": {
          "type": "boolean",
          "description": "```true``` if the computer is 64 bit; otherwise, ```false```."
        },
        "isServer": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "```true``` if the computer is a server; otherwise, ```false```."
        },
        "hypervisorName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The hypervisor name of the computer."
        },
        "isVdi": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "```true``` if the computer uses virtual desktop infrastructure; otherwise, ```false```."
        },
        "processorValueUnit": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The processor value unit of the computer.",
          "format": "int32"
        },
        "reportingDate": {
          "type": [
            "string",
            "null"
          ],
          "description": "The date and time that the computer last reported data.",
          "format": "date-time"
        },
        "architecture": {
          "type": "string",
          "description": "The architecture of the computer."
        },
        "organizationId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The unique ID of the organization to which the computer belongs.",
          "format": "guid"
        },
        "status": {
          "type": [
            "string",
            "null"
          ],
          "description": "The status of the computer."
        },
        "isAutoEditingDisabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "```true``` if the auto editing is disabled for the computer; otherwise, ```false```."
        },
        "purchaseDate": {
          "type": [
            "string",
            "null"
          ],
          "description": "The date and time that the computer was purchased.",
          "format": "date-time"
        },
        "purchaseValue": {
          "type": [
            "number",
            "null"
          ],
          "description": "The amount for which the computer was purchased.",
          "format": "decimal"
        },
        "purchaseCurrency": {
          "type": [
            "string",
            "null"
          ],
          "description": "The currency in which the computer was purchased."
        },
        "purchaseValueBase": {
          "type": [
            "number",
            "null"
          ],
          "description": "The value base of the purchase of the computer.",
          "format": "decimal"
        },
        "invoiceReference": {
          "type": [
            "string",
            "null"
          ],
          "description": "The invoice reference for the purchase of the computer."
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "description": "The notes associated with the purchase of the computer."
        },
        "securityCode": {
          "type": [
            "string",
            "null"
          ],
          "description": "The security code for the computer."
        },
        "updatedDate": {
          "type": [
            "string",
            "null"
          ],
          "description": "The date and time that the computer was updated.",
          "format": "date-time"
        },
        "isIncludedInWindowsServerRequirement": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "```true``` if the computer is included in the Windows Server requirement; otherwise, ```false```."
        },
        "mostRecentUser": {
          "type": [
            "string",
            "null"
          ],
          "description": "The unique ID of the most recent user of the computer.",
          "format": "guid"
        },
        "mostFrequentUser": {
          "type": [
            "string",
            "null"
          ],
          "description": "The unique ID of the most frequent user of the computer.",
          "format": "guid"
        },
        "vendor": {
          "type": [
            "string",
            "null"
          ],
          "description": "The vendor of the computer."
        },
        "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"
        }
      }
    }
  ],
  "$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."
        }
      }
    }
  }
}