def METHOD_NAME(response, template_type, updated_datetime):
    if updated_datetime:
        response["updated_at"] = updated_datetime
    response["type"] = template_type
    assert validate(response, get_template_by_id_response) == response