Step

A single step of a route leg

EnvironmentGeocodingGeolocationMapsNavigationPlacesRoutingSolar

Properties

Name Type Description
html_instructions string Formatted instructions for this step, presented as an HTML text string.
travel_mode string The travel mode for this step
maneuver string The maneuver action for this step (e.g., turn-left, roundabout-right, merge, straight, etc.).
steps array Sub-steps for walking or transit legs in multi-modal routes
View JSON Schema on GitHub

JSON Schema

google-maps-directions-step-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Step",
  "type": "object",
  "description": "A single step of a route leg",
  "properties": {
    "html_instructions": {
      "type": "string",
      "description": "Formatted instructions for this step, presented as an HTML text string."
    },
    "travel_mode": {
      "type": "string",
      "description": "The travel mode for this step"
    },
    "maneuver": {
      "type": "string",
      "description": "The maneuver action for this step (e.g., turn-left, roundabout-right, merge, straight, etc.)."
    },
    "steps": {
      "type": "array",
      "description": "Sub-steps for walking or transit legs in multi-modal routes"
    }
  }
}