{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/microsoft.graph.chatMessagePolicyViolation", "title": "chatMessagePolicyViolation", "required": [ "@odata.type" ], "type": "object", "properties": { "dlpAction": { "anyOf": [ { "$ref": "#/components/schemas/microsoft.graph.chatMessagePolicyViolationDlpActionTypes" }, { "type": "object", "nullable": true } ], "description": "The action taken by the DLP provider on the message with sensitive content. Supported values are: NoneNotifySender -- Inform the sender of the violation but allow readers to read the message.BlockAccess -- Block readers from reading the message.BlockAccessExternal -- Block users outside the organization from reading the message, while allowing users within the organization to read the message." }, "justificationText": { "type": "string", "description": "Justification text provided by the sender of the message when overriding a policy violation.", "nullable": true }, "policyTip": { "anyOf": [ { "$ref": "#/components/schemas/microsoft.graph.chatMessagePolicyViolationPolicyTip" }, { "type": "object", "nullable": true } ], "description": "Information to display to the message sender about why the message was flagged as a violation." }, "userAction": { "anyOf": [ { "$ref": "#/components/schemas/microsoft.graph.chatMessagePolicyViolationUserActionTypes" }, { "type": "object", "nullable": true } ], "description": "Indicates the action taken by the user on a message blocked by the DLP provider. Supported values are: NoneOverrideReportFalsePositiveWhen the DLP provider is updating the message for blocking sensitive content, userAction isn't required." }, "verdictDetails": { "anyOf": [ { "$ref": "#/components/schemas/microsoft.graph.chatMessagePolicyViolationVerdictDetailsTypes" }, { "type": "object", "nullable": true } ], "description": "Indicates what actions the sender may take in response to the policy violation. Supported values are: NoneAllowFalsePositiveOverride -- Allows the sender to declare the policyViolation to be an error in the DLP app and its rules, and allow readers to see the message again if the dlpAction hides it.AllowOverrideWithoutJustification -- Allows the sender to override the DLP violation and allow readers to see the message again if the dlpAction hides it, without needing to provide an explanation for doing so. AllowOverrideWithJustification -- Allows the sender to override the DLP violation and allow readers to see the message again if the dlpAction hides it, after providing an explanation for doing so.AllowOverrideWithoutJustification and AllowOverrideWithJustification are mutually exclusive." }, "@odata.type": { "type": "string" } } }