{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-inference-classification-schema.json",
  "title": "microsoft.graph.inferenceClassification",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-ad-users-inferenceclassification-api-openapi.yml#/components/schemas/microsoft.graph.inferenceClassification",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "inferenceClassification",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "overrides": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.inferenceClassificationOverride"
          },
          "description": "A set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.inferenceClassification",
  "$defs": {
    "microsoft.graph.emailAddress": {
      "title": "emailAddress",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "address": {
          "type": [
            "string",
            "null"
          ],
          "description": "The email address of the person or entity."
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "The display name of the person or entity."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "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"
        }
      }
    },
    "microsoft.graph.inferenceClassificationOverride": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "inferenceClassificationOverride",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "classifyAs": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.inferenceClassificationType"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Specifies how incoming messages from a specific sender should always be classified as. The possible values are: focused, other."
            },
            "senderEmailAddress": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.emailAddress"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The email address information of the sender for whom the override is created."
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.inferenceClassificationOverride"
    },
    "microsoft.graph.inferenceClassificationType": {
      "title": "inferenceClassificationType",
      "enum": [
        "focused",
        "other"
      ],
      "type": "string"
    }
  }
}