def _get_recipe_item_data(recipe, field):
    """
    Retrieve the data of the recipe item of the given type for the given recipe
    """
    for i in recipe['items']:
        if i['type'] == field:
            return i['data']
    return None
