{
  "algorithm": {
    "parameters": [
      {
        "name": "list",
        "type": "list(tuple(integer, string))"
      },
      {
        "name": "id",
        "type": "integer"
      }
    ],
    "statements": [
      {
        "command": "Set",
        "expression": "FindFirst(^list, ElementAt(This(), 0) == ^id)",
        "variableName": "tuple"
      },
      {
        "children": [
          {
            "command": "Return",
            "expression": "\"\""
          }
        ],
        "command": "If",
        "expression": "IsNull(^tuple)"
      },
      {
        "children": [
          {
            "command": "Return",
            "expression": "ElementAt(^tuple, 1)"
          }
        ],
        "command": "Else"
      }
    ],
    "typeReturn": "string",
    "variables": [
      {
        "name": "tuple",
        "type": "any"
      }
    ]
  },
  "routing": null
}