From 44012b17852c9ccd7b625b82a2be8d0bf2d43b94 Mon Sep 17 00:00:00 2001 From: LightJack05 <66321084+LightJack05@users.noreply.github.com> Date: Thu, 5 Feb 2026 23:00:50 +0100 Subject: [PATCH 1/4] Added more properties to products --- internal/database/product/product.go | 480 ++++++++++++++++++++------- 1 file changed, 369 insertions(+), 111 deletions(-) diff --git a/internal/database/product/product.go b/internal/database/product/product.go index e70cd54..bd6ebc9 100644 --- a/internal/database/product/product.go +++ b/internal/database/product/product.go @@ -6,117 +6,375 @@ type Product struct { ProductName string `json:"product_name" bson:"product_name"` Quantity string `json:"quantity" bson:"quantity"` Nutriments struct { - SaturatedFat float64 `json:"saturated-fat" bson:"saturated-fat,truncate"` - SodiumValue float64 `json:"sodium_value" bson:"sodium_value,truncate"` - MonounsaturatedFatUnit string `json:"monounsaturated-fat_unit" bson:"monounsaturated-fat_unit"` - SaltValue float64 `json:"salt_value" bson:"salt_value,truncate"` - EnergyKcal100g float64 `json:"energy-kcal_100g" bson:"energy-kcal_100g,truncate"` - EnergyKcalValue float64 `json:"energy-kcal_value" bson:"energy-kcal_value,truncate"` - MonounsaturatedFat float64 `json:"monounsaturated-fat" bson:"monounsaturated-fat,truncate"` - FatValue float64 `json:"fat_value" bson:"fat_value,truncate"` - FruitsVegetablesLegumesEstimateFromIngredientsServing float64 `json:"fruits-vegetables-legumes-estimate-from-ingredients_serving" bson:"fruits-vegetables-legumes-estimate-from-ingredients_serving,truncate"` - ProteinsValue float64 `json:"proteins_value" bson:"proteins_value,truncate"` - TransFatValue float64 `json:"trans-fat_value" bson:"trans-fat_value,truncate"` - FruitsVegetablesNutsEstimateFromIngredientsServing float64 `json:"fruits-vegetables-nuts-estimate-from-ingredients_serving" bson:"fruits-vegetables-nuts-estimate-from-ingredients_serving,truncate"` - EnergyServing float64 `json:"energy_serving" bson:"energy_serving,truncate"` - SaturatedFatValue float64 `json:"saturated-fat_value" bson:"saturated-fat_value,truncate"` - ProteinsUnit string `json:"proteins_unit" bson:"proteins_unit"` - Salt float64 `json:"salt" bson:"salt,truncate"` - Carbohydrates float64 `json:"carbohydrates" bson:"carbohydrates,truncate"` - Salt100g float64 `json:"salt_100g" bson:"salt_100g,truncate"` - NovaGroup float64 `json:"nova-group" bson:"nova-group,truncate"` - NutritionScoreFr float64 `json:"nutrition-score-fr" bson:"nutrition-score-fr,truncate"` - EnergyKcalValueComputed float64 `json:"energy-kcal_value_computed" bson:"energy-kcal_value_computed,truncate"` - NutritionScoreFr100g float64 `json:"nutrition-score-fr_100g" bson:"nutrition-score-fr_100g,truncate"` - MonounsaturatedFat100g float64 `json:"monounsaturated-fat_100g" bson:"monounsaturated-fat_100g,truncate"` - EnergyUnit string `json:"energy_unit" bson:"energy_unit"` - Energy100g float64 `json:"energy_100g" bson:"energy_100g,truncate"` - PolyunsaturatedFatValue float64 `json:"polyunsaturated-fat_value" bson:"polyunsaturated-fat_value,truncate"` - Fat100g float64 `json:"fat_100g" bson:"fat_100g,truncate"` - CarbohydratesValue float64 `json:"carbohydrates_value" bson:"carbohydrates_value,truncate"` - EnergyKcalUnit string `json:"energy-kcal_unit" bson:"energy-kcal_unit"` - Sodium float64 `json:"sodium" bson:"sodium,truncate"` - FatUnit string `json:"fat_unit" bson:"fat_unit"` - FruitsVegetablesNutsEstimateFromIngredients100g float64 `json:"fruits-vegetables-nuts-estimate-from-ingredients_100g" bson:"fruits-vegetables-nuts-estimate-from-ingredients_100g,truncate"` - FatServing float64 `json:"fat_serving" bson:"fat_serving,truncate"` - Fat float64 `json:"fat" bson:"fat,truncate"` - MonounsaturatedFatServing float64 `json:"monounsaturated-fat_serving" bson:"monounsaturated-fat_serving,truncate"` - Carbohydrates100g float64 `json:"carbohydrates_100g" bson:"carbohydrates_100g,truncate"` - SaturatedFatUnit string `json:"saturated-fat_unit" bson:"saturated-fat_unit"` - EnergyKcalServing float64 `json:"energy-kcal_serving" bson:"energy-kcal_serving,truncate"` - ProteinsServing float64 `json:"proteins_serving" bson:"proteins_serving,truncate"` - PolyunsaturatedFat float64 `json:"polyunsaturated-fat" bson:"polyunsaturated-fat,truncate"` - TransFat float64 `json:"trans-fat" bson:"trans-fat,truncate"` - PolyunsaturatedFatUnit string `json:"polyunsaturated-fat_unit" bson:"polyunsaturated-fat_unit"` - Proteins100g float64 `json:"proteins_100g" bson:"proteins_100g,truncate"` - PolyunsaturatedFatServing float64 `json:"polyunsaturated-fat_serving" bson:"polyunsaturated-fat_serving,truncate"` - CarbohydratesServing float64 `json:"carbohydrates_serving" bson:"carbohydrates_serving,truncate"` - SodiumUnit string `json:"sodium_unit" bson:"sodium_unit"` - Proteins float64 `json:"proteins" bson:"proteins,truncate"` - SaltServing float64 `json:"salt_serving" bson:"salt_serving,truncate"` - Sodium100g float64 `json:"sodium_100g" bson:"sodium_100g,truncate"` - SaltUnit string `json:"salt_unit" bson:"salt_unit"` - Energy float64 `json:"energy" bson:"energy,truncate"` - EnergyValue float64 `json:"energy_value" bson:"energy_value,truncate"` - SaturatedFat100g float64 `json:"saturated-fat_100g" bson:"saturated-fat_100g,truncate"` - CarbohydratesUnit string `json:"carbohydrates_unit" bson:"carbohydrates_unit"` - TransFatUnit string `json:"trans-fat_unit" bson:"trans-fat_unit"` - NovaGroup100g float64 `json:"nova-group_100g" bson:"nova-group_100g,truncate"` - TransFat100g float64 `json:"trans-fat_100g" bson:"trans-fat_100g,truncate"` - SaturatedFatServing float64 `json:"saturated-fat_serving" bson:"saturated-fat_serving,truncate"` - MonounsaturatedFatValue float64 `json:"monounsaturated-fat_value" bson:"monounsaturated-fat_value,truncate"` - SodiumServing float64 `json:"sodium_serving" bson:"sodium_serving,truncate"` - FruitsVegetablesLegumesEstimateFromIngredients100g float64 `json:"fruits-vegetables-legumes-estimate-from-ingredients_100g" bson:"fruits-vegetables-legumes-estimate-from-ingredients_100g,truncate"` - NovaGroupServing float64 `json:"nova-group_serving" bson:"nova-group_serving,truncate"` - PolyunsaturatedFat100g float64 `json:"polyunsaturated-fat_100g" bson:"polyunsaturated-fat_100g,truncate"` - TransFatServing float64 `json:"trans-fat_serving" bson:"trans-fat_serving,truncate"` - EnergyKcal float64 `json:"energy-kcal" bson:"energy-kcal,truncate"` - } `json:"nutriments" bson:"nutriments"` + Energy100g float64 `json:"energy_100g" bson:"energy_100g"` + Energy float64 `json:"energy" bson:"energy"` + EnergyKj100g float64 `json:"energy-kj_100g" bson:"energy-kj_100g"` + EnergyKj float64 `json:"energy-kj" bson:"energy-kj"` + EnergyKcal100g float64 `json:"energy-kcal_100g" bson:"energy-kcal_100g"` + EnergyKcal float64 `json:"energy-kcal" bson:"energy-kcal"` + Proteins100g float64 `json:"proteins_100g" bson:"proteins_100g"` + Proteins float64 `json:"proteins" bson:"proteins"` + Casein100g float64 `json:"casein_100g" bson:"casein_100g"` + Casein float64 `json:"casein" bson:"casein"` + SerumProteins100g float64 `json:"serum-proteins_100g" bson:"serum-proteins_100g"` + SerumProteins float64 `json:"serum-proteins" bson:"serum-proteins"` + Nucleotides100g float64 `json:"nucleotides_100g" bson:"nucleotides_100g"` + Nucleotides float64 `json:"nucleotides" bson:"nucleotides"` + Carbohydrates100g float64 `json:"carbohydrates_100g" bson:"carbohydrates_100g"` + Carbohydrates float64 `json:"carbohydrates" bson:"carbohydrates"` + Sugars100g float64 `json:"sugars_100g" bson:"sugars_100g"` + Sugars float64 `json:"sugars" bson:"sugars"` + Sucrose100g float64 `json:"sucrose_100g" bson:"sucrose_100g"` + Sucrose float64 `json:"sucrose" bson:"sucrose"` + Glucose100g float64 `json:"glucose_100g" bson:"glucose_100g"` + Glucose float64 `json:"glucose" bson:"glucose"` + Fructose100g float64 `json:"fructose_100g" bson:"fructose_100g"` + Fructose float64 `json:"fructose" bson:"fructose"` + Lactose100g float64 `json:"lactose_100g" bson:"lactose_100g"` + Lactose float64 `json:"lactose" bson:"lactose"` + Maltose100g float64 `json:"maltose_100g" bson:"maltose_100g"` + Maltose float64 `json:"maltose" bson:"maltose"` + Maltodextrins100g float64 `json:"maltodextrins_100g" bson:"maltodextrins_100g"` + Maltodextrins float64 `json:"maltodextrins" bson:"maltodextrins"` + Starch100g float64 `json:"starch_100g" bson:"starch_100g"` + Starch float64 `json:"starch" bson:"starch"` + Polyols100g float64 `json:"polyols_100g" bson:"polyols_100g"` + Polyols float64 `json:"polyols" bson:"polyols"` + Fat100g float64 `json:"fat_100g" bson:"fat_100g"` + Fat float64 `json:"fat" bson:"fat"` + SaturatedFat100g float64 `json:"saturated-fat_100g" bson:"saturated-fat_100g"` + SaturatedFat float64 `json:"saturated-fat" bson:"saturated-fat"` + ButyricAcid100g float64 `json:"butyric-acid_100g" bson:"butyric-acid_100g"` + ButyricAcid float64 `json:"butyric-acid" bson:"butyric-acid"` + CaproicAcid100g float64 `json:"caproic-acid_100g" bson:"caproic-acid_100g"` + CaproicAcid float64 `json:"caproic-acid" bson:"caproic-acid"` + CaprylicAcid100g float64 `json:"caprylic-acid_100g" bson:"caprylic-acid_100g"` + CaprylicAcid float64 `json:"caprylic-acid" bson:"caprylic-acid"` + CapricAcid100g float64 `json:"capric-acid_100g" bson:"capric-acid_100g"` + CapricAcid float64 `json:"capric-acid" bson:"capric-acid"` + LauricAcid100g float64 `json:"lauric-acid_100g" bson:"lauric-acid_100g"` + LauricAcid float64 `json:"lauric-acid" bson:"lauric-acid"` + MyristicAcid100g float64 `json:"myristic-acid_100g" bson:"myristic-acid_100g"` + MyristicAcid float64 `json:"myristic-acid" bson:"myristic-acid"` + PalmiticAcid100g float64 `json:"palmitic-acid_100g" bson:"palmitic-acid_100g"` + PalmiticAcid float64 `json:"palmitic-acid" bson:"palmitic-acid"` + StearicAcid100g float64 `json:"stearic-acid_100g" bson:"stearic-acid_100g"` + StearicAcid float64 `json:"stearic-acid" bson:"stearic-acid"` + ArachidicAcid100g float64 `json:"arachidic-acid_100g" bson:"arachidic-acid_100g"` + ArachidicAcid float64 `json:"arachidic-acid" bson:"arachidonic-acid"` + BehenicAcid100g float64 `json:"behenic-acid_100g" bson:"behenic-acid_100g"` + BehenicAcid float64 `json:"behenic-acid" bson:"behenic-acid"` + LignocericAcid100g float64 `json:"lignoceric-acid_100g" bson:"lignoceric-acid_100g"` + LignocericAcid float64 `json:"lignoceric-acid" bson:"lignoceric-acid"` + CeroticAcid100g float64 `json:"cerotic-acid_100g" bson:"cerotic-acid_100g"` + CeroticAcid float64 `json:"cerotic-acid" bson:"cerotic-acid"` + MontanicAcid100g float64 `json:"montanic-acid_100g" bson:"montanic-acid_100g"` + MontanicAcid float64 `json:"montanic-acid" bson:"montanic-acid"` + MelissicAcid100g float64 `json:"melissic-acid_100g" bson:"melissic-acid_100g"` + MelissicAcid float64 `json:"melissic-acid" bson:"melissic-acid"` + MonounsaturatedFat100g float64 `json:"monounsaturated-fat_100g" bson:"monounsaturated-fat_100g"` + MonounsaturatedFat float64 `json:"monounsaturated-fat" bson:"monounsaturated-fat"` + PolyunsaturatedFat100g float64 `json:"polyunsaturated-fat_100g" bson:"polyunsaturated-fat_100g"` + PolyunsaturatedFat float64 `json:"polyunsaturated-fat" bson:"polyunsaturated-fat"` + Omega3Fat100g float64 `json:"omega-3-fat_100g" bson:"omega-3-fat_100g"` + Omega3Fat float64 `json:"omega-3-fat" bson:"omega-3-fat"` + AlphaLinolenicAcid100g float64 `json:"alpha-linolenic-acid_100g" bson:"alpha-linolenic-acid_100g"` + AlphaLinolenicAcid float64 `json:"alpha-linolenic-acid" bson:"alpha-linolenic-acid"` + EicosapentaenoicAcid100g float64 `json:"eicosapentaenoic-acid_100g" bson:"eicosapentaenoic-acid_100g"` + EicosapentaenoicAcid float64 `json:"eicosapentaenoic-acid" bson:"eicosapentaenoic-acid"` + DocosahexaenoicAcid100g float64 `json:"docosahexaenoic-acid_100g" bson:"docosahexaenoic-acid_100g"` + DocosahexaenoicAcid float64 `json:"docosahexaenoic-acid" bson:"docosahexaenoic-acid"` + Omega6Fat100g float64 `json:"omega-6-fat_100g" bson:"omega-6-fat_100g"` + Omega6Fat float64 `json:"omega-6-fat" bson:"omega-6-fat"` + LinoleicAcid100g float64 `json:"linoleic-acid_100g" bson:"linoleic-acid_100g"` + LinoleicAcid float64 `json:"linoleic-acid" bson:"linoleic-acid"` + ArachidonicAcid100g float64 `json:"arachidonic-acid_100g" bson:"arachidonic-acid_100g"` + ArachidonicAcid float64 `json:"arachidonic-acid" bson:"arachidonic-acid"` + GammaLinolenicAcid100g float64 `json:"gamma-linolenic-acid_100g" bson:"gamma-linolenic-acid_100g"` + GammaLinolenicAcid float64 `json:"gamma-linolenic-acid" bson:"gamma-linolenic-acid"` + DihomoGammaLinolenicAcid100g float64 `json:"dihomo-gamma-linolenic-acid_100g" bson:"dihomo-gamma-linolenic-acid_100g"` + DihomoGammaLinolenicAcid float64 `json:"dihomo-gamma-linolenic-acid" bson:"dihomo-gamma-linolenic-acid"` + Omega9Fat100g float64 `json:"omega-9-fat_100g" bson:"omega-9-fat_100g"` + Omega9Fat float64 `json:"omega-9-fat" bson:"omega-9-fat"` + OleicAcid100g float64 `json:"oleic-acid_100g" bson:"oleic-acid_100g"` + OleicAcid float64 `json:"oleic-acid" bson:"oleic-acid"` + ElaidicAcid100g float64 `json:"elaidic-acid_100g" bson:"elaidic-acid_100g"` + ElaidicAcid float64 `json:"elaidic-acid" bson:"elaidic-acid"` + GondoicAcid100g float64 `json:"gondoic-acid_100g" bson:"gondoic-acid_100g"` + GondoicAcid float64 `json:"gondoic-acid" bson:"gondoic-acid"` + MeadAcid100g float64 `json:"mead-acid_100g" bson:"mead-acid_100g"` + MeadAcid float64 `json:"mead-acid" bson:"mead-acid"` + ErucicAcid100g float64 `json:"erucic-acid_100g" bson:"erucic-acid_100g"` + ErucicAcid float64 `json:"erucic-acid" bson:"erucic-acid"` + NervonicAcid100g float64 `json:"nervonic-acid_100g" bson:"nervonic-acid_100g"` + NervonicAcid float64 `json:"nervonic-acid" bson:"nervonic-acid"` + TransFat100g float64 `json:"trans-fat_100g" bson:"trans-fat_100g"` + TransFat float64 `json:"trans-fat" bson:"trans-fat"` + Cholesterol100g float64 `json:"cholesterol_100g" bson:"cholesterol_100g"` + Cholesterol float64 `json:"cholesterol" bson:"cholesterol"` + Fiber100g float64 `json:"fiber_100g" bson:"fiber_100g"` + Fiber float64 `json:"fiber" bson:"fiber"` + Sodium100g float64 `json:"sodium_100g" bson:"sodium_100g"` + Sodium float64 `json:"sodium" bson:"sodium"` + Alcohol100g float64 `json:"alcohol_100g" bson:"alcohol_100g"` + Alcohol float64 `json:"alcohol" bson:"alcohol"` + VitaminA100g float64 `json:"vitamin-a_100g" bson:"vitamin-a_100g"` + VitaminA float64 `json:"vitamin-a" bson:"vitamin-a"` + VitaminD100g float64 `json:"vitamin-d_100g" bson:"vitamin-d_100g"` + VitaminD float64 `json:"vitamin-d" bson:"vitamin-d"` + VitaminE100g float64 `json:"vitamin-e_100g" bson:"vitamin-e_100g"` + VitaminE float64 `json:"vitamin-e" bson:"vitamin-e"` + VitaminK100g float64 `json:"vitamin-k_100g" bson:"vitamin-k_100g"` + VitaminK float64 `json:"vitamin-k" bson:"vitamin-k"` + VitaminC100g float64 `json:"vitamin-c_100g" bson:"vitamin-c_100g"` + VitaminC float64 `json:"vitamin-c" bson:"vitamin-c"` + VitaminB1100g float64 `json:"vitamin-b1_100g" bson:"vitamin-b1_100g"` + VitaminB1 float64 `json:"vitamin-b1" bson:"vitamin-b1"` + VitaminB2100g float64 `json:"vitamin-b2_100g" bson:"vitamin-b2_100g"` + VitaminB2 float64 `json:"vitamin-b2" bson:"vitamin-b2"` + VitaminPp100g float64 `json:"vitamin-pp_100g" bson:"vitamin-pp_100g"` + VitaminPp float64 `json:"vitamin-pp" bson:"vitamin-pp"` + VitaminB6100g float64 `json:"vitamin-b6_100g" bson:"vitamin-b6_100g"` + VitaminB6 float64 `json:"vitamin-b6" bson:"vitamin-b6"` + VitaminB9100g float64 `json:"vitamin-b9_100g" bson:"vitamin-b9_100g"` + VitaminB9 float64 `json:"vitamin-b9" bson:"vitamin-b9"` + VitaminB12100g float64 `json:"vitamin-b12_100g" bson:"vitamin-b12_100g"` + VitaminB12 float64 `json:"vitamin-b12" bson:"vitamin-b12"` + Biotin100g float64 `json:"biotin_100g" bson:"biotin_100g"` + Biotin float64 `json:"biotin" bson:"biotin"` + PantothenicAcid100g float64 `json:"pantothenic-acid_100g" bson:"pantothenic-acid_100g"` + PantothenicAcid float64 `json:"pantothenic-acid" bson:"pantothenic-acid"` + Silica100g float64 `json:"silica_100g" bson:"silica_100g"` + Silica float64 `json:"silica" bson:"silica"` + Bicarbonate100g float64 `json:"bicarbonate_100g" bson:"bicarbonate_100g"` + Bicarbonate float64 `json:"bicarbonate" bson:"bicarbonate"` + Potassium100g float64 `json:"potassium_100g" bson:"potassium_100g"` + Potassium float64 `json:"potassium" bson:"potassium"` + Chloride100g float64 `json:"chloride_100g" bson:"chloride_100g"` + Chloride float64 `json:"chloride" bson:"chloride"` + Calcium100g float64 `json:"calcium_100g" bson:"calcium_100g"` + Calcium float64 `json:"calcium" bson:"calcium"` + Phosphorus100g float64 `json:"phosphorus_100g" bson:"phosphorus_100g"` + Phosphorus float64 `json:"phosphorus" bson:"phosphorus"` + Iron100g float64 `json:"iron_100g" bson:"iron_100g"` + Iron float64 `json:"iron" bson:"iron"` + Magnesium100g float64 `json:"magnesium_100g" bson:"magnesium_100g"` + Magnesium float64 `json:"magnesium" bson:"magnesium"` + Zinc100g float64 `json:"zinc_100g" bson:"zinc_100g"` + Zinc float64 `json:"zinc" bson:"zinc"` + Copper100g float64 `json:"copper_100g" bson:"copper_100g"` + Copper float64 `json:"copper" bson:"copper"` + Manganese100g float64 `json:"manganese_100g" bson:"manganese_100g"` + Manganese float64 `json:"manganese" bson:"manganese"` + Fluoride100g float64 `json:"fluoride_100g" bson:"fluoride_100g"` + Fluoride float64 `json:"fluoride" bson:"fluoride"` + Selenium100g float64 `json:"selenium_100g" bson:"selenium_100g"` + Selenium float64 `json:"selenium" bson:"selenium"` + Chromium100g float64 `json:"chromium_100g" bson:"chromium_100g"` + Chromium float64 `json:"chromium" bson:"chromium"` + Molybdenum100g float64 `json:"molybdenum_100g" bson:"molybdenum_100g"` + Molybdenum float64 `json:"molybdenum" bson:"molybdenum"` + Iodine100g float64 `json:"iodine_100g" bson:"iodine_100g"` + Iodine float64 `json:"iodine" bson:"iodine"` + Caffeine100g float64 `json:"caffeine_100g" bson:"caffeine_100g"` + Caffeine float64 `json:"caffeine" bson:"caffeine"` + Taurine100g float64 `json:"taurine_100g" bson:"taurine_100g"` + Taurine float64 `json:"taurine" bson:"taurine"` + Ph100g float64 `json:"ph_100g" bson:"ph_100g"` + Ph float64 `json:"ph" bson:"ph"` + FruitsVegetablesNuts100g float64 `json:"fruits-vegetables-nuts_100g" bson:"fruits-vegetables-nuts_100g"` + FruitsVegetablesNuts float64 `json:"fruits-vegetables-nuts" bson:"fruits-vegetables-nuts"` + CarbonFootprint100g float64 `json:"carbon-footprint_100g" bson:"carbon-footprint_100g"` + CarbonFootprint float64 `json:"carbon-footprint" bson:"carbon-footprint"` + NutritionScoreFr100g float64 `json:"nutrition-score-fr_100g" bson:"nutrition-score-fr_100g"` + NutritionScoreFr float64 `json:"nutrition-score-fr" bson:"nutrition-score-fr"` + NutritionScoreUk100g float64 `json:"nutrition-score-uk_100g" bson:"nutrition-score-uk_100g"` + NutritionScoreUk float64 `json:"nutrition-score-uk" bson:"nutrition-score-uk"` + } NutrimentsEstimated struct { - BetaCarotene_100g float64 `json:"beta-carotene_100g" bson:"beta-carotene_100g"` - SaturatedFat_100g float64 `json:"saturated-fat_100g" bson:"saturated-fat_100g"` - VitaminB6_100g float64 `json:"vitamin-b6_100g" bson:"vitamin-b6_100g"` - VitaminB1_100g float64 `json:"vitamin-b1_100g" bson:"vitamin-b1_100g"` - VitaminE_100g float64 `json:"vitamin-e_100g" bson:"vitamin-e_100g"` - Maltose_100g float64 `json:"maltose_100g" bson:"maltose_100g"` - VitaminB12_100g float64 `json:"vitamin-b12_100g" bson:"vitamin-b12_100g"` - VitaminD_100g float64 `json:"vitamin-d_100g" bson:"vitamin-d_100g"` - Copper_100g float64 `json:"copper_100g" bson:"copper_100g"` - VitaminPP_100g float64 `json:"vitamin-pp_100g" bson:"vitamin-pp_100g"` - Salt_100g float64 `json:"salt_100g" bson:"salt_100g"` - Iron_100g float64 `json:"iron_100g" bson:"iron_100g"` - VitaminB2_100g float64 `json:"vitamin-b2_100g" bson:"vitamin-b2_100g"` - Lactose_100g float64 `json:"lactose_100g" bson:"lactose_100g"` - Cholesterol_100g float64 `json:"cholesterol_100g" bson:"cholesterol_100g"` - Iodine_100g float64 `json:"iodine_100g" bson:"iodine_100g"` - Potassium_100g float64 `json:"potassium_100g" bson:"potassium_100g"` - Fat_100g float64 `json:"fat_100g" bson:"fat_100g"` - EnergyKj_100g float64 `json:"energy-kj_100g" bson:"energy-kj_100g"` - Proteins_100g float64 `json:"proteins_100g" bson:"proteins_100g"` - Starch_100g float64 `json:"starch_100g" bson:"starch_100g"` - Water_100g float64 `json:"water_100g" bson:"water_100g"` - Energy_100g float64 `json:"energy_100g" bson:"energy_100g"` - EnergyKcal_100g float64 `json:"energy-kcal_100g" bson:"energy-kcal_100g"` - VitaminC_100g float64 `json:"vitamin-c_100g" bson:"vitamin-c_100g"` - Sodium_100g float64 `json:"sodium_100g" bson:"sodium_100g"` - Glucose_100g float64 `json:"glucose_100g" bson:"glucose_100g"` - Fructose_100g float64 `json:"fructose_100g" bson:"fructose_100g"` - Phylloquinone_100g float64 `json:"phylloquinone_100g" bson:"phylloquinone_100g"` - Galactose_100g float64 `json:"galactose_100g" bson:"galactose_100g"` - Selenium_100g float64 `json:"selenium_100g" bson:"selenium_100g"` - Zinc_100g float64 `json:"zinc_100g" bson:"zinc_100g"` - Magnesium_100g float64 `json:"magnesium_100g" bson:"magnesium_100g"` - VitaminA_100g float64 `json:"vitamin-a_100g" bson:"vitamin-a_100g"` - Sugars_100g float64 `json:"sugars_100g" bson:"sugars_100g"` - Phosphorus_100g float64 `json:"phosphorus_100g" bson:"phosphorus_100g"` - Manganese_100g float64 `json:"manganese_100g" bson:"manganese_100g"` - Sucrose_100g float64 `json:"sucrose_100g" bson:"sucrose_100g"` - Calcium_100g float64 `json:"calcium_100g" bson:"calcium_100g"` - Fiber_100g float64 `json:"fiber_100g" bson:"fiber_100g"` - Alcohol_100g float64 `json:"alcohol_100g" bson:"alcohol_100g"` - PantothenicAcid_100g float64 `json:"pantothenic-acid_100g" bson:"pantothenic-acid_100g"` - Carbohydrates_100g float64 `json:"carbohydrates_100g" bson:"carbohydrates_100g"` - VitaminB9_100g float64 `json:"vitamin-b9_100g" bson:"vitamin-b9_100g"` - Polyols_100g float64 `json:"polyols_100g" bson:"polyols_100g"` + Energy100g float64 `json:"energy_100g" bson:"energy_100g"` + Energy float64 `json:"energy" bson:"energy"` + EnergyKj100g float64 `json:"energy-kj_100g" bson:"energy-kj_100g"` + EnergyKj float64 `json:"energy-kj" bson:"energy-kj"` + EnergyKcal100g float64 `json:"energy-kcal_100g" bson:"energy-kcal_100g"` + EnergyKcal float64 `json:"energy-kcal" bson:"energy-kcal"` + Proteins100g float64 `json:"proteins_100g" bson:"proteins_100g"` + Proteins float64 `json:"proteins" bson:"proteins"` + Casein100g float64 `json:"casein_100g" bson:"casein_100g"` + Casein float64 `json:"casein" bson:"casein"` + SerumProteins100g float64 `json:"serum-proteins_100g" bson:"serum-proteins_100g"` + SerumProteins float64 `json:"serum-proteins" bson:"serum-proteins"` + Nucleotides100g float64 `json:"nucleotides_100g" bson:"nucleotides_100g"` + Nucleotides float64 `json:"nucleotides" bson:"nucleotides"` + Carbohydrates100g float64 `json:"carbohydrates_100g" bson:"carbohydrates_100g"` + Carbohydrates float64 `json:"carbohydrates" bson:"carbohydrates"` + Sugars100g float64 `json:"sugars_100g" bson:"sugars_100g"` + Sugars float64 `json:"sugars" bson:"sugars"` + Sucrose100g float64 `json:"sucrose_100g" bson:"sucrose_100g"` + Sucrose float64 `json:"sucrose" bson:"sucrose"` + Glucose100g float64 `json:"glucose_100g" bson:"glucose_100g"` + Glucose float64 `json:"glucose" bson:"glucose"` + Fructose100g float64 `json:"fructose_100g" bson:"fructose_100g"` + Fructose float64 `json:"fructose" bson:"fructose"` + Lactose100g float64 `json:"lactose_100g" bson:"lactose_100g"` + Lactose float64 `json:"lactose" bson:"lactose"` + Maltose100g float64 `json:"maltose_100g" bson:"maltose_100g"` + Maltose float64 `json:"maltose" bson:"maltose"` + Maltodextrins100g float64 `json:"maltodextrins_100g" bson:"maltodextrins_100g"` + Maltodextrins float64 `json:"maltodextrins" bson:"maltodextrins"` + Starch100g float64 `json:"starch_100g" bson:"starch_100g"` + Starch float64 `json:"starch" bson:"starch"` + Polyols100g float64 `json:"polyols_100g" bson:"polyols_100g"` + Polyols float64 `json:"polyols" bson:"polyols"` + Fat100g float64 `json:"fat_100g" bson:"fat_100g"` + Fat float64 `json:"fat" bson:"fat"` + SaturatedFat100g float64 `json:"saturated-fat_100g" bson:"saturated-fat_100g"` + SaturatedFat float64 `json:"saturated-fat" bson:"saturated-fat"` + ButyricAcid100g float64 `json:"butyric-acid_100g" bson:"butyric-acid_100g"` + ButyricAcid float64 `json:"butyric-acid" bson:"butyric-acid"` + CaproicAcid100g float64 `json:"caproic-acid_100g" bson:"caproic-acid_100g"` + CaproicAcid float64 `json:"caproic-acid" bson:"caproic-acid"` + CaprylicAcid100g float64 `json:"caprylic-acid_100g" bson:"caprylic-acid_100g"` + CaprylicAcid float64 `json:"caprylic-acid" bson:"caprylic-acid"` + CapricAcid100g float64 `json:"capric-acid_100g" bson:"capric-acid_100g"` + CapricAcid float64 `json:"capric-acid" bson:"capric-acid"` + LauricAcid100g float64 `json:"lauric-acid_100g" bson:"lauric-acid_100g"` + LauricAcid float64 `json:"lauric-acid" bson:"lauric-acid"` + MyristicAcid100g float64 `json:"myristic-acid_100g" bson:"myristic-acid_100g"` + MyristicAcid float64 `json:"myristic-acid" bson:"myristic-acid"` + PalmiticAcid100g float64 `json:"palmitic-acid_100g" bson:"palmitic-acid_100g"` + PalmiticAcid float64 `json:"palmitic-acid" bson:"palmitic-acid"` + StearicAcid100g float64 `json:"stearic-acid_100g" bson:"stearic-acid_100g"` + StearicAcid float64 `json:"stearic-acid" bson:"stearic-acid"` + ArachidicAcid100g float64 `json:"arachidic-acid_100g" bson:"arachidic-acid_100g"` + ArachidicAcid float64 `json:"arachidic-acid" bson:"arachidonic-acid"` + BehenicAcid100g float64 `json:"behenic-acid_100g" bson:"behenic-acid_100g"` + BehenicAcid float64 `json:"behenic-acid" bson:"behenic-acid"` + LignocericAcid100g float64 `json:"lignoceric-acid_100g" bson:"lignoceric-acid_100g"` + LignocericAcid float64 `json:"lignoceric-acid" bson:"lignoceric-acid"` + CeroticAcid100g float64 `json:"cerotic-acid_100g" bson:"cerotic-acid_100g"` + CeroticAcid float64 `json:"cerotic-acid" bson:"cerotic-acid"` + MontanicAcid100g float64 `json:"montanic-acid_100g" bson:"montanic-acid_100g"` + MontanicAcid float64 `json:"montanic-acid" bson:"montanic-acid"` + MelissicAcid100g float64 `json:"melissic-acid_100g" bson:"melissic-acid_100g"` + MelissicAcid float64 `json:"melissic-acid" bson:"melissic-acid"` + MonounsaturatedFat100g float64 `json:"monounsaturated-fat_100g" bson:"monounsaturated-fat_100g"` + MonounsaturatedFat float64 `json:"monounsaturated-fat" bson:"monounsaturated-fat"` + PolyunsaturatedFat100g float64 `json:"polyunsaturated-fat_100g" bson:"polyunsaturated-fat_100g"` + PolyunsaturatedFat float64 `json:"polyunsaturated-fat" bson:"polyunsaturated-fat"` + Omega3Fat100g float64 `json:"omega-3-fat_100g" bson:"omega-3-fat_100g"` + Omega3Fat float64 `json:"omega-3-fat" bson:"omega-3-fat"` + AlphaLinolenicAcid100g float64 `json:"alpha-linolenic-acid_100g" bson:"alpha-linolenic-acid_100g"` + AlphaLinolenicAcid float64 `json:"alpha-linolenic-acid" bson:"alpha-linolenic-acid"` + EicosapentaenoicAcid100g float64 `json:"eicosapentaenoic-acid_100g" bson:"eicosapentaenoic-acid_100g"` + EicosapentaenoicAcid float64 `json:"eicosapentaenoic-acid" bson:"eicosapentaenoic-acid"` + DocosahexaenoicAcid100g float64 `json:"docosahexaenoic-acid_100g" bson:"docosahexaenoic-acid_100g"` + DocosahexaenoicAcid float64 `json:"docosahexaenoic-acid" bson:"docosahexaenoic-acid"` + Omega6Fat100g float64 `json:"omega-6-fat_100g" bson:"omega-6-fat_100g"` + Omega6Fat float64 `json:"omega-6-fat" bson:"omega-6-fat"` + LinoleicAcid100g float64 `json:"linoleic-acid_100g" bson:"linoleic-acid_100g"` + LinoleicAcid float64 `json:"linoleic-acid" bson:"linoleic-acid"` + ArachidonicAcid100g float64 `json:"arachidonic-acid_100g" bson:"arachidonic-acid_100g"` + ArachidonicAcid float64 `json:"arachidonic-acid" bson:"arachidonic-acid"` + GammaLinolenicAcid100g float64 `json:"gamma-linolenic-acid_100g" bson:"gamma-linolenic-acid_100g"` + GammaLinolenicAcid float64 `json:"gamma-linolenic-acid" bson:"gamma-linolenic-acid"` + DihomoGammaLinolenicAcid100g float64 `json:"dihomo-gamma-linolenic-acid_100g" bson:"dihomo-gamma-linolenic-acid_100g"` + DihomoGammaLinolenicAcid float64 `json:"dihomo-gamma-linolenic-acid" bson:"dihomo-gamma-linolenic-acid"` + Omega9Fat100g float64 `json:"omega-9-fat_100g" bson:"omega-9-fat_100g"` + Omega9Fat float64 `json:"omega-9-fat" bson:"omega-9-fat"` + OleicAcid100g float64 `json:"oleic-acid_100g" bson:"oleic-acid_100g"` + OleicAcid float64 `json:"oleic-acid" bson:"oleic-acid"` + ElaidicAcid100g float64 `json:"elaidic-acid_100g" bson:"elaidic-acid_100g"` + ElaidicAcid float64 `json:"elaidic-acid" bson:"elaidic-acid"` + GondoicAcid100g float64 `json:"gondoic-acid_100g" bson:"gondoic-acid_100g"` + GondoicAcid float64 `json:"gondoic-acid" bson:"gondoic-acid"` + MeadAcid100g float64 `json:"mead-acid_100g" bson:"mead-acid_100g"` + MeadAcid float64 `json:"mead-acid" bson:"mead-acid"` + ErucicAcid100g float64 `json:"erucic-acid_100g" bson:"erucic-acid_100g"` + ErucicAcid float64 `json:"erucic-acid" bson:"erucic-acid"` + NervonicAcid100g float64 `json:"nervonic-acid_100g" bson:"nervonic-acid_100g"` + NervonicAcid float64 `json:"nervonic-acid" bson:"nervonic-acid"` + TransFat100g float64 `json:"trans-fat_100g" bson:"trans-fat_100g"` + TransFat float64 `json:"trans-fat" bson:"trans-fat"` + Cholesterol100g float64 `json:"cholesterol_100g" bson:"cholesterol_100g"` + Cholesterol float64 `json:"cholesterol" bson:"cholesterol"` + Fiber100g float64 `json:"fiber_100g" bson:"fiber_100g"` + Fiber float64 `json:"fiber" bson:"fiber"` + Sodium100g float64 `json:"sodium_100g" bson:"sodium_100g"` + Sodium float64 `json:"sodium" bson:"sodium"` + Alcohol100g float64 `json:"alcohol_100g" bson:"alcohol_100g"` + Alcohol float64 `json:"alcohol" bson:"alcohol"` + VitaminA100g float64 `json:"vitamin-a_100g" bson:"vitamin-a_100g"` + VitaminA float64 `json:"vitamin-a" bson:"vitamin-a"` + VitaminD100g float64 `json:"vitamin-d_100g" bson:"vitamin-d_100g"` + VitaminD float64 `json:"vitamin-d" bson:"vitamin-d"` + VitaminE100g float64 `json:"vitamin-e_100g" bson:"vitamin-e_100g"` + VitaminE float64 `json:"vitamin-e" bson:"vitamin-e"` + VitaminK100g float64 `json:"vitamin-k_100g" bson:"vitamin-k_100g"` + VitaminK float64 `json:"vitamin-k" bson:"vitamin-k"` + VitaminC100g float64 `json:"vitamin-c_100g" bson:"vitamin-c_100g"` + VitaminC float64 `json:"vitamin-c" bson:"vitamin-c"` + VitaminB1100g float64 `json:"vitamin-b1_100g" bson:"vitamin-b1_100g"` + VitaminB1 float64 `json:"vitamin-b1" bson:"vitamin-b1"` + VitaminB2100g float64 `json:"vitamin-b2_100g" bson:"vitamin-b2_100g"` + VitaminB2 float64 `json:"vitamin-b2" bson:"vitamin-b2"` + VitaminPp100g float64 `json:"vitamin-pp_100g" bson:"vitamin-pp_100g"` + VitaminPp float64 `json:"vitamin-pp" bson:"vitamin-pp"` + VitaminB6100g float64 `json:"vitamin-b6_100g" bson:"vitamin-b6_100g"` + VitaminB6 float64 `json:"vitamin-b6" bson:"vitamin-b6"` + VitaminB9100g float64 `json:"vitamin-b9_100g" bson:"vitamin-b9_100g"` + VitaminB9 float64 `json:"vitamin-b9" bson:"vitamin-b9"` + VitaminB12100g float64 `json:"vitamin-b12_100g" bson:"vitamin-b12_100g"` + VitaminB12 float64 `json:"vitamin-b12" bson:"vitamin-b12"` + Biotin100g float64 `json:"biotin_100g" bson:"biotin_100g"` + Biotin float64 `json:"biotin" bson:"biotin"` + PantothenicAcid100g float64 `json:"pantothenic-acid_100g" bson:"pantothenic-acid_100g"` + PantothenicAcid float64 `json:"pantothenic-acid" bson:"pantothenic-acid"` + Silica100g float64 `json:"silica_100g" bson:"silica_100g"` + Silica float64 `json:"silica" bson:"silica"` + Bicarbonate100g float64 `json:"bicarbonate_100g" bson:"bicarbonate_100g"` + Bicarbonate float64 `json:"bicarbonate" bson:"bicarbonate"` + Potassium100g float64 `json:"potassium_100g" bson:"potassium_100g"` + Potassium float64 `json:"potassium" bson:"potassium"` + Chloride100g float64 `json:"chloride_100g" bson:"chloride_100g"` + Chloride float64 `json:"chloride" bson:"chloride"` + Calcium100g float64 `json:"calcium_100g" bson:"calcium_100g"` + Calcium float64 `json:"calcium" bson:"calcium"` + Phosphorus100g float64 `json:"phosphorus_100g" bson:"phosphorus_100g"` + Phosphorus float64 `json:"phosphorus" bson:"phosphorus"` + Iron100g float64 `json:"iron_100g" bson:"iron_100g"` + Iron float64 `json:"iron" bson:"iron"` + Magnesium100g float64 `json:"magnesium_100g" bson:"magnesium_100g"` + Magnesium float64 `json:"magnesium" bson:"magnesium"` + Zinc100g float64 `json:"zinc_100g" bson:"zinc_100g"` + Zinc float64 `json:"zinc" bson:"zinc"` + Copper100g float64 `json:"copper_100g" bson:"copper_100g"` + Copper float64 `json:"copper" bson:"copper"` + Manganese100g float64 `json:"manganese_100g" bson:"manganese_100g"` + Manganese float64 `json:"manganese" bson:"manganese"` + Fluoride100g float64 `json:"fluoride_100g" bson:"fluoride_100g"` + Fluoride float64 `json:"fluoride" bson:"fluoride"` + Selenium100g float64 `json:"selenium_100g" bson:"selenium_100g"` + Selenium float64 `json:"selenium" bson:"selenium"` + Chromium100g float64 `json:"chromium_100g" bson:"chromium_100g"` + Chromium float64 `json:"chromium" bson:"chromium"` + Molybdenum100g float64 `json:"molybdenum_100g" bson:"molybdenum_100g"` + Molybdenum float64 `json:"molybdenum" bson:"molybdenum"` + Iodine100g float64 `json:"iodine_100g" bson:"iodine_100g"` + Iodine float64 `json:"iodine" bson:"iodine"` + Caffeine100g float64 `json:"caffeine_100g" bson:"caffeine_100g"` + Caffeine float64 `json:"caffeine" bson:"caffeine"` + Taurine100g float64 `json:"taurine_100g" bson:"taurine_100g"` + Taurine float64 `json:"taurine" bson:"taurine"` + Ph100g float64 `json:"ph_100g" bson:"ph_100g"` + Ph float64 `json:"ph" bson:"ph"` + FruitsVegetablesNuts100g float64 `json:"fruits-vegetables-nuts_100g" bson:"fruits-vegetables-nuts_100g"` + FruitsVegetablesNuts float64 `json:"fruits-vegetables-nuts" bson:"fruits-vegetables-nuts"` + CarbonFootprint100g float64 `json:"carbon-footprint_100g" bson:"carbon-footprint_100g"` + CarbonFootprint float64 `json:"carbon-footprint" bson:"carbon-footprint"` + NutritionScoreFr100g float64 `json:"nutrition-score-fr_100g" bson:"nutrition-score-fr_100g"` + NutritionScoreFr float64 `json:"nutrition-score-fr" bson:"nutrition-score-fr"` + NutritionScoreUk100g float64 `json:"nutrition-score-uk_100g" bson:"nutrition-score-uk_100g"` + NutritionScoreUk float64 `json:"nutrition-score-uk" bson:"nutrition-score-uk"` } `json:"nutriments_estimated" bson:"nutriments_estimated"` } From 4ff11fca0bca1450153aa5ad372619b5fc29b99c Mon Sep 17 00:00:00 2001 From: LightJack05 <66321084+LightJack05@users.noreply.github.com> Date: Thu, 5 Feb 2026 23:06:00 +0100 Subject: [PATCH 2/4] Remove duplicate entry --- internal/database/product/product.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/database/product/product.go b/internal/database/product/product.go index bd6ebc9..0445723 100644 --- a/internal/database/product/product.go +++ b/internal/database/product/product.go @@ -88,8 +88,6 @@ type Product struct { Omega6Fat float64 `json:"omega-6-fat" bson:"omega-6-fat"` LinoleicAcid100g float64 `json:"linoleic-acid_100g" bson:"linoleic-acid_100g"` LinoleicAcid float64 `json:"linoleic-acid" bson:"linoleic-acid"` - ArachidonicAcid100g float64 `json:"arachidonic-acid_100g" bson:"arachidonic-acid_100g"` - ArachidonicAcid float64 `json:"arachidonic-acid" bson:"arachidonic-acid"` GammaLinolenicAcid100g float64 `json:"gamma-linolenic-acid_100g" bson:"gamma-linolenic-acid_100g"` GammaLinolenicAcid float64 `json:"gamma-linolenic-acid" bson:"gamma-linolenic-acid"` DihomoGammaLinolenicAcid100g float64 `json:"dihomo-gamma-linolenic-acid_100g" bson:"dihomo-gamma-linolenic-acid_100g"` From ce8fd5e0268f098c1ae7288492d83b9d537540a4 Mon Sep 17 00:00:00 2001 From: LightJack05 <66321084+LightJack05@users.noreply.github.com> Date: Thu, 5 Feb 2026 23:06:37 +0100 Subject: [PATCH 3/4] Remove another duplicate entry --- internal/database/product/product.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/database/product/product.go b/internal/database/product/product.go index 0445723..1d88be6 100644 --- a/internal/database/product/product.go +++ b/internal/database/product/product.go @@ -272,8 +272,6 @@ type Product struct { Omega6Fat float64 `json:"omega-6-fat" bson:"omega-6-fat"` LinoleicAcid100g float64 `json:"linoleic-acid_100g" bson:"linoleic-acid_100g"` LinoleicAcid float64 `json:"linoleic-acid" bson:"linoleic-acid"` - ArachidonicAcid100g float64 `json:"arachidonic-acid_100g" bson:"arachidonic-acid_100g"` - ArachidonicAcid float64 `json:"arachidonic-acid" bson:"arachidonic-acid"` GammaLinolenicAcid100g float64 `json:"gamma-linolenic-acid_100g" bson:"gamma-linolenic-acid_100g"` GammaLinolenicAcid float64 `json:"gamma-linolenic-acid" bson:"gamma-linolenic-acid"` DihomoGammaLinolenicAcid100g float64 `json:"dihomo-gamma-linolenic-acid_100g" bson:"dihomo-gamma-linolenic-acid_100g"` From d526726388738c14c31e5ba767230cd3b66a3360 Mon Sep 17 00:00:00 2001 From: LightJack05 <66321084+LightJack05@users.noreply.github.com> Date: Thu, 5 Feb 2026 23:06:58 +0100 Subject: [PATCH 4/4] Update swagger --- docs/docs.go | 956 +++++++++++++++++++++++++++++++++++++++++----- docs/swagger.json | 956 +++++++++++++++++++++++++++++++++++++++++----- docs/swagger.yaml | 636 ++++++++++++++++++++++++++---- 3 files changed, 2290 insertions(+), 258 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 82f7beb..77c05b2 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -159,336 +159,1098 @@ const docTemplate = `{ "nutriments": { "type": "object", "properties": { + "alcohol": { + "type": "number" + }, + "alcohol_100g": { + "type": "number" + }, + "alpha-linolenic-acid": { + "type": "number" + }, + "alpha-linolenic-acid_100g": { + "type": "number" + }, + "arachidic-acid": { + "type": "number" + }, + "arachidic-acid_100g": { + "type": "number" + }, + "behenic-acid": { + "type": "number" + }, + "behenic-acid_100g": { + "type": "number" + }, + "bicarbonate": { + "type": "number" + }, + "bicarbonate_100g": { + "type": "number" + }, + "biotin": { + "type": "number" + }, + "biotin_100g": { + "type": "number" + }, + "butyric-acid": { + "type": "number" + }, + "butyric-acid_100g": { + "type": "number" + }, + "caffeine": { + "type": "number" + }, + "caffeine_100g": { + "type": "number" + }, + "calcium": { + "type": "number" + }, + "calcium_100g": { + "type": "number" + }, + "capric-acid": { + "type": "number" + }, + "capric-acid_100g": { + "type": "number" + }, + "caproic-acid": { + "type": "number" + }, + "caproic-acid_100g": { + "type": "number" + }, + "caprylic-acid": { + "type": "number" + }, + "caprylic-acid_100g": { + "type": "number" + }, "carbohydrates": { "type": "number" }, - "carbohydrates_100g": { + "carbohydrates_100g": { + "type": "number" + }, + "carbon-footprint": { + "type": "number" + }, + "carbon-footprint_100g": { + "type": "number" + }, + "casein": { + "type": "number" + }, + "casein_100g": { + "type": "number" + }, + "cerotic-acid": { + "type": "number" + }, + "cerotic-acid_100g": { + "type": "number" + }, + "chloride": { + "type": "number" + }, + "chloride_100g": { + "type": "number" + }, + "cholesterol": { + "type": "number" + }, + "cholesterol_100g": { + "type": "number" + }, + "chromium": { + "type": "number" + }, + "chromium_100g": { + "type": "number" + }, + "copper": { + "type": "number" + }, + "copper_100g": { + "type": "number" + }, + "dihomo-gamma-linolenic-acid": { + "type": "number" + }, + "dihomo-gamma-linolenic-acid_100g": { + "type": "number" + }, + "docosahexaenoic-acid": { + "type": "number" + }, + "docosahexaenoic-acid_100g": { + "type": "number" + }, + "eicosapentaenoic-acid": { + "type": "number" + }, + "eicosapentaenoic-acid_100g": { + "type": "number" + }, + "elaidic-acid": { + "type": "number" + }, + "elaidic-acid_100g": { + "type": "number" + }, + "energy": { + "type": "number" + }, + "energy-kcal": { + "type": "number" + }, + "energy-kcal_100g": { + "type": "number" + }, + "energy-kj": { + "type": "number" + }, + "energy-kj_100g": { + "type": "number" + }, + "energy_100g": { + "type": "number" + }, + "erucic-acid": { + "type": "number" + }, + "erucic-acid_100g": { + "type": "number" + }, + "fat": { + "type": "number" + }, + "fat_100g": { + "type": "number" + }, + "fiber": { + "type": "number" + }, + "fiber_100g": { + "type": "number" + }, + "fluoride": { + "type": "number" + }, + "fluoride_100g": { + "type": "number" + }, + "fructose": { + "type": "number" + }, + "fructose_100g": { + "type": "number" + }, + "fruits-vegetables-nuts": { + "type": "number" + }, + "fruits-vegetables-nuts_100g": { + "type": "number" + }, + "gamma-linolenic-acid": { + "type": "number" + }, + "gamma-linolenic-acid_100g": { + "type": "number" + }, + "glucose": { + "type": "number" + }, + "glucose_100g": { + "type": "number" + }, + "gondoic-acid": { + "type": "number" + }, + "gondoic-acid_100g": { + "type": "number" + }, + "iodine": { + "type": "number" + }, + "iodine_100g": { + "type": "number" + }, + "iron": { + "type": "number" + }, + "iron_100g": { + "type": "number" + }, + "lactose": { + "type": "number" + }, + "lactose_100g": { + "type": "number" + }, + "lauric-acid": { + "type": "number" + }, + "lauric-acid_100g": { + "type": "number" + }, + "lignoceric-acid": { + "type": "number" + }, + "lignoceric-acid_100g": { + "type": "number" + }, + "linoleic-acid": { + "type": "number" + }, + "linoleic-acid_100g": { + "type": "number" + }, + "magnesium": { + "type": "number" + }, + "magnesium_100g": { + "type": "number" + }, + "maltodextrins": { + "type": "number" + }, + "maltodextrins_100g": { + "type": "number" + }, + "maltose": { + "type": "number" + }, + "maltose_100g": { + "type": "number" + }, + "manganese": { + "type": "number" + }, + "manganese_100g": { + "type": "number" + }, + "mead-acid": { + "type": "number" + }, + "mead-acid_100g": { + "type": "number" + }, + "melissic-acid": { + "type": "number" + }, + "melissic-acid_100g": { + "type": "number" + }, + "molybdenum": { + "type": "number" + }, + "molybdenum_100g": { + "type": "number" + }, + "monounsaturated-fat": { + "type": "number" + }, + "monounsaturated-fat_100g": { + "type": "number" + }, + "montanic-acid": { + "type": "number" + }, + "montanic-acid_100g": { + "type": "number" + }, + "myristic-acid": { + "type": "number" + }, + "myristic-acid_100g": { + "type": "number" + }, + "nervonic-acid": { + "type": "number" + }, + "nervonic-acid_100g": { + "type": "number" + }, + "nucleotides": { + "type": "number" + }, + "nucleotides_100g": { + "type": "number" + }, + "nutrition-score-fr": { + "type": "number" + }, + "nutrition-score-fr_100g": { + "type": "number" + }, + "nutrition-score-uk": { + "type": "number" + }, + "nutrition-score-uk_100g": { + "type": "number" + }, + "oleic-acid": { + "type": "number" + }, + "oleic-acid_100g": { + "type": "number" + }, + "omega-3-fat": { + "type": "number" + }, + "omega-3-fat_100g": { + "type": "number" + }, + "omega-6-fat": { + "type": "number" + }, + "omega-6-fat_100g": { + "type": "number" + }, + "omega-9-fat": { + "type": "number" + }, + "omega-9-fat_100g": { + "type": "number" + }, + "palmitic-acid": { + "type": "number" + }, + "palmitic-acid_100g": { + "type": "number" + }, + "pantothenic-acid": { + "type": "number" + }, + "pantothenic-acid_100g": { + "type": "number" + }, + "ph": { + "type": "number" + }, + "ph_100g": { + "type": "number" + }, + "phosphorus": { + "type": "number" + }, + "phosphorus_100g": { + "type": "number" + }, + "polyols": { + "type": "number" + }, + "polyols_100g": { + "type": "number" + }, + "polyunsaturated-fat": { + "type": "number" + }, + "polyunsaturated-fat_100g": { + "type": "number" + }, + "potassium": { + "type": "number" + }, + "potassium_100g": { + "type": "number" + }, + "proteins": { + "type": "number" + }, + "proteins_100g": { + "type": "number" + }, + "saturated-fat": { + "type": "number" + }, + "saturated-fat_100g": { + "type": "number" + }, + "selenium": { + "type": "number" + }, + "selenium_100g": { + "type": "number" + }, + "serum-proteins": { + "type": "number" + }, + "serum-proteins_100g": { + "type": "number" + }, + "silica": { + "type": "number" + }, + "silica_100g": { + "type": "number" + }, + "sodium": { + "type": "number" + }, + "sodium_100g": { + "type": "number" + }, + "starch": { + "type": "number" + }, + "starch_100g": { + "type": "number" + }, + "stearic-acid": { + "type": "number" + }, + "stearic-acid_100g": { + "type": "number" + }, + "sucrose": { + "type": "number" + }, + "sucrose_100g": { + "type": "number" + }, + "sugars": { + "type": "number" + }, + "sugars_100g": { + "type": "number" + }, + "taurine": { + "type": "number" + }, + "taurine_100g": { + "type": "number" + }, + "trans-fat": { + "type": "number" + }, + "trans-fat_100g": { + "type": "number" + }, + "vitamin-a": { + "type": "number" + }, + "vitamin-a_100g": { + "type": "number" + }, + "vitamin-b1": { + "type": "number" + }, + "vitamin-b12": { + "type": "number" + }, + "vitamin-b12_100g": { + "type": "number" + }, + "vitamin-b1_100g": { + "type": "number" + }, + "vitamin-b2": { + "type": "number" + }, + "vitamin-b2_100g": { + "type": "number" + }, + "vitamin-b6": { + "type": "number" + }, + "vitamin-b6_100g": { + "type": "number" + }, + "vitamin-b9": { + "type": "number" + }, + "vitamin-b9_100g": { + "type": "number" + }, + "vitamin-c": { "type": "number" }, - "carbohydrates_serving": { + "vitamin-c_100g": { "type": "number" }, - "carbohydrates_unit": { - "type": "string" - }, - "carbohydrates_value": { + "vitamin-d": { "type": "number" }, - "energy": { + "vitamin-d_100g": { "type": "number" }, - "energy-kcal": { + "vitamin-e": { "type": "number" }, - "energy-kcal_100g": { + "vitamin-e_100g": { "type": "number" }, - "energy-kcal_serving": { + "vitamin-k": { "type": "number" }, - "energy-kcal_unit": { - "type": "string" + "vitamin-k_100g": { + "type": "number" }, - "energy-kcal_value": { + "vitamin-pp": { "type": "number" }, - "energy-kcal_value_computed": { + "vitamin-pp_100g": { "type": "number" }, - "energy_100g": { + "zinc": { "type": "number" }, - "energy_serving": { + "zinc_100g": { + "type": "number" + } + } + }, + "nutriments_estimated": { + "type": "object", + "properties": { + "alcohol": { "type": "number" }, - "energy_unit": { - "type": "string" + "alcohol_100g": { + "type": "number" }, - "energy_value": { + "alpha-linolenic-acid": { "type": "number" }, - "fat": { + "alpha-linolenic-acid_100g": { "type": "number" }, - "fat_100g": { + "arachidic-acid": { "type": "number" }, - "fat_serving": { + "arachidic-acid_100g": { "type": "number" }, - "fat_unit": { - "type": "string" + "behenic-acid": { + "type": "number" }, - "fat_value": { + "behenic-acid_100g": { "type": "number" }, - "fruits-vegetables-legumes-estimate-from-ingredients_100g": { + "bicarbonate": { "type": "number" }, - "fruits-vegetables-legumes-estimate-from-ingredients_serving": { + "bicarbonate_100g": { "type": "number" }, - "fruits-vegetables-nuts-estimate-from-ingredients_100g": { + "biotin": { "type": "number" }, - "fruits-vegetables-nuts-estimate-from-ingredients_serving": { + "biotin_100g": { "type": "number" }, - "monounsaturated-fat": { + "butyric-acid": { "type": "number" }, - "monounsaturated-fat_100g": { + "butyric-acid_100g": { "type": "number" }, - "monounsaturated-fat_serving": { + "caffeine": { "type": "number" }, - "monounsaturated-fat_unit": { - "type": "string" + "caffeine_100g": { + "type": "number" }, - "monounsaturated-fat_value": { + "calcium": { "type": "number" }, - "nova-group": { + "calcium_100g": { "type": "number" }, - "nova-group_100g": { + "capric-acid": { "type": "number" }, - "nova-group_serving": { + "capric-acid_100g": { "type": "number" }, - "nutrition-score-fr": { + "caproic-acid": { "type": "number" }, - "nutrition-score-fr_100g": { + "caproic-acid_100g": { "type": "number" }, - "polyunsaturated-fat": { + "caprylic-acid": { "type": "number" }, - "polyunsaturated-fat_100g": { + "caprylic-acid_100g": { "type": "number" }, - "polyunsaturated-fat_serving": { + "carbohydrates": { "type": "number" }, - "polyunsaturated-fat_unit": { - "type": "string" + "carbohydrates_100g": { + "type": "number" }, - "polyunsaturated-fat_value": { + "carbon-footprint": { "type": "number" }, - "proteins": { + "carbon-footprint_100g": { "type": "number" }, - "proteins_100g": { + "casein": { "type": "number" }, - "proteins_serving": { + "casein_100g": { "type": "number" }, - "proteins_unit": { - "type": "string" + "cerotic-acid": { + "type": "number" }, - "proteins_value": { + "cerotic-acid_100g": { "type": "number" }, - "salt": { + "chloride": { "type": "number" }, - "salt_100g": { + "chloride_100g": { "type": "number" }, - "salt_serving": { + "cholesterol": { "type": "number" }, - "salt_unit": { - "type": "string" + "cholesterol_100g": { + "type": "number" }, - "salt_value": { + "chromium": { "type": "number" }, - "saturated-fat": { + "chromium_100g": { "type": "number" }, - "saturated-fat_100g": { + "copper": { "type": "number" }, - "saturated-fat_serving": { + "copper_100g": { "type": "number" }, - "saturated-fat_unit": { - "type": "string" + "dihomo-gamma-linolenic-acid": { + "type": "number" }, - "saturated-fat_value": { + "dihomo-gamma-linolenic-acid_100g": { "type": "number" }, - "sodium": { + "docosahexaenoic-acid": { "type": "number" }, - "sodium_100g": { + "docosahexaenoic-acid_100g": { "type": "number" }, - "sodium_serving": { + "eicosapentaenoic-acid": { "type": "number" }, - "sodium_unit": { - "type": "string" + "eicosapentaenoic-acid_100g": { + "type": "number" }, - "sodium_value": { + "elaidic-acid": { "type": "number" }, - "trans-fat": { + "elaidic-acid_100g": { "type": "number" }, - "trans-fat_100g": { + "energy": { "type": "number" }, - "trans-fat_serving": { + "energy-kcal": { "type": "number" }, - "trans-fat_unit": { - "type": "string" + "energy-kcal_100g": { + "type": "number" }, - "trans-fat_value": { + "energy-kj": { "type": "number" - } - } - }, - "nutriments_estimated": { - "type": "object", - "properties": { - "alcohol_100g": { + }, + "energy-kj_100g": { "type": "number" }, - "beta-carotene_100g": { + "energy_100g": { "type": "number" }, - "calcium_100g": { + "erucic-acid": { "type": "number" }, - "carbohydrates_100g": { + "erucic-acid_100g": { "type": "number" }, - "cholesterol_100g": { + "fat": { "type": "number" }, - "copper_100g": { + "fat_100g": { "type": "number" }, - "energy-kcal_100g": { + "fiber": { "type": "number" }, - "energy-kj_100g": { + "fiber_100g": { "type": "number" }, - "energy_100g": { + "fluoride": { "type": "number" }, - "fat_100g": { + "fluoride_100g": { "type": "number" }, - "fiber_100g": { + "fructose": { "type": "number" }, "fructose_100g": { "type": "number" }, - "galactose_100g": { + "fruits-vegetables-nuts": { + "type": "number" + }, + "fruits-vegetables-nuts_100g": { + "type": "number" + }, + "gamma-linolenic-acid": { + "type": "number" + }, + "gamma-linolenic-acid_100g": { + "type": "number" + }, + "glucose": { "type": "number" }, "glucose_100g": { "type": "number" }, + "gondoic-acid": { + "type": "number" + }, + "gondoic-acid_100g": { + "type": "number" + }, + "iodine": { + "type": "number" + }, "iodine_100g": { "type": "number" }, + "iron": { + "type": "number" + }, "iron_100g": { "type": "number" }, + "lactose": { + "type": "number" + }, "lactose_100g": { "type": "number" }, + "lauric-acid": { + "type": "number" + }, + "lauric-acid_100g": { + "type": "number" + }, + "lignoceric-acid": { + "type": "number" + }, + "lignoceric-acid_100g": { + "type": "number" + }, + "linoleic-acid": { + "type": "number" + }, + "linoleic-acid_100g": { + "type": "number" + }, + "magnesium": { + "type": "number" + }, "magnesium_100g": { "type": "number" }, + "maltodextrins": { + "type": "number" + }, + "maltodextrins_100g": { + "type": "number" + }, + "maltose": { + "type": "number" + }, "maltose_100g": { "type": "number" }, + "manganese": { + "type": "number" + }, "manganese_100g": { "type": "number" }, + "mead-acid": { + "type": "number" + }, + "mead-acid_100g": { + "type": "number" + }, + "melissic-acid": { + "type": "number" + }, + "melissic-acid_100g": { + "type": "number" + }, + "molybdenum": { + "type": "number" + }, + "molybdenum_100g": { + "type": "number" + }, + "monounsaturated-fat": { + "type": "number" + }, + "monounsaturated-fat_100g": { + "type": "number" + }, + "montanic-acid": { + "type": "number" + }, + "montanic-acid_100g": { + "type": "number" + }, + "myristic-acid": { + "type": "number" + }, + "myristic-acid_100g": { + "type": "number" + }, + "nervonic-acid": { + "type": "number" + }, + "nervonic-acid_100g": { + "type": "number" + }, + "nucleotides": { + "type": "number" + }, + "nucleotides_100g": { + "type": "number" + }, + "nutrition-score-fr": { + "type": "number" + }, + "nutrition-score-fr_100g": { + "type": "number" + }, + "nutrition-score-uk": { + "type": "number" + }, + "nutrition-score-uk_100g": { + "type": "number" + }, + "oleic-acid": { + "type": "number" + }, + "oleic-acid_100g": { + "type": "number" + }, + "omega-3-fat": { + "type": "number" + }, + "omega-3-fat_100g": { + "type": "number" + }, + "omega-6-fat": { + "type": "number" + }, + "omega-6-fat_100g": { + "type": "number" + }, + "omega-9-fat": { + "type": "number" + }, + "omega-9-fat_100g": { + "type": "number" + }, + "palmitic-acid": { + "type": "number" + }, + "palmitic-acid_100g": { + "type": "number" + }, + "pantothenic-acid": { + "type": "number" + }, "pantothenic-acid_100g": { "type": "number" }, + "ph": { + "type": "number" + }, + "ph_100g": { + "type": "number" + }, + "phosphorus": { + "type": "number" + }, "phosphorus_100g": { "type": "number" }, - "phylloquinone_100g": { + "polyols": { "type": "number" }, "polyols_100g": { "type": "number" }, + "polyunsaturated-fat": { + "type": "number" + }, + "polyunsaturated-fat_100g": { + "type": "number" + }, + "potassium": { + "type": "number" + }, "potassium_100g": { "type": "number" }, + "proteins": { + "type": "number" + }, "proteins_100g": { "type": "number" }, - "salt_100g": { + "saturated-fat": { "type": "number" }, "saturated-fat_100g": { "type": "number" }, + "selenium": { + "type": "number" + }, "selenium_100g": { "type": "number" }, + "serum-proteins": { + "type": "number" + }, + "serum-proteins_100g": { + "type": "number" + }, + "silica": { + "type": "number" + }, + "silica_100g": { + "type": "number" + }, + "sodium": { + "type": "number" + }, "sodium_100g": { "type": "number" }, + "starch": { + "type": "number" + }, "starch_100g": { "type": "number" }, + "stearic-acid": { + "type": "number" + }, + "stearic-acid_100g": { + "type": "number" + }, + "sucrose": { + "type": "number" + }, "sucrose_100g": { "type": "number" }, + "sugars": { + "type": "number" + }, "sugars_100g": { "type": "number" }, + "taurine": { + "type": "number" + }, + "taurine_100g": { + "type": "number" + }, + "trans-fat": { + "type": "number" + }, + "trans-fat_100g": { + "type": "number" + }, + "vitamin-a": { + "type": "number" + }, "vitamin-a_100g": { "type": "number" }, + "vitamin-b1": { + "type": "number" + }, + "vitamin-b12": { + "type": "number" + }, "vitamin-b12_100g": { "type": "number" }, "vitamin-b1_100g": { "type": "number" }, + "vitamin-b2": { + "type": "number" + }, "vitamin-b2_100g": { "type": "number" }, + "vitamin-b6": { + "type": "number" + }, "vitamin-b6_100g": { "type": "number" }, + "vitamin-b9": { + "type": "number" + }, "vitamin-b9_100g": { "type": "number" }, + "vitamin-c": { + "type": "number" + }, "vitamin-c_100g": { "type": "number" }, + "vitamin-d": { + "type": "number" + }, "vitamin-d_100g": { "type": "number" }, + "vitamin-e": { + "type": "number" + }, "vitamin-e_100g": { "type": "number" }, + "vitamin-k": { + "type": "number" + }, + "vitamin-k_100g": { + "type": "number" + }, + "vitamin-pp": { + "type": "number" + }, "vitamin-pp_100g": { "type": "number" }, - "water_100g": { + "zinc": { "type": "number" }, "zinc_100g": { diff --git a/docs/swagger.json b/docs/swagger.json index b38be6f..6705869 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -152,336 +152,1098 @@ "nutriments": { "type": "object", "properties": { + "alcohol": { + "type": "number" + }, + "alcohol_100g": { + "type": "number" + }, + "alpha-linolenic-acid": { + "type": "number" + }, + "alpha-linolenic-acid_100g": { + "type": "number" + }, + "arachidic-acid": { + "type": "number" + }, + "arachidic-acid_100g": { + "type": "number" + }, + "behenic-acid": { + "type": "number" + }, + "behenic-acid_100g": { + "type": "number" + }, + "bicarbonate": { + "type": "number" + }, + "bicarbonate_100g": { + "type": "number" + }, + "biotin": { + "type": "number" + }, + "biotin_100g": { + "type": "number" + }, + "butyric-acid": { + "type": "number" + }, + "butyric-acid_100g": { + "type": "number" + }, + "caffeine": { + "type": "number" + }, + "caffeine_100g": { + "type": "number" + }, + "calcium": { + "type": "number" + }, + "calcium_100g": { + "type": "number" + }, + "capric-acid": { + "type": "number" + }, + "capric-acid_100g": { + "type": "number" + }, + "caproic-acid": { + "type": "number" + }, + "caproic-acid_100g": { + "type": "number" + }, + "caprylic-acid": { + "type": "number" + }, + "caprylic-acid_100g": { + "type": "number" + }, "carbohydrates": { "type": "number" }, - "carbohydrates_100g": { + "carbohydrates_100g": { + "type": "number" + }, + "carbon-footprint": { + "type": "number" + }, + "carbon-footprint_100g": { + "type": "number" + }, + "casein": { + "type": "number" + }, + "casein_100g": { + "type": "number" + }, + "cerotic-acid": { + "type": "number" + }, + "cerotic-acid_100g": { + "type": "number" + }, + "chloride": { + "type": "number" + }, + "chloride_100g": { + "type": "number" + }, + "cholesterol": { + "type": "number" + }, + "cholesterol_100g": { + "type": "number" + }, + "chromium": { + "type": "number" + }, + "chromium_100g": { + "type": "number" + }, + "copper": { + "type": "number" + }, + "copper_100g": { + "type": "number" + }, + "dihomo-gamma-linolenic-acid": { + "type": "number" + }, + "dihomo-gamma-linolenic-acid_100g": { + "type": "number" + }, + "docosahexaenoic-acid": { + "type": "number" + }, + "docosahexaenoic-acid_100g": { + "type": "number" + }, + "eicosapentaenoic-acid": { + "type": "number" + }, + "eicosapentaenoic-acid_100g": { + "type": "number" + }, + "elaidic-acid": { + "type": "number" + }, + "elaidic-acid_100g": { + "type": "number" + }, + "energy": { + "type": "number" + }, + "energy-kcal": { + "type": "number" + }, + "energy-kcal_100g": { + "type": "number" + }, + "energy-kj": { + "type": "number" + }, + "energy-kj_100g": { + "type": "number" + }, + "energy_100g": { + "type": "number" + }, + "erucic-acid": { + "type": "number" + }, + "erucic-acid_100g": { + "type": "number" + }, + "fat": { + "type": "number" + }, + "fat_100g": { + "type": "number" + }, + "fiber": { + "type": "number" + }, + "fiber_100g": { + "type": "number" + }, + "fluoride": { + "type": "number" + }, + "fluoride_100g": { + "type": "number" + }, + "fructose": { + "type": "number" + }, + "fructose_100g": { + "type": "number" + }, + "fruits-vegetables-nuts": { + "type": "number" + }, + "fruits-vegetables-nuts_100g": { + "type": "number" + }, + "gamma-linolenic-acid": { + "type": "number" + }, + "gamma-linolenic-acid_100g": { + "type": "number" + }, + "glucose": { + "type": "number" + }, + "glucose_100g": { + "type": "number" + }, + "gondoic-acid": { + "type": "number" + }, + "gondoic-acid_100g": { + "type": "number" + }, + "iodine": { + "type": "number" + }, + "iodine_100g": { + "type": "number" + }, + "iron": { + "type": "number" + }, + "iron_100g": { + "type": "number" + }, + "lactose": { + "type": "number" + }, + "lactose_100g": { + "type": "number" + }, + "lauric-acid": { + "type": "number" + }, + "lauric-acid_100g": { + "type": "number" + }, + "lignoceric-acid": { + "type": "number" + }, + "lignoceric-acid_100g": { + "type": "number" + }, + "linoleic-acid": { + "type": "number" + }, + "linoleic-acid_100g": { + "type": "number" + }, + "magnesium": { + "type": "number" + }, + "magnesium_100g": { + "type": "number" + }, + "maltodextrins": { + "type": "number" + }, + "maltodextrins_100g": { + "type": "number" + }, + "maltose": { + "type": "number" + }, + "maltose_100g": { + "type": "number" + }, + "manganese": { + "type": "number" + }, + "manganese_100g": { + "type": "number" + }, + "mead-acid": { + "type": "number" + }, + "mead-acid_100g": { + "type": "number" + }, + "melissic-acid": { + "type": "number" + }, + "melissic-acid_100g": { + "type": "number" + }, + "molybdenum": { + "type": "number" + }, + "molybdenum_100g": { + "type": "number" + }, + "monounsaturated-fat": { + "type": "number" + }, + "monounsaturated-fat_100g": { + "type": "number" + }, + "montanic-acid": { + "type": "number" + }, + "montanic-acid_100g": { + "type": "number" + }, + "myristic-acid": { + "type": "number" + }, + "myristic-acid_100g": { + "type": "number" + }, + "nervonic-acid": { + "type": "number" + }, + "nervonic-acid_100g": { + "type": "number" + }, + "nucleotides": { + "type": "number" + }, + "nucleotides_100g": { + "type": "number" + }, + "nutrition-score-fr": { + "type": "number" + }, + "nutrition-score-fr_100g": { + "type": "number" + }, + "nutrition-score-uk": { + "type": "number" + }, + "nutrition-score-uk_100g": { + "type": "number" + }, + "oleic-acid": { + "type": "number" + }, + "oleic-acid_100g": { + "type": "number" + }, + "omega-3-fat": { + "type": "number" + }, + "omega-3-fat_100g": { + "type": "number" + }, + "omega-6-fat": { + "type": "number" + }, + "omega-6-fat_100g": { + "type": "number" + }, + "omega-9-fat": { + "type": "number" + }, + "omega-9-fat_100g": { + "type": "number" + }, + "palmitic-acid": { + "type": "number" + }, + "palmitic-acid_100g": { + "type": "number" + }, + "pantothenic-acid": { + "type": "number" + }, + "pantothenic-acid_100g": { + "type": "number" + }, + "ph": { + "type": "number" + }, + "ph_100g": { + "type": "number" + }, + "phosphorus": { + "type": "number" + }, + "phosphorus_100g": { + "type": "number" + }, + "polyols": { + "type": "number" + }, + "polyols_100g": { + "type": "number" + }, + "polyunsaturated-fat": { + "type": "number" + }, + "polyunsaturated-fat_100g": { + "type": "number" + }, + "potassium": { + "type": "number" + }, + "potassium_100g": { + "type": "number" + }, + "proteins": { + "type": "number" + }, + "proteins_100g": { + "type": "number" + }, + "saturated-fat": { + "type": "number" + }, + "saturated-fat_100g": { + "type": "number" + }, + "selenium": { + "type": "number" + }, + "selenium_100g": { + "type": "number" + }, + "serum-proteins": { + "type": "number" + }, + "serum-proteins_100g": { + "type": "number" + }, + "silica": { + "type": "number" + }, + "silica_100g": { + "type": "number" + }, + "sodium": { + "type": "number" + }, + "sodium_100g": { + "type": "number" + }, + "starch": { + "type": "number" + }, + "starch_100g": { + "type": "number" + }, + "stearic-acid": { + "type": "number" + }, + "stearic-acid_100g": { + "type": "number" + }, + "sucrose": { + "type": "number" + }, + "sucrose_100g": { + "type": "number" + }, + "sugars": { + "type": "number" + }, + "sugars_100g": { + "type": "number" + }, + "taurine": { + "type": "number" + }, + "taurine_100g": { + "type": "number" + }, + "trans-fat": { + "type": "number" + }, + "trans-fat_100g": { + "type": "number" + }, + "vitamin-a": { + "type": "number" + }, + "vitamin-a_100g": { + "type": "number" + }, + "vitamin-b1": { + "type": "number" + }, + "vitamin-b12": { + "type": "number" + }, + "vitamin-b12_100g": { + "type": "number" + }, + "vitamin-b1_100g": { + "type": "number" + }, + "vitamin-b2": { + "type": "number" + }, + "vitamin-b2_100g": { + "type": "number" + }, + "vitamin-b6": { + "type": "number" + }, + "vitamin-b6_100g": { + "type": "number" + }, + "vitamin-b9": { + "type": "number" + }, + "vitamin-b9_100g": { + "type": "number" + }, + "vitamin-c": { "type": "number" }, - "carbohydrates_serving": { + "vitamin-c_100g": { "type": "number" }, - "carbohydrates_unit": { - "type": "string" - }, - "carbohydrates_value": { + "vitamin-d": { "type": "number" }, - "energy": { + "vitamin-d_100g": { "type": "number" }, - "energy-kcal": { + "vitamin-e": { "type": "number" }, - "energy-kcal_100g": { + "vitamin-e_100g": { "type": "number" }, - "energy-kcal_serving": { + "vitamin-k": { "type": "number" }, - "energy-kcal_unit": { - "type": "string" + "vitamin-k_100g": { + "type": "number" }, - "energy-kcal_value": { + "vitamin-pp": { "type": "number" }, - "energy-kcal_value_computed": { + "vitamin-pp_100g": { "type": "number" }, - "energy_100g": { + "zinc": { "type": "number" }, - "energy_serving": { + "zinc_100g": { + "type": "number" + } + } + }, + "nutriments_estimated": { + "type": "object", + "properties": { + "alcohol": { "type": "number" }, - "energy_unit": { - "type": "string" + "alcohol_100g": { + "type": "number" }, - "energy_value": { + "alpha-linolenic-acid": { "type": "number" }, - "fat": { + "alpha-linolenic-acid_100g": { "type": "number" }, - "fat_100g": { + "arachidic-acid": { "type": "number" }, - "fat_serving": { + "arachidic-acid_100g": { "type": "number" }, - "fat_unit": { - "type": "string" + "behenic-acid": { + "type": "number" }, - "fat_value": { + "behenic-acid_100g": { "type": "number" }, - "fruits-vegetables-legumes-estimate-from-ingredients_100g": { + "bicarbonate": { "type": "number" }, - "fruits-vegetables-legumes-estimate-from-ingredients_serving": { + "bicarbonate_100g": { "type": "number" }, - "fruits-vegetables-nuts-estimate-from-ingredients_100g": { + "biotin": { "type": "number" }, - "fruits-vegetables-nuts-estimate-from-ingredients_serving": { + "biotin_100g": { "type": "number" }, - "monounsaturated-fat": { + "butyric-acid": { "type": "number" }, - "monounsaturated-fat_100g": { + "butyric-acid_100g": { "type": "number" }, - "monounsaturated-fat_serving": { + "caffeine": { "type": "number" }, - "monounsaturated-fat_unit": { - "type": "string" + "caffeine_100g": { + "type": "number" }, - "monounsaturated-fat_value": { + "calcium": { "type": "number" }, - "nova-group": { + "calcium_100g": { "type": "number" }, - "nova-group_100g": { + "capric-acid": { "type": "number" }, - "nova-group_serving": { + "capric-acid_100g": { "type": "number" }, - "nutrition-score-fr": { + "caproic-acid": { "type": "number" }, - "nutrition-score-fr_100g": { + "caproic-acid_100g": { "type": "number" }, - "polyunsaturated-fat": { + "caprylic-acid": { "type": "number" }, - "polyunsaturated-fat_100g": { + "caprylic-acid_100g": { "type": "number" }, - "polyunsaturated-fat_serving": { + "carbohydrates": { "type": "number" }, - "polyunsaturated-fat_unit": { - "type": "string" + "carbohydrates_100g": { + "type": "number" }, - "polyunsaturated-fat_value": { + "carbon-footprint": { "type": "number" }, - "proteins": { + "carbon-footprint_100g": { "type": "number" }, - "proteins_100g": { + "casein": { "type": "number" }, - "proteins_serving": { + "casein_100g": { "type": "number" }, - "proteins_unit": { - "type": "string" + "cerotic-acid": { + "type": "number" }, - "proteins_value": { + "cerotic-acid_100g": { "type": "number" }, - "salt": { + "chloride": { "type": "number" }, - "salt_100g": { + "chloride_100g": { "type": "number" }, - "salt_serving": { + "cholesterol": { "type": "number" }, - "salt_unit": { - "type": "string" + "cholesterol_100g": { + "type": "number" }, - "salt_value": { + "chromium": { "type": "number" }, - "saturated-fat": { + "chromium_100g": { "type": "number" }, - "saturated-fat_100g": { + "copper": { "type": "number" }, - "saturated-fat_serving": { + "copper_100g": { "type": "number" }, - "saturated-fat_unit": { - "type": "string" + "dihomo-gamma-linolenic-acid": { + "type": "number" }, - "saturated-fat_value": { + "dihomo-gamma-linolenic-acid_100g": { "type": "number" }, - "sodium": { + "docosahexaenoic-acid": { "type": "number" }, - "sodium_100g": { + "docosahexaenoic-acid_100g": { "type": "number" }, - "sodium_serving": { + "eicosapentaenoic-acid": { "type": "number" }, - "sodium_unit": { - "type": "string" + "eicosapentaenoic-acid_100g": { + "type": "number" }, - "sodium_value": { + "elaidic-acid": { "type": "number" }, - "trans-fat": { + "elaidic-acid_100g": { "type": "number" }, - "trans-fat_100g": { + "energy": { "type": "number" }, - "trans-fat_serving": { + "energy-kcal": { "type": "number" }, - "trans-fat_unit": { - "type": "string" + "energy-kcal_100g": { + "type": "number" }, - "trans-fat_value": { + "energy-kj": { "type": "number" - } - } - }, - "nutriments_estimated": { - "type": "object", - "properties": { - "alcohol_100g": { + }, + "energy-kj_100g": { "type": "number" }, - "beta-carotene_100g": { + "energy_100g": { "type": "number" }, - "calcium_100g": { + "erucic-acid": { "type": "number" }, - "carbohydrates_100g": { + "erucic-acid_100g": { "type": "number" }, - "cholesterol_100g": { + "fat": { "type": "number" }, - "copper_100g": { + "fat_100g": { "type": "number" }, - "energy-kcal_100g": { + "fiber": { "type": "number" }, - "energy-kj_100g": { + "fiber_100g": { "type": "number" }, - "energy_100g": { + "fluoride": { "type": "number" }, - "fat_100g": { + "fluoride_100g": { "type": "number" }, - "fiber_100g": { + "fructose": { "type": "number" }, "fructose_100g": { "type": "number" }, - "galactose_100g": { + "fruits-vegetables-nuts": { + "type": "number" + }, + "fruits-vegetables-nuts_100g": { + "type": "number" + }, + "gamma-linolenic-acid": { + "type": "number" + }, + "gamma-linolenic-acid_100g": { + "type": "number" + }, + "glucose": { "type": "number" }, "glucose_100g": { "type": "number" }, + "gondoic-acid": { + "type": "number" + }, + "gondoic-acid_100g": { + "type": "number" + }, + "iodine": { + "type": "number" + }, "iodine_100g": { "type": "number" }, + "iron": { + "type": "number" + }, "iron_100g": { "type": "number" }, + "lactose": { + "type": "number" + }, "lactose_100g": { "type": "number" }, + "lauric-acid": { + "type": "number" + }, + "lauric-acid_100g": { + "type": "number" + }, + "lignoceric-acid": { + "type": "number" + }, + "lignoceric-acid_100g": { + "type": "number" + }, + "linoleic-acid": { + "type": "number" + }, + "linoleic-acid_100g": { + "type": "number" + }, + "magnesium": { + "type": "number" + }, "magnesium_100g": { "type": "number" }, + "maltodextrins": { + "type": "number" + }, + "maltodextrins_100g": { + "type": "number" + }, + "maltose": { + "type": "number" + }, "maltose_100g": { "type": "number" }, + "manganese": { + "type": "number" + }, "manganese_100g": { "type": "number" }, + "mead-acid": { + "type": "number" + }, + "mead-acid_100g": { + "type": "number" + }, + "melissic-acid": { + "type": "number" + }, + "melissic-acid_100g": { + "type": "number" + }, + "molybdenum": { + "type": "number" + }, + "molybdenum_100g": { + "type": "number" + }, + "monounsaturated-fat": { + "type": "number" + }, + "monounsaturated-fat_100g": { + "type": "number" + }, + "montanic-acid": { + "type": "number" + }, + "montanic-acid_100g": { + "type": "number" + }, + "myristic-acid": { + "type": "number" + }, + "myristic-acid_100g": { + "type": "number" + }, + "nervonic-acid": { + "type": "number" + }, + "nervonic-acid_100g": { + "type": "number" + }, + "nucleotides": { + "type": "number" + }, + "nucleotides_100g": { + "type": "number" + }, + "nutrition-score-fr": { + "type": "number" + }, + "nutrition-score-fr_100g": { + "type": "number" + }, + "nutrition-score-uk": { + "type": "number" + }, + "nutrition-score-uk_100g": { + "type": "number" + }, + "oleic-acid": { + "type": "number" + }, + "oleic-acid_100g": { + "type": "number" + }, + "omega-3-fat": { + "type": "number" + }, + "omega-3-fat_100g": { + "type": "number" + }, + "omega-6-fat": { + "type": "number" + }, + "omega-6-fat_100g": { + "type": "number" + }, + "omega-9-fat": { + "type": "number" + }, + "omega-9-fat_100g": { + "type": "number" + }, + "palmitic-acid": { + "type": "number" + }, + "palmitic-acid_100g": { + "type": "number" + }, + "pantothenic-acid": { + "type": "number" + }, "pantothenic-acid_100g": { "type": "number" }, + "ph": { + "type": "number" + }, + "ph_100g": { + "type": "number" + }, + "phosphorus": { + "type": "number" + }, "phosphorus_100g": { "type": "number" }, - "phylloquinone_100g": { + "polyols": { "type": "number" }, "polyols_100g": { "type": "number" }, + "polyunsaturated-fat": { + "type": "number" + }, + "polyunsaturated-fat_100g": { + "type": "number" + }, + "potassium": { + "type": "number" + }, "potassium_100g": { "type": "number" }, + "proteins": { + "type": "number" + }, "proteins_100g": { "type": "number" }, - "salt_100g": { + "saturated-fat": { "type": "number" }, "saturated-fat_100g": { "type": "number" }, + "selenium": { + "type": "number" + }, "selenium_100g": { "type": "number" }, + "serum-proteins": { + "type": "number" + }, + "serum-proteins_100g": { + "type": "number" + }, + "silica": { + "type": "number" + }, + "silica_100g": { + "type": "number" + }, + "sodium": { + "type": "number" + }, "sodium_100g": { "type": "number" }, + "starch": { + "type": "number" + }, "starch_100g": { "type": "number" }, + "stearic-acid": { + "type": "number" + }, + "stearic-acid_100g": { + "type": "number" + }, + "sucrose": { + "type": "number" + }, "sucrose_100g": { "type": "number" }, + "sugars": { + "type": "number" + }, "sugars_100g": { "type": "number" }, + "taurine": { + "type": "number" + }, + "taurine_100g": { + "type": "number" + }, + "trans-fat": { + "type": "number" + }, + "trans-fat_100g": { + "type": "number" + }, + "vitamin-a": { + "type": "number" + }, "vitamin-a_100g": { "type": "number" }, + "vitamin-b1": { + "type": "number" + }, + "vitamin-b12": { + "type": "number" + }, "vitamin-b12_100g": { "type": "number" }, "vitamin-b1_100g": { "type": "number" }, + "vitamin-b2": { + "type": "number" + }, "vitamin-b2_100g": { "type": "number" }, + "vitamin-b6": { + "type": "number" + }, "vitamin-b6_100g": { "type": "number" }, + "vitamin-b9": { + "type": "number" + }, "vitamin-b9_100g": { "type": "number" }, + "vitamin-c": { + "type": "number" + }, "vitamin-c_100g": { "type": "number" }, + "vitamin-d": { + "type": "number" + }, "vitamin-d_100g": { "type": "number" }, + "vitamin-e": { + "type": "number" + }, "vitamin-e_100g": { "type": "number" }, + "vitamin-k": { + "type": "number" + }, + "vitamin-k_100g": { + "type": "number" + }, + "vitamin-pp": { + "type": "number" + }, "vitamin-pp_100g": { "type": "number" }, - "water_100g": { + "zinc": { "type": "number" }, "zinc_100g": { diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 25d8da4..c11e824 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -13,15 +13,101 @@ definitions: type: string nutriments: properties: + alcohol: + type: number + alcohol_100g: + type: number + alpha-linolenic-acid: + type: number + alpha-linolenic-acid_100g: + type: number + arachidic-acid: + type: number + arachidic-acid_100g: + type: number + behenic-acid: + type: number + behenic-acid_100g: + type: number + bicarbonate: + type: number + bicarbonate_100g: + type: number + biotin: + type: number + biotin_100g: + type: number + butyric-acid: + type: number + butyric-acid_100g: + type: number + caffeine: + type: number + caffeine_100g: + type: number + calcium: + type: number + calcium_100g: + type: number + capric-acid: + type: number + capric-acid_100g: + type: number + caproic-acid: + type: number + caproic-acid_100g: + type: number + caprylic-acid: + type: number + caprylic-acid_100g: + type: number carbohydrates: type: number carbohydrates_100g: type: number - carbohydrates_serving: + carbon-footprint: + type: number + carbon-footprint_100g: + type: number + casein: + type: number + casein_100g: + type: number + cerotic-acid: + type: number + cerotic-acid_100g: + type: number + chloride: + type: number + chloride_100g: + type: number + cholesterol: + type: number + cholesterol_100g: + type: number + chromium: + type: number + chromium_100g: + type: number + copper: + type: number + copper_100g: type: number - carbohydrates_unit: - type: string - carbohydrates_value: + dihomo-gamma-linolenic-acid: + type: number + dihomo-gamma-linolenic-acid_100g: + type: number + docosahexaenoic-acid: + type: number + docosahexaenoic-acid_100g: + type: number + eicosapentaenoic-acid: + type: number + eicosapentaenoic-acid_100g: + type: number + elaidic-acid: + type: number + elaidic-acid_100g: type: number energy: type: number @@ -29,210 +115,632 @@ definitions: type: number energy-kcal_100g: type: number - energy-kcal_serving: - type: number - energy-kcal_unit: - type: string - energy-kcal_value: + energy-kj: type: number - energy-kcal_value_computed: + energy-kj_100g: type: number energy_100g: type: number - energy_serving: + erucic-acid: type: number - energy_unit: - type: string - energy_value: + erucic-acid_100g: type: number fat: type: number fat_100g: type: number - fat_serving: + fiber: + type: number + fiber_100g: + type: number + fluoride: + type: number + fluoride_100g: + type: number + fructose: + type: number + fructose_100g: + type: number + fruits-vegetables-nuts: + type: number + fruits-vegetables-nuts_100g: + type: number + gamma-linolenic-acid: + type: number + gamma-linolenic-acid_100g: + type: number + glucose: + type: number + glucose_100g: + type: number + gondoic-acid: + type: number + gondoic-acid_100g: + type: number + iodine: + type: number + iodine_100g: + type: number + iron: + type: number + iron_100g: + type: number + lactose: + type: number + lactose_100g: + type: number + lauric-acid: + type: number + lauric-acid_100g: + type: number + lignoceric-acid: + type: number + lignoceric-acid_100g: + type: number + linoleic-acid: + type: number + linoleic-acid_100g: type: number - fat_unit: - type: string - fat_value: + magnesium: type: number - fruits-vegetables-legumes-estimate-from-ingredients_100g: + magnesium_100g: + type: number + maltodextrins: + type: number + maltodextrins_100g: + type: number + maltose: + type: number + maltose_100g: + type: number + manganese: + type: number + manganese_100g: + type: number + mead-acid: + type: number + mead-acid_100g: type: number - fruits-vegetables-legumes-estimate-from-ingredients_serving: + melissic-acid: type: number - fruits-vegetables-nuts-estimate-from-ingredients_100g: + melissic-acid_100g: type: number - fruits-vegetables-nuts-estimate-from-ingredients_serving: + molybdenum: + type: number + molybdenum_100g: type: number monounsaturated-fat: type: number monounsaturated-fat_100g: type: number - monounsaturated-fat_serving: + montanic-acid: + type: number + montanic-acid_100g: + type: number + myristic-acid: type: number - monounsaturated-fat_unit: - type: string - monounsaturated-fat_value: + myristic-acid_100g: type: number - nova-group: + nervonic-acid: type: number - nova-group_100g: + nervonic-acid_100g: type: number - nova-group_serving: + nucleotides: + type: number + nucleotides_100g: type: number nutrition-score-fr: type: number nutrition-score-fr_100g: type: number - polyunsaturated-fat: + nutrition-score-uk: type: number - polyunsaturated-fat_100g: + nutrition-score-uk_100g: type: number - polyunsaturated-fat_serving: + oleic-acid: type: number - polyunsaturated-fat_unit: - type: string - polyunsaturated-fat_value: + oleic-acid_100g: type: number - proteins: + omega-3-fat: type: number - proteins_100g: + omega-3-fat_100g: + type: number + omega-6-fat: + type: number + omega-6-fat_100g: type: number - proteins_serving: + omega-9-fat: type: number - proteins_unit: - type: string - proteins_value: + omega-9-fat_100g: type: number - salt: + palmitic-acid: type: number - salt_100g: + palmitic-acid_100g: type: number - salt_serving: + pantothenic-acid: type: number - salt_unit: - type: string - salt_value: + pantothenic-acid_100g: + type: number + ph: + type: number + ph_100g: + type: number + phosphorus: + type: number + phosphorus_100g: + type: number + polyols: + type: number + polyols_100g: + type: number + polyunsaturated-fat: + type: number + polyunsaturated-fat_100g: + type: number + potassium: + type: number + potassium_100g: + type: number + proteins: + type: number + proteins_100g: type: number saturated-fat: type: number saturated-fat_100g: type: number - saturated-fat_serving: + selenium: type: number - saturated-fat_unit: - type: string - saturated-fat_value: + selenium_100g: + type: number + serum-proteins: + type: number + serum-proteins_100g: + type: number + silica: + type: number + silica_100g: type: number sodium: type: number sodium_100g: type: number - sodium_serving: + starch: + type: number + starch_100g: + type: number + stearic-acid: + type: number + stearic-acid_100g: + type: number + sucrose: type: number - sodium_unit: - type: string - sodium_value: + sucrose_100g: + type: number + sugars: + type: number + sugars_100g: + type: number + taurine: + type: number + taurine_100g: type: number trans-fat: type: number trans-fat_100g: type: number - trans-fat_serving: + vitamin-a: + type: number + vitamin-a_100g: + type: number + vitamin-b1: + type: number + vitamin-b1_100g: + type: number + vitamin-b2: + type: number + vitamin-b2_100g: + type: number + vitamin-b6: + type: number + vitamin-b6_100g: + type: number + vitamin-b9: + type: number + vitamin-b9_100g: type: number - trans-fat_unit: - type: string - trans-fat_value: + vitamin-b12: + type: number + vitamin-b12_100g: + type: number + vitamin-c: + type: number + vitamin-c_100g: + type: number + vitamin-d: + type: number + vitamin-d_100g: + type: number + vitamin-e: + type: number + vitamin-e_100g: + type: number + vitamin-k: + type: number + vitamin-k_100g: + type: number + vitamin-pp: + type: number + vitamin-pp_100g: + type: number + zinc: + type: number + zinc_100g: type: number type: object nutriments_estimated: properties: + alcohol: + type: number alcohol_100g: type: number - beta-carotene_100g: + alpha-linolenic-acid: + type: number + alpha-linolenic-acid_100g: + type: number + arachidic-acid: + type: number + arachidic-acid_100g: + type: number + behenic-acid: + type: number + behenic-acid_100g: + type: number + bicarbonate: + type: number + bicarbonate_100g: + type: number + biotin: + type: number + biotin_100g: + type: number + butyric-acid: + type: number + butyric-acid_100g: + type: number + caffeine: + type: number + caffeine_100g: + type: number + calcium: type: number calcium_100g: type: number + capric-acid: + type: number + capric-acid_100g: + type: number + caproic-acid: + type: number + caproic-acid_100g: + type: number + caprylic-acid: + type: number + caprylic-acid_100g: + type: number + carbohydrates: + type: number carbohydrates_100g: type: number + carbon-footprint: + type: number + carbon-footprint_100g: + type: number + casein: + type: number + casein_100g: + type: number + cerotic-acid: + type: number + cerotic-acid_100g: + type: number + chloride: + type: number + chloride_100g: + type: number + cholesterol: + type: number cholesterol_100g: type: number + chromium: + type: number + chromium_100g: + type: number + copper: + type: number copper_100g: type: number + dihomo-gamma-linolenic-acid: + type: number + dihomo-gamma-linolenic-acid_100g: + type: number + docosahexaenoic-acid: + type: number + docosahexaenoic-acid_100g: + type: number + eicosapentaenoic-acid: + type: number + eicosapentaenoic-acid_100g: + type: number + elaidic-acid: + type: number + elaidic-acid_100g: + type: number + energy: + type: number + energy-kcal: + type: number energy-kcal_100g: type: number + energy-kj: + type: number energy-kj_100g: type: number energy_100g: type: number + erucic-acid: + type: number + erucic-acid_100g: + type: number + fat: + type: number fat_100g: type: number + fiber: + type: number fiber_100g: type: number + fluoride: + type: number + fluoride_100g: + type: number + fructose: + type: number fructose_100g: type: number - galactose_100g: + fruits-vegetables-nuts: + type: number + fruits-vegetables-nuts_100g: + type: number + gamma-linolenic-acid: + type: number + gamma-linolenic-acid_100g: + type: number + glucose: type: number glucose_100g: type: number + gondoic-acid: + type: number + gondoic-acid_100g: + type: number + iodine: + type: number iodine_100g: type: number + iron: + type: number iron_100g: type: number + lactose: + type: number lactose_100g: type: number + lauric-acid: + type: number + lauric-acid_100g: + type: number + lignoceric-acid: + type: number + lignoceric-acid_100g: + type: number + linoleic-acid: + type: number + linoleic-acid_100g: + type: number + magnesium: + type: number magnesium_100g: type: number + maltodextrins: + type: number + maltodextrins_100g: + type: number + maltose: + type: number maltose_100g: type: number + manganese: + type: number manganese_100g: type: number + mead-acid: + type: number + mead-acid_100g: + type: number + melissic-acid: + type: number + melissic-acid_100g: + type: number + molybdenum: + type: number + molybdenum_100g: + type: number + monounsaturated-fat: + type: number + monounsaturated-fat_100g: + type: number + montanic-acid: + type: number + montanic-acid_100g: + type: number + myristic-acid: + type: number + myristic-acid_100g: + type: number + nervonic-acid: + type: number + nervonic-acid_100g: + type: number + nucleotides: + type: number + nucleotides_100g: + type: number + nutrition-score-fr: + type: number + nutrition-score-fr_100g: + type: number + nutrition-score-uk: + type: number + nutrition-score-uk_100g: + type: number + oleic-acid: + type: number + oleic-acid_100g: + type: number + omega-3-fat: + type: number + omega-3-fat_100g: + type: number + omega-6-fat: + type: number + omega-6-fat_100g: + type: number + omega-9-fat: + type: number + omega-9-fat_100g: + type: number + palmitic-acid: + type: number + palmitic-acid_100g: + type: number + pantothenic-acid: + type: number pantothenic-acid_100g: type: number + ph: + type: number + ph_100g: + type: number + phosphorus: + type: number phosphorus_100g: type: number - phylloquinone_100g: + polyols: type: number polyols_100g: type: number + polyunsaturated-fat: + type: number + polyunsaturated-fat_100g: + type: number + potassium: + type: number potassium_100g: type: number + proteins: + type: number proteins_100g: type: number - salt_100g: + saturated-fat: type: number saturated-fat_100g: type: number + selenium: + type: number selenium_100g: type: number + serum-proteins: + type: number + serum-proteins_100g: + type: number + silica: + type: number + silica_100g: + type: number + sodium: + type: number sodium_100g: type: number + starch: + type: number starch_100g: type: number + stearic-acid: + type: number + stearic-acid_100g: + type: number + sucrose: + type: number sucrose_100g: type: number + sugars: + type: number sugars_100g: type: number + taurine: + type: number + taurine_100g: + type: number + trans-fat: + type: number + trans-fat_100g: + type: number + vitamin-a: + type: number vitamin-a_100g: type: number + vitamin-b1: + type: number vitamin-b1_100g: type: number + vitamin-b2: + type: number vitamin-b2_100g: type: number + vitamin-b6: + type: number vitamin-b6_100g: type: number + vitamin-b9: + type: number vitamin-b9_100g: type: number + vitamin-b12: + type: number vitamin-b12_100g: type: number + vitamin-c: + type: number vitamin-c_100g: type: number + vitamin-d: + type: number vitamin-d_100g: type: number + vitamin-e: + type: number vitamin-e_100g: type: number + vitamin-k: + type: number + vitamin-k_100g: + type: number + vitamin-pp: + type: number vitamin-pp_100g: type: number - water_100g: + zinc: type: number zinc_100g: type: number