{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-defender/json-schema/microsoft-defender-microsoft-graph-security-ediscovery-estimate-operation-schema.json",
  "title": "microsoft.graph.security.ediscoveryEstimateOperation",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-defender-security-casesroot-api-openapi.yml#/components/schemas/microsoft.graph.security.ediscoveryEstimateOperation",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.security.caseOperation"
    },
    {
      "title": "ediscoveryEstimateOperation",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "indexedItemCount": {
          "type": [
            "number",
            "null"
          ],
          "description": "The estimated count of items for the search that matched the content query.",
          "format": "int64"
        },
        "indexedItemsSize": {
          "type": [
            "number",
            "null"
          ],
          "description": "The estimated size of items for the search that matched the content query.",
          "format": "int64"
        },
        "mailboxCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "The number of mailboxes that had search hits.",
          "format": "int32"
        },
        "reportFileMetadata": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.security.reportFileMetadata"
          },
          "description": "Contains the properties for report file metadata, including downloadUrl, fileName, and size."
        },
        "siteCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "The number of mailboxes that had search hits.",
          "format": "int32"
        },
        "statisticsOptions": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.security.statisticsOptions"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The options to generate statistics. The possible values are: includeRefiners, includeQueryStats, includeUnindexedStats, advancedIndexing, locationsWithoutHits, unknownFutureValue."
        },
        "unindexedItemCount": {
          "type": [
            "number",
            "null"
          ],
          "description": "The estimated count of unindexed items for the collection.",
          "format": "int64"
        },
        "unindexedItemsSize": {
          "type": [
            "number",
            "null"
          ],
          "description": "The estimated size of unindexed items for the collection.",
          "format": "int64"
        },
        "search": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.security.ediscoverySearch"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "eDiscovery search.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.security.ediscoveryEstimateOperation",
  "$defs": {
    "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.identity": {
      "title": "identity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The display name of the identity.For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta."
        },
        "id": {
          "type": [
            "string",
            "null"
          ],
          "description": "Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.identitySet": {
      "title": "identitySet",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "application": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.identity"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Optional. The application associated with this action."
        },
        "device": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.identity"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Optional. The device associated with this action."
        },
        "user": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.identity"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Optional. The user associated with this action."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.resultInfo": {
      "title": "resultInfo",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "code": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The result code.",
          "format": "int32"
        },
        "message": {
          "type": [
            "string",
            "null"
          ],
          "description": "The message."
        },
        "subcode": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The result subcode.",
          "format": "int32"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.security.additionalDataOptions": {
      "title": "additionalDataOptions",
      "enum": [
        "allVersions",
        "linkedFiles",
        "unknownFutureValue",
        "advancedIndexing",
        "listAttachments",
        "htmlTranscripts",
        "messageConversationExpansion",
        "locationsWithoutHits",
        "allItemsInFolder",
        "cloudNativeHtmlConversion"
      ],
      "type": "string",
      "x-ms-enum-flags": {
        "isFlags": true
      }
    },
    "microsoft.graph.security.caseAction": {
      "title": "caseAction",
      "enum": [
        "contentExport",
        "applyTags",
        "convertToPdf",
        "index",
        "estimateStatistics",
        "addToReviewSet",
        "holdUpdate",
        "unknownFutureValue",
        "purgeData",
        "exportReport",
        "exportResult",
        "holdPolicySync"
      ],
      "type": "string"
    },
    "microsoft.graph.security.caseOperation": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "caseOperation",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "action": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.caseAction"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The type of action the operation represents. The possible values are: contentExport,  applyTags, convertToPdf, index, estimateStatistics, addToReviewSet, holdUpdate, unknownFutureValue, purgeData, exportReport, exportResult, holdPolicySync. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: purgeData, exportReport, exportResult, holdPolicySync."
            },
            "completedDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": [
                "string",
                "null"
              ],
              "description": "The date and time the operation was completed.",
              "format": "date-time"
            },
            "createdBy": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.identitySet"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The user that created the operation."
            },
            "createdDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": [
                "string",
                "null"
              ],
              "description": "The date and time the operation was created.",
              "format": "date-time"
            },
            "percentProgress": {
              "maximum": 2147483647,
              "minimum": -2147483648,
              "type": [
                "number",
                "null"
              ],
              "description": "The progress of the operation.",
              "format": "int32"
            },
            "resultInfo": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.resultInfo"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Contains success and failure-specific result information."
            },
            "status": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.caseOperationStatus"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The status of the case operation. The possible values are: notStarted, submissionFailed, running, succeeded, partiallySucceeded, failed, unknownFutureValue."
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ]
    },
    "microsoft.graph.security.caseOperationStatus": {
      "title": "caseOperationStatus",
      "enum": [
        "notStarted",
        "submissionFailed",
        "running",
        "succeeded",
        "partiallySucceeded",
        "failed",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.security.cloudAttachmentVersion": {
      "title": "cloudAttachmentVersion",
      "enum": [
        "latest",
        "recent10",
        "recent100",
        "all",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.security.dataSet": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "dataSet",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "createdBy": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.identitySet"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The user who created the data set. Read-only."
            },
            "createdDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": [
                "string",
                "null"
              ],
              "description": "The date and time when the review set was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.",
              "format": "date-time"
            },
            "description": {
              "type": [
                "string",
                "null"
              ],
              "description": "The description of the data set."
            },
            "displayName": {
              "type": [
                "string",
                "null"
              ],
              "description": "The name of the data set. The name is unique with a maximum limit of 64 characters."
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ]
    },
    "microsoft.graph.security.dataSource": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "dataSource",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "createdBy": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.identitySet"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The user who created the dataSource."
            },
            "createdDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": [
                "string",
                "null"
              ],
              "description": "The date and time the dataSource was created.",
              "format": "date-time"
            },
            "displayName": {
              "type": [
                "string",
                "null"
              ],
              "description": "The display name of the dataSource and is the name of the SharePoint site."
            },
            "holdStatus": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.dataSourceHoldStatus"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The hold status of the dataSource. The possible values are: notApplied, applied, applying, removing, partial."
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ]
    },
    "microsoft.graph.security.dataSourceContainer": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "dataSourceContainer",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "createdDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": [
                "string",
                "null"
              ],
              "description": "Created date and time of the dataSourceContainer entity.",
              "format": "date-time"
            },
            "displayName": {
              "type": [
                "string",
                "null"
              ],
              "description": "Display name of the dataSourceContainer entity."
            },
            "holdStatus": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.dataSourceHoldStatus"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The hold status of the dataSourceContainer. The possible values are: notApplied, applied, applying, removing, partial"
            },
            "lastModifiedDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": [
                "string",
                "null"
              ],
              "description": "Last modified date and time of the dataSourceContainer.",
              "format": "date-time"
            },
            "releasedDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": [
                "string",
                "null"
              ],
              "description": "Date and time that the dataSourceContainer was released from the case.",
              "format": "date-time"
            },
            "status": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.dataSourceContainerStatus"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Latest status of the dataSourceContainer. The possible values are: Active, Released."
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ]
    },
    "microsoft.graph.security.dataSourceContainerStatus": {
      "title": "dataSourceContainerStatus",
      "enum": [
        "active",
        "released",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.security.dataSourceHoldStatus": {
      "title": "dataSourceHoldStatus",
      "enum": [
        "notApplied",
        "applied",
        "applying",
        "removing",
        "partial",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.security.dataSourceScopes": {
      "title": "dataSourceScopes",
      "enum": [
        "none",
        "allTenantMailboxes",
        "allTenantSites",
        "allCaseCustodians",
        "allCaseNoncustodialDataSources",
        "unknownFutureValue"
      ],
      "type": "string",
      "x-ms-enum-flags": {
        "isFlags": true
      }
    },
    "microsoft.graph.security.documentVersion": {
      "title": "documentVersion",
      "enum": [
        "latest",
        "recent10",
        "recent100",
        "all",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.security.ediscoveryAddToReviewSetOperation": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.security.caseOperation"
        },
        {
          "title": "ediscoveryAddToReviewSetOperation",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "additionalDataOptions": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.additionalDataOptions"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The options to add items to the review set. The possible values are: allVersions, linkedFiles, unknownFutureValue, advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder, cloudNativeHtmlConversion. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder, cloudNativeHtmlConversion."
            },
            "cloudAttachmentVersion": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.cloudAttachmentVersion"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Specifies the number of most recent versions of cloud attachments to collect. The possible values are: latest, recent10, recent100, all, unknownFutureValue."
            },
            "documentVersion": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.documentVersion"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Specifies the number of most recent versions of SharePoint documents to collect. The possible values are: latest, recent10, recent100, all, unknownFutureValue."
            },
            "itemsToInclude": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.itemsToInclude"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The items to include in the review set. The possible values are: searchHits, partiallyIndexed, unknownFutureValue."
            },
            "reportFileMetadata": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/microsoft.graph.security.reportFileMetadata"
              },
              "description": "Contains the properties for report file metadata, including downloadUrl, fileName, and size."
            },
            "reviewSet": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.ediscoveryReviewSet"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "eDiscovery review set to which items matching source collection query gets added.",
              "x-ms-navigationProperty": true
            },
            "search": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.ediscoverySearch"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "eDiscovery search that gets added to review set.",
              "x-ms-navigationProperty": true
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.security.ediscoveryAddToReviewSetOperation"
    },
    "microsoft.graph.security.ediscoveryEstimateOperation": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.security.caseOperation"
        },
        {
          "title": "ediscoveryEstimateOperation",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "indexedItemCount": {
              "type": [
                "number",
                "null"
              ],
              "description": "The estimated count of items for the search that matched the content query.",
              "format": "int64"
            },
            "indexedItemsSize": {
              "type": [
                "number",
                "null"
              ],
              "description": "The estimated size of items for the search that matched the content query.",
              "format": "int64"
            },
            "mailboxCount": {
              "maximum": 2147483647,
              "minimum": -2147483648,
              "type": [
                "number",
                "null"
              ],
              "description": "The number of mailboxes that had search hits.",
              "format": "int32"
            },
            "reportFileMetadata": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/microsoft.graph.security.reportFileMetadata"
              },
              "description": "Contains the properties for report file metadata, including downloadUrl, fileName, and size."
            },
            "siteCount": {
              "maximum": 2147483647,
              "minimum": -2147483648,
              "type": [
                "number",
                "null"
              ],
              "description": "The number of mailboxes that had search hits.",
              "format": "int32"
            },
            "statisticsOptions": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.statisticsOptions"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The options to generate statistics. The possible values are: includeRefiners, includeQueryStats, includeUnindexedStats, advancedIndexing, locationsWithoutHits, unknownFutureValue."
            },
            "unindexedItemCount": {
              "type": [
                "number",
                "null"
              ],
              "description": "The estimated count of unindexed items for the collection.",
              "format": "int64"
            },
            "unindexedItemsSize": {
              "type": [
                "number",
                "null"
              ],
              "description": "The estimated size of unindexed items for the collection.",
              "format": "int64"
            },
            "search": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.ediscoverySearch"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "eDiscovery search.",
              "x-ms-navigationProperty": true
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.security.ediscoveryEstimateOperation"
    },
    "microsoft.graph.security.ediscoveryIndexOperation": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.security.caseOperation"
        },
        {
          "title": "ediscoveryIndexOperation",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.security.ediscoveryIndexOperation"
    },
    "microsoft.graph.security.ediscoveryNoncustodialDataSource": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.security.dataSourceContainer"
        },
        {
          "title": "ediscoveryNoncustodialDataSource",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "dataSource": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.dataSource"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "User source or SharePoint site data source as noncustodial data source.",
              "x-ms-navigationProperty": true
            },
            "lastIndexOperation": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.ediscoveryIndexOperation"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Operation entity that represents the latest indexing for the noncustodial data source.",
              "x-ms-navigationProperty": true
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.security.ediscoveryNoncustodialDataSource"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.security.ediscoveryNoncustodialDataSource"
    },
    "microsoft.graph.security.ediscoveryReviewSet": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.security.dataSet"
        },
        {
          "title": "ediscoveryReviewSet",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "queries": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/microsoft.graph.security.ediscoveryReviewSetQuery"
              },
              "description": "Represents queries within the review set.",
              "x-ms-navigationProperty": true
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.security.ediscoveryReviewSet"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.security.ediscoveryReviewSet"
    },
    "microsoft.graph.security.ediscoveryReviewSetQuery": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.security.search"
        },
        {
          "title": "ediscoveryReviewSetQuery",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.security.ediscoveryReviewSetQuery"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.security.ediscoveryReviewSetQuery"
    },
    "microsoft.graph.security.ediscoverySearch": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.security.search"
        },
        {
          "title": "ediscoverySearch",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "dataSourceScopes": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.dataSourceScopes"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "When specified, the collection spans across a service for an entire workload. The possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources."
            },
            "additionalSources": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/microsoft.graph.security.dataSource"
              },
              "description": "Adds an additional source to the eDiscovery search.",
              "x-ms-navigationProperty": true
            },
            "addToReviewSetOperation": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.ediscoveryAddToReviewSetOperation"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Adds the results of the eDiscovery search to the specified reviewSet.",
              "x-ms-navigationProperty": true
            },
            "custodianSources": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/microsoft.graph.security.dataSource"
              },
              "description": "Custodian sources that are included in the eDiscovery search.",
              "x-ms-navigationProperty": true
            },
            "lastEstimateStatisticsOperation": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.security.ediscoveryEstimateOperation"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The last estimate operation associated with the eDiscovery search.",
              "x-ms-navigationProperty": true
            },
            "noncustodialSources": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/microsoft.graph.security.ediscoveryNoncustodialDataSource"
              },
              "description": "noncustodialDataSource sources that are included in the eDiscovery search",
              "x-ms-navigationProperty": true
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.security.ediscoverySearch"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.security.ediscoverySearch"
    },
    "microsoft.graph.security.itemsToInclude": {
      "title": "itemsToInclude",
      "enum": [
        "searchHits",
        "partiallyIndexed",
        "unknownFutureValue"
      ],
      "type": "string",
      "x-ms-enum-flags": {
        "isFlags": true
      }
    },
    "microsoft.graph.security.reportFileMetadata": {
      "title": "reportFileMetadata",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "downloadUrl": {
          "type": [
            "string",
            "null"
          ],
          "description": "The URL to download the report."
        },
        "fileName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name of the file."
        },
        "size": {
          "type": [
            "number",
            "null"
          ],
          "description": "The size of the file.",
          "format": "int64"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.security.search": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "search",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "contentQuery": {
              "type": [
                "string",
                "null"
              ]
            },
            "createdBy": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.identitySet"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ]
            },
            "createdDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "description": {
              "type": [
                "string",
                "null"
              ]
            },
            "displayName": {
              "type": [
                "string",
                "null"
              ]
            },
            "lastModifiedBy": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.identitySet"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ]
            },
            "lastModifiedDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ]
    },
    "microsoft.graph.security.statisticsOptions": {
      "title": "statisticsOptions",
      "enum": [
        "includeRefiners",
        "includeQueryStats",
        "includeUnindexedStats",
        "advancedIndexing",
        "locationsWithoutHits",
        "unknownFutureValue"
      ],
      "type": "string",
      "x-ms-enum-flags": {
        "isFlags": true
      }
    }
  }
}