{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Tracks of a route, newest first. Served by Hiker Atlas's indexer (https://github.com/hikeratlas/atproto-indexer). In beta: may change.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "tracks": {
              "items": {
                "ref": "com.hikeratlas.temp.defs#trackView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "tracks"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "key": {
            "description": "A route key (com.hikeratlas.temp.defs#routeKey).",
            "maxLength": 128,
            "type": "string"
          },
          "limit": {
            "default": 20,
            "maximum": 50,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "key"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "com.hikeratlas.temp.getRouteTracks",
  "lexicon": 1
}
