Skip to content

Instantly share code, notes, and snippets.

@olivier5741
Last active November 8, 2022 15:01
Show Gist options
  • Save olivier5741/eabe5d932f0d4a39a2d274a9ce9fc612 to your computer and use it in GitHub Desktop.
Save olivier5741/eabe5d932f0d4a39a2d274a9ce9fc612 to your computer and use it in GitHub Desktop.
Open food facts - context before consolidation in logCiCa
{
"allergens": [
{
"ids": ["off/allergens/en:milk"],
"translations": {
"en": {
"name": "Milk"
},
"fr": {
"name": "Lait"
}
}
}
],
"products": [
{
"code": "5391533790106",
"createdAt": "2021-07-31T13:53:44.000Z",
"modifiedAt": "2022-11-01T09:35:01.000Z",
"product_name": "Irish Sheep Milk Ewelloumi",
"generic_name": "Halloumi",
"allergens": [
{
"ids": ["off/allergens/en:milk"]
}
],
"ingredients": [
{
"ids": ["off/ingredients/en:sheeps-milk"]
},
{
"ids": ["off/ingredients/en:dairy"]
},
{
"ids": ["off/ingredients/en:milk"]
},
{
"ids": ["off/ingredients/en:rennet"]
},
{
"ids": ["off/ingredients/en:enzyme"]
},
{
"ids": ["off/ingredients/en:coagulating-enzyme"]
},
{
"ids": ["off/ingredients/en:salt"]
}
],
"ingredients_text": "Sheep _Milk_, Vegetarian Rennet, Salt",
"translations": {
"en": {
"product_name": "Irish Sheep Milk Ewelloumi",
"generic_name": "Halloumi"
},
"fr": {}
},
"brands": [
{
"ids": ["off/brands/ballyhubbock-farm"]
}
],
"categories": [
{
"ids": ["off/categories/en:dairies"]
},
{
"ids": ["off/categories/en:fermented-foods"]
},
{
"ids": ["off/categories/en:fermented-milk-products"]
},
{
"ids": ["off/categories/en:cheeses"]
},
{
"ids": ["off/categories/en:meat-alternatives"]
},
{
"ids": ["off/categories/en:cypriot-cheeses"]
},
{
"ids": ["off/categories/en:grilling-cheeses"]
},
{
"ids": ["off/categories/en:halloumi"]
},
{
"ids": ["pnns/group_1/milk-and-dairy-products"]
},
{
"ids": ["pnns/group_2/milk-and-dairy-products"]
}
],
"countries": [
{
"ids": ["off/countries/en:ireland"]
}
],
"manufacturing_places": [
{
"ids": ["off/manufacturing_places/glen-of-imaal"]
},
{
"ids": ["off/manufacturing_places/co-wicklow"]
},
{
"ids": ["off/manufacturing_places/ireland"]
}
],
"traces": [
{
"ids": ["off/traces/en:made-in-an-area-that-uses-gluten-and-nuts"]
}
],
"origins": [
{
"ids": ["off/origins/en:ireland"]
}
]
}
],
"brands": [
{
"ids": ["off/brands/ballyhubbock-farm"],
"translations": {
"en": {
"name": "Ballyhubbock-farm"
},
"fr": {
"name": "Ballyhubbock-farm"
}
}
}
],
"categories": [
{
"ids": ["off/categories/en:dairies"],
"translations": {
"en": {
"name": "Dairies"
},
"fr": {
"name": "Produits laitiers"
}
}
},
{
"ids": ["off/categories/en:fermented-foods"],
"translations": {
"en": {
"name": "Fermented foods"
},
"fr": {
"name": "Produits fermentés"
}
}
},
{
"ids": ["off/categories/en:fermented-milk-products"],
"translations": {
"en": {
"name": "Fermented milk products"
},
"fr": {
"name": "Produits laitiers fermentés"
}
}
},
{
"ids": ["off/categories/en:cheeses"],
"translations": {
"en": {
"name": "Cheeses"
},
"fr": {
"name": "Fromages"
}
}
},
{
"ids": ["off/categories/en:meat-alternatives"],
"translations": {
"en": {
"name": "Meat alternatives"
},
"fr": {
"name": "Alternatives à la viande"
}
}
},
{
"ids": ["off/categories/en:cypriot-cheeses"],
"translations": {
"en": {
"name": "Cypriot cheeses"
},
"fr": {
"name": "en:Cypriot cheeses"
}
}
},
{
"ids": ["off/categories/en:grilling-cheeses"],
"translations": {
"en": {
"name": "Grilling cheeses"
},
"fr": {
"name": "Fromages à griller"
}
}
},
{
"ids": ["off/categories/en:halloumi"],
"translations": {
"en": {
"name": "Halloumi"
},
"fr": {
"name": "Halloumi"
}
}
},
{
"ids": ["pnns/group_1/milk-and-dairy-products"],
"name": "Milk and dairy products"
},
{
"ids": ["pnns/group_2/milk-and-dairy-products"],
"name": "Cheese"
}
],
"countries": [
{
"ids": ["off/countries/en:ireland"],
"translations": {
"en": {
"name": "Ireland"
},
"fr": {
"name": "Irlande"
}
}
}
],
"manufacturing_places": [
{
"ids": ["off/manufacturing_places/glen-of-imaal"],
"translations": {
"en": {
"name": "Glen-of-imaal"
},
"fr": {
"name": "Glen-of-imaal"
}
}
},
{
"ids": ["off/manufacturing_places/co-wicklow"],
"translations": {
"en": {
"name": "Co-wicklow"
},
"fr": {
"name": "Co-wicklow"
}
}
},
{
"ids": ["off/manufacturing_places/ireland"],
"translations": {
"en": {
"name": "Ireland"
},
"fr": {
"name": "Ireland"
}
}
}
],
"traces": [
{
"ids": ["off/traces/en:made-in-an-area-that-uses-gluten-and-nuts"],
"translations": {
"en": {
"name": "Made-in-an-area-that-uses-gluten-and-nuts"
},
"fr": {
"name": "en:made-in-an-area-that-uses-gluten-and-nuts"
}
}
}
],
"origins": [
{
"ids": ["off/origins/en:ireland"],
"translations": {
"en": {
"name": "Ireland"
},
"fr": {
"name": "Irlande"
}
}
}
]
}
@olivier5741
Copy link
Author

Screenshot 2022-11-08 at 14 59 13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment