{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/symantec/json-schema/symantec-computer-list-response-schema.json",
  "title": "ComputerListResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/symantec-computers-api-openapi.yml#/components/schemas/ComputerListResponse",
  "type": "object",
  "properties": {
    "content": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Computer"
      }
    },
    "number": {
      "type": "integer",
      "description": "Current page number"
    },
    "size": {
      "type": "integer",
      "description": "Page size"
    },
    "sort": {
      "type": "string"
    },
    "totalElements": {
      "type": "integer",
      "description": "Total number of matching computers"
    },
    "totalPages": {
      "type": "integer"
    }
  },
  "$defs": {
    "Computer": {
      "type": "object",
      "properties": {
        "uniqueId": {
          "type": "string",
          "description": "Unique computer identifier"
        },
        "computerName": {
          "type": "string",
          "description": "Computer hostname"
        },
        "domainOrWorkgroup": {
          "type": "string",
          "description": "Domain or workgroup name"
        },
        "ipAddresses": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "IP addresses assigned to the computer"
        },
        "macAddresses": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "MAC addresses"
        },
        "operatingSystem": {
          "type": "string",
          "description": "Operating system name and version"
        },
        "agentVersion": {
          "type": "string",
          "description": "SEP client version installed"
        },
        "lastScanTime": {
          "type": "integer",
          "description": "Unix timestamp of last security scan"
        },
        "lastUpdateTime": {
          "type": "integer",
          "description": "Unix timestamp of last policy update"
        },
        "infected": {
          "type": "boolean",
          "description": "Whether the computer has active infections"
        },
        "groupId": {
          "type": "string",
          "description": "Group ID the computer belongs to"
        },
        "groupName": {
          "type": "string",
          "description": "Group name the computer belongs to"
        },
        "onlineStatus": {
          "type": "integer",
          "description": "Online status (1=online, 0=offline)"
        }
      }
    }
  }
}