Microsoft Graph · Schema

searchResponse

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks

Properties

Name Type Description
hitsContainers array A collection of search results.
queryAlterationResponse object Provides information related to spelling corrections in the alteration response.
resultTemplates object A dictionary of resultTemplateIds and associated values, which include the name and JSON schema of the result templates.
searchTerms array Contains the search terms sent in the initial search query.
@odata.type string
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphsearchresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.searchResponse",
  "title": "searchResponse",
  "required": [
    "@odata.type"
  ],
  "type": "object",
  "properties": {
    "hitsContainers": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/microsoft.graph.searchHitsContainer"
      },
      "description": "A collection of search results."
    },
    "queryAlterationResponse": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.alterationResponse"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "Provides information related to spelling corrections in the alteration response."
    },
    "resultTemplates": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.resultTemplateDictionary"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "A dictionary of resultTemplateIds and associated values, which include the name and JSON schema of the result templates."
    },
    "searchTerms": {
      "type": "array",
      "items": {
        "type": "string",
        "nullable": true
      },
      "description": "Contains the search terms sent in the initial search query."
    },
    "@odata.type": {
      "type": "string"
    }
  }
}