{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-user-registration-method-summary-schema.json",
  "title": "userRegistrationMethodSummary",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-ad-reports-authenticationmethodsroot-api-openapi.yml#/components/schemas/microsoft.graph.userRegistrationMethodSummary",
  "required": [
    "@odata.type"
  ],
  "type": "object",
  "properties": {
    "totalUserCount": {
      "type": "number",
      "description": "Total number of users in the tenant.",
      "format": "int64"
    },
    "userRegistrationMethodCounts": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/microsoft.graph.userRegistrationMethodCount"
      },
      "description": "Number of users registered for each authentication method."
    },
    "userRoles": {
      "anyOf": [
        {
          "$ref": "#/$defs/microsoft.graph.includedUserRoles"
        },
        {
          "type": [
            "object",
            "null"
          ]
        }
      ],
      "description": "The role type of the user. The possible values are: all, privilegedAdmin, admin, user, unknownFutureValue."
    },
    "userTypes": {
      "anyOf": [
        {
          "$ref": "#/$defs/microsoft.graph.includedUserTypes"
        },
        {
          "type": [
            "object",
            "null"
          ]
        }
      ],
      "description": "User type. The possible values are: all, member, guest, unknownFutureValue."
    },
    "@odata.type": {
      "type": "string"
    }
  },
  "$defs": {
    "microsoft.graph.includedUserRoles": {
      "title": "includedUserRoles",
      "enum": [
        "all",
        "privilegedAdmin",
        "admin",
        "user",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.includedUserTypes": {
      "title": "includedUserTypes",
      "enum": [
        "all",
        "member",
        "guest",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.userRegistrationMethodCount": {
      "title": "userRegistrationMethodCount",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "authenticationMethod": {
          "type": "string",
          "description": "Name of the authentication method."
        },
        "userCount": {
          "type": "number",
          "description": "Number of users registered.",
          "format": "int64"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  }
}