{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-defender/json-schema/microsoft-defender-microsoft-graph-security-sensor-candidate-schema.json",
  "title": "microsoft.graph.security.sensorCandidate",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-defender-security-identitycontainer-api-openapi.yml#/components/schemas/microsoft.graph.security.sensorCandidate",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "sensorCandidate",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "computerDnsName": {
          "type": "string",
          "description": "The DNS name of the computer associated with the sensor."
        },
        "domainName": {
          "type": "string",
          "description": "The domain name of the sensor."
        },
        "lastSeenDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": "string",
          "description": "The date and time when the sensor was last seen.",
          "format": "date-time"
        },
        "senseClientVersion": {
          "type": "string",
          "description": "The version of the Defender for Identity sensor client. Supports $filter (eq)."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.security.sensorCandidate",
  "$defs": {
    "microsoft.graph.entity": {
      "title": "entity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  }
}