{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RouteLeg",
  "title": "RouteLeg",
  "type": "object",
  "properties": {
    "summary": {
      "$ref": "#/components/schemas/RouteSummary"
    },
    "points": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/LatLon"
      }
    }
  }
}