{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fortify/main/json-schema/fortify-sensor-schema.json",
  "title": "Sensor",
  "description": "A WebInspect sensor",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fortify-sensors-api-openapi.yml#/components/schemas/Sensor",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier"
    },
    "name": {
      "type": "string",
      "description": "Sensor name"
    },
    "hostName": {
      "type": "string",
      "description": "Host name of the sensor machine"
    },
    "ipAddress": {
      "type": "string",
      "description": "IP address of the sensor"
    },
    "status": {
      "type": "string",
      "description": "Current sensor status",
      "enum": [
        "Active",
        "Inactive",
        "Disabled"
      ]
    },
    "sensorPoolId": {
      "type": "string",
      "format": "uuid",
      "description": "Assigned sensor pool"
    },
    "sensorPoolName": {
      "type": "string",
      "description": "Name of the assigned sensor pool"
    },
    "webInspectVersion": {
      "type": "string",
      "description": "Version of WebInspect on the sensor"
    },
    "lastHeartbeat": {
      "type": "string",
      "format": "date-time",
      "description": "Last heartbeat timestamp"
    },
    "operatingSystem": {
      "type": "string",
      "description": "Operating system of the sensor"
    },
    "isRunning": {
      "type": "boolean",
      "description": "Whether the sensor is currently running a scan"
    }
  }
}