{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.alterationResponse",
  "title": "alterationResponse",
  "required": [
    "@odata.type"
  ],
  "type": "object",
  "properties": {
    "originalQueryString": {
      "type": "string",
      "description": "Defines the original user query string.",
      "nullable": true
    },
    "queryAlteration": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.searchAlteration"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "Defines the details of the alteration information for the spelling correction."
    },
    "queryAlterationType": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.searchAlterationType"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "Defines the type of the spelling correction. The possible values are: suggestion, modification."
    },
    "@odata.type": {
      "type": "string"
    }
  }
}