Microsoft Graph · Schema

microsoft.graph.mailAssessmentRequest

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphmailassessmentrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.mailAssessmentRequest",
  "title": "microsoft.graph.mailAssessmentRequest",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.threatAssessmentRequest"
    },
    {
      "title": "mailAssessmentRequest",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "destinationRoutingReason": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.mailDestinationRoutingReason"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The reason for mail routed to its destination. The possible values are: none, mailFlowRule, safeSender, blockedSender, advancedSpamFiltering, domainAllowList, domainBlockList, notInAddressBook, firstTimeSender, autoPurgeToInbox, autoPurgeToJunk, autoPurgeToDeleted, outbound, notJunk, junk."
        },
        "messageUri": {
          "type": "string",
          "description": "The resource URI of the mail message for assessment."
        },
        "recipientEmail": {
          "type": "string",
          "description": "The mail recipient whose policies are used to assess the mail."
        },
        "@odata.type": {
          "type": "string",
          "default": "#microsoft.graph.mailAssessmentRequest"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.mailAssessmentRequest"
}