{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-service-member-schema.json",
  "title": "ServiceMember",
  "description": "The server properties for a given service.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-adds-api-openapi.yml#/components/schemas/ServiceMember",
  "type": "object",
  "properties": {
    "serviceMemberId": {
      "description": "The id of the server.",
      "type": "string"
    },
    "serviceId": {
      "description": "The service id to whom this server belongs.",
      "type": "string"
    },
    "tenantId": {
      "description": "The tenant id to whom this server belongs.",
      "type": "string"
    },
    "activeAlerts": {
      "description": "The total number of alerts that are currently active for the server.",
      "type": "integer"
    },
    "additionalInformation": {
      "description": "The additional information, if any, for the server.",
      "type": "string"
    },
    "createdDate": {
      "description": "The date time , in UTC, when the server was onboarded to Azure Active Directory Connect Health.",
      "type": "string",
      "format": "date-time"
    },
    "dimensions": {
      "description": "The server specific configuration related dimensions.",
      "type": "object",
      "items": {
        "$ref": "#/$defs/Item"
      }
    },
    "disabled": {
      "description": "Indicates if the server is disabled or not. ",
      "type": "boolean"
    },
    "disabledReason": {
      "description": "The reason for disabling the server.",
      "type": "integer"
    },
    "installedQfes": {
      "description": "The list of installed QFEs for the server.",
      "type": "object",
      "items": {
        "$ref": "#/$defs/Hotfix"
      }
    },
    "lastDisabled": {
      "description": "The date and time , in UTC, when the server was last disabled.",
      "type": "string",
      "format": "date-time"
    },
    "lastReboot": {
      "description": "The date and time, in UTC, when the server was last rebooted.",
      "type": "string",
      "format": "date-time"
    },
    "lastServerReportedMonitoringLevelChange": {
      "description": "The date and time, in UTC, when the server's data monitoring configuration was last changed.",
      "type": "string",
      "format": "date-time"
    },
    "lastUpdated": {
      "description": "The date and time, in UTC, when the server properties were last updated.",
      "type": "string",
      "format": "date-time"
    },
    "machineId": {
      "description": "The id of the machine.",
      "type": "string"
    },
    "machineName": {
      "description": "The name of the server.",
      "type": "string"
    },
    "monitoringConfigurationsComputed": {
      "description": "The monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.",
      "type": "object",
      "items": {
        "$ref": "#/$defs/Item"
      }
    },
    "monitoringConfigurationsCustomized": {
      "description": "The customized monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.",
      "type": "object",
      "items": {
        "$ref": "#/$defs/Item"
      }
    },
    "osName": {
      "description": "The name of the operating system installed in the machine.",
      "type": "string"
    },
    "osVersion": {
      "description": "The version of the operating system installed in the machine.",
      "type": "string"
    },
    "properties": {
      "description": "Server specific properties.",
      "type": "object",
      "items": {
        "$ref": "#/$defs/Item"
      }
    },
    "recommendedQfes": {
      "description": "The list of recommended hotfixes for the server.",
      "type": "object",
      "items": {
        "$ref": "#/$defs/Hotfix"
      }
    },
    "resolvedAlerts": {
      "description": "The total count of alerts that are resolved for this server.",
      "type": "integer"
    },
    "role": {
      "description": "The service role that is being monitored in the server.",
      "type": "string"
    },
    "serverReportedMonitoringLevel": {
      "description": "The monitoring level reported by the server.",
      "type": "string",
      "enum": [
        "Partial",
        "Full",
        "Off"
      ],
      "x-ms-enum": {
        "name": "MonitoringLevel",
        "modelAsString": false
      }
    },
    "status": {
      "description": "The health status of the server.",
      "type": "string"
    }
  },
  "$defs": {
    "Hotfix": {
      "description": "The details of the hotfix installed in the server.",
      "type": "object",
      "properties": {
        "kbName": {
          "description": "The name of the hotfix KB.",
          "type": "string"
        },
        "link": {
          "description": "The link to the KB Article.",
          "type": "string"
        },
        "installedDate": {
          "description": "The date and time, in UTC, when the KB was installed in the server.",
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "Item": {
      "description": "The key value pair for properties.",
      "type": "object",
      "properties": {
        "key": {
          "description": "The key for the property.",
          "type": "string"
        },
        "value": {
          "description": "The value for the key.",
          "type": "string"
        }
      }
    }
  }
}