{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "AutocompleteRequest",
  "type": "object",
  "description": "Request body for place autocomplete predictions",
  "properties": {
    "input": {
      "type": "string",
      "description": "The text input specifying which place to search for"
    },
    "includedPrimaryTypes": {
      "type": "array",
      "description": "Restrict results to primary types"
    },
    "includedRegionCodes": {
      "type": "array",
      "description": "Restrict results to these region codes"
    },
    "languageCode": {
      "type": "string",
      "description": "The language code for predictions"
    },
    "regionCode": {
      "type": "string",
      "description": "Region code for biasing"
    },
    "inputOffset": {
      "type": "integer",
      "description": "Zero-based Unicode character offset of input indicating the cursor position. Use to return more relevant predictions."
    },
    "includeQueryPredictions": {
      "type": "boolean",
      "description": "Whether to include query predictions in results"
    },
    "sessionToken": {
      "type": "string",
      "description": "A random string that groups this request with subsequent Place Details requests for billing."
    }
  }
}