{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/mongodb/main/json-schema/mongodb-drop-index-suggestions-response-schema.json", "title": "DropIndexSuggestionsResponse", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/mongodb-performance-advisor-api-openapi.yml#/components/schemas/DropIndexSuggestionsResponse", "properties": { "hiddenIndexes": { "description": "List that contains the documents with information about the hidden indexes that the Performance Advisor suggests to remove.", "items": { "$ref": "#/$defs/DropIndexSuggestionsIndex" }, "readOnly": true, "type": "array" }, "redundantIndexes": { "description": "List that contains the documents with information about the redundant indexes that the Performance Advisor suggests to remove.", "items": { "$ref": "#/$defs/DropIndexSuggestionsIndex" }, "readOnly": true, "type": "array" }, "unusedIndexes": { "description": "List that contains the documents with information about the unused indexes that the Performance Advisor suggests to remove.", "items": { "$ref": "#/$defs/DropIndexSuggestionsIndex" }, "readOnly": true, "type": "array" } }, "type": "object", "$defs": { "DropIndexSuggestionsIndex": { "properties": { "accessCount": { "description": "Usage count (since last restart) of index.", "format": "int64", "type": "integer" }, "index": { "description": "List that contains documents that specify a key in the index and its sort order.", "items": { "description": "One index key paired with its sort order. A value of `1` indicates an ascending sort order. A value of `-1` indicates a descending sort order. Keys in indexes with multiple keys appear in the same order that they appear in the index.", "type": "object" }, "type": "array" }, "name": { "description": "Name of index.", "type": "string" }, "namespace": { "description": "Human-readable label that identifies the namespace on the specified host. The resource expresses this parameter value as `.`.", "type": "string" }, "shards": { "description": "List that contains strings that specifies the shards where the index is found.", "items": { "description": "Shard name.", "type": "string" }, "type": "array" }, "since": { "description": "Date of most recent usage of index. This parameter expresses its value in the ISO 8601 timestamp format in UTC.", "format": "date-time", "type": "string" }, "sizeBytes": { "description": "Size of index.", "format": "int64", "type": "integer" } }, "type": "object" } } }