def METHOD_NAME(
    file: typing.Dict[str, typing.Any], download_prefix: str
) -> typing.Dict[str, typing.Any]:
    payload = {
        "id": file["info"]["id"],
        "period": file["info"].get("metadata", {}).get("Date"),
        "counter": file["info"].get("counter"),
        "article_count": file["info"].get("article_count"),
        "media_count": file["info"].get("media_count"),
        "size": file["info"].get("size"),
        "metadata": file["info"].get("metadata"),
        "url": f"{download_prefix}/{file['name']}",
        "zimcheck": file.get("check_details", {}),
    }
    return payload