{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-sign-in-conditions-schema.json",
  "title": "signInConditions",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-ad-identity-conditionalaccessroot-api-openapi.yml#/components/schemas/microsoft.graph.signInConditions",
  "type": "object",
  "properties": {
    "authenticationFlow": {
      "$ref": "#/$defs/microsoft.graph.authenticationFlow"
    },
    "clientAppType": {
      "$ref": "#/$defs/microsoft.graph.conditionalAccessClientApp"
    },
    "country": {
      "type": [
        "string",
        "null"
      ],
      "description": "Country from where the identity is authenticating."
    },
    "deviceInfo": {
      "$ref": "#/$defs/microsoft.graph.deviceInfo"
    },
    "devicePlatform": {
      "$ref": "#/$defs/microsoft.graph.conditionalAccessDevicePlatform"
    },
    "insiderRiskLevel": {
      "$ref": "#/$defs/microsoft.graph.insiderRiskLevel"
    },
    "ipAddress": {
      "type": [
        "string",
        "null"
      ],
      "description": "Ip address of the authenticating identity."
    },
    "servicePrincipalRiskLevel": {
      "$ref": "#/$defs/microsoft.graph.riskLevel"
    },
    "signInRiskLevel": {
      "$ref": "#/$defs/microsoft.graph.riskLevel"
    },
    "userRiskLevel": {
      "$ref": "#/$defs/microsoft.graph.riskLevel"
    }
  },
  "additionalProperties": {
    "type": "object"
  },
  "$defs": {
    "microsoft.graph.authenticationFlow": {
      "title": "authenticationFlow",
      "type": "object",
      "properties": {
        "transferMethod": {
          "$ref": "#/$defs/microsoft.graph.conditionalAccessTransferMethods"
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    },
    "microsoft.graph.conditionalAccessClientApp": {
      "title": "conditionalAccessClientApp",
      "enum": [
        "all",
        "browser",
        "mobileAppsAndDesktopClients",
        "exchangeActiveSync",
        "easSupported",
        "other",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.conditionalAccessDevicePlatform": {
      "title": "conditionalAccessDevicePlatform",
      "enum": [
        "android",
        "iOS",
        "windows",
        "windowsPhone",
        "macOS",
        "all",
        "unknownFutureValue",
        "linux"
      ],
      "type": "string"
    },
    "microsoft.graph.conditionalAccessTransferMethods": {
      "title": "conditionalAccessTransferMethods",
      "enum": [
        "none",
        "deviceCodeFlow",
        "authenticationTransfer",
        "unknownFutureValue"
      ],
      "type": "string",
      "x-ms-enum-flags": {
        "isFlags": true
      }
    },
    "microsoft.graph.deviceInfo": {
      "title": "deviceInfo",
      "type": "object",
      "properties": {
        "deviceId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Unique identifier set by Azure Device Registration Service at the time of registration."
        },
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The display name for the device."
        },
        "enrollmentProfileName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Enrollment profile applied to the device."
        },
        "extensionAttribute1": {
          "type": [
            "string",
            "null"
          ],
          "description": "Extension attribute."
        },
        "extensionAttribute10": {
          "type": [
            "string",
            "null"
          ],
          "description": "Extension attribute."
        },
        "extensionAttribute11": {
          "type": [
            "string",
            "null"
          ],
          "description": "Extension attribute."
        },
        "extensionAttribute12": {
          "type": [
            "string",
            "null"
          ],
          "description": "Extension attribute."
        },
        "extensionAttribute13": {
          "type": [
            "string",
            "null"
          ],
          "description": "Extension attribute."
        },
        "extensionAttribute14": {
          "type": [
            "string",
            "null"
          ],
          "description": "Extension attribute."
        },
        "extensionAttribute15": {
          "type": [
            "string",
            "null"
          ],
          "description": "Extension attribute."
        },
        "extensionAttribute2": {
          "type": [
            "string",
            "null"
          ],
          "description": "Extension attribute."
        },
        "extensionAttribute3": {
          "type": [
            "string",
            "null"
          ],
          "description": "Extension attribute."
        },
        "extensionAttribute4": {
          "type": [
            "string",
            "null"
          ],
          "description": "Extension attribute."
        },
        "extensionAttribute5": {
          "type": [
            "string",
            "null"
          ],
          "description": "Extension attribute."
        },
        "extensionAttribute6": {
          "type": [
            "string",
            "null"
          ],
          "description": "Extension attribute."
        },
        "extensionAttribute7": {
          "type": [
            "string",
            "null"
          ],
          "description": "Extension attribute."
        },
        "extensionAttribute8": {
          "type": [
            "string",
            "null"
          ],
          "description": "Extension attribute."
        },
        "extensionAttribute9": {
          "type": [
            "string",
            "null"
          ],
          "description": "Extension attribute."
        },
        "isCompliant": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates the device compliance status with Mobile Management Device (MDM) policies. Default is false."
        },
        "manufacturer": {
          "type": [
            "string",
            "null"
          ],
          "description": "Manufacturer of the device."
        },
        "mdmAppId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Application identifier used to register device into MDM."
        },
        "model": {
          "type": [
            "string",
            "null"
          ],
          "description": "Model of the device."
        },
        "operatingSystem": {
          "type": [
            "string",
            "null"
          ],
          "description": "The type of operating system on the device."
        },
        "operatingSystemVersion": {
          "type": [
            "string",
            "null"
          ],
          "description": "The version of the operating system on the device."
        },
        "ownership": {
          "type": [
            "string",
            "null"
          ],
          "description": "Ownership of the device. This property is set by Intune."
        },
        "physicalIds": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "A collection of physical identifiers for the device."
        },
        "profileType": {
          "type": [
            "string",
            "null"
          ],
          "description": "The profile type of the device."
        },
        "systemLabels": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "List of labels applied to the device by the system."
        },
        "trustType": {
          "type": [
            "string",
            "null"
          ],
          "description": "Type of trust for the joined device."
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    },
    "microsoft.graph.insiderRiskLevel": {
      "title": "insiderRiskLevel",
      "enum": [
        "none",
        "minor",
        "moderate",
        "elevated",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.riskLevel": {
      "title": "riskLevel",
      "enum": [
        "low",
        "medium",
        "high",
        "hidden",
        "none",
        "unknownFutureValue"
      ],
      "type": "string"
    }
  }
}