def METHOD_NAME(tile: dict):
    """Flattens the child node hierarchy of a tile."""
    child_nodes = []
    while "children" in tile and isinstance(tile["children"], list) and len(tile["children"]) > 0:
        child_node = tile["children"][0]
        child_nodes.append(child_node)
        tile = child_node
    return child_nodes