Common Foods Sample Object Structure V1
  • 3 Minutes to read
  • Dark
    Light

Common Foods Sample Object Structure V1

  • Dark
    Light

Article summary

The common foods sample object structure is as follows:

{
  "food_name": "fish",
  "photo": {
    "highres": "https:\/\/d2xdmhkmkbyw75.cloudfront.net\/10_highres.jpg",
    "thumb": "https:\/\/d2xdmhkmkbyw75.cloudfront.net\/10_thumb.jpg",
    "is_user_uploaded": false
  },
  "brand_name": null,
  "nf_potassium": 646,
  "nix_brand_name": null,
  "full_nutrients": [
    {
      "attr_id": 203,
      "value": 44.455
    },
    {
      "attr_id": 204,
      "value": 4.505
    },
    {
      "attr_id": 205,
      "value": 0
    },
    {
      "attr_id": 207,
      "value": 1.938
    },
    {
      "attr_id": 208,
      "value": 217.6
    },
    {
      "attr_id": 221,
      "value": 0
    },
    {
      "attr_id": 255,
      "value": 121.703
    },
    {
      "attr_id": 262,
      "value": 0
    },
    {
      "attr_id": 263,
      "value": 0
    },
    {
      "attr_id": 268,
      "value": 914.6
    },
    {
      "attr_id": 269,
      "value": 0
    },
    {
      "attr_id": 291,
      "value": 0
    },
    {
      "attr_id": 301,
      "value": 23.8
    },
    {
      "attr_id": 303,
      "value": 1.173
    },
    {
      "attr_id": 304,
      "value": 57.8
    },
    {
      "attr_id": 305,
      "value": 346.8
    },
    {
      "attr_id": 306,
      "value": 646
    },
    {
      "attr_id": 307,
      "value": 95.2
    },
    {
      "attr_id": 309,
      "value": 0.697
    },
    {
      "attr_id": 312,
      "value": 0.1275
    },
    {
      "attr_id": 315,
      "value": 0.0629
    },
    {
      "attr_id": 317,
      "value": 92.48
    },
    {
      "attr_id": 318,
      "value": 0
    },
    {
      "attr_id": 319,
      "value": 0
    },
    {
      "attr_id": 320,
      "value": 0
    },
    {
      "attr_id": 321,
      "value": 0
    },
    {
      "attr_id": 322,
      "value": 0
    },
    {
      "attr_id": 323,
      "value": 1.343
    },
    {
      "attr_id": 324,
      "value": 255
    },
    {
      "attr_id": 326,
      "value": 6.29
    },
    {
      "attr_id": 328,
      "value": 6.29
    },
    {
      "attr_id": 334,
      "value": 0
    },
    {
      "attr_id": 337,
      "value": 0
    },
    {
      "attr_id": 338,
      "value": 0
    },
    {
      "attr_id": 341,
      "value": 0
    },
    {
      "attr_id": 342,
      "value": 0.102
    },
    {
      "attr_id": 343,
      "value": 0
    },
    {
      "attr_id": 344,
      "value": 0
    },
    {
      "attr_id": 345,
      "value": 0
    },
    {
      "attr_id": 346,
      "value": 0
    },
    {
      "attr_id": 347,
      "value": 0
    },
    {
      "attr_id": 401,
      "value": 0
    },
    {
      "attr_id": 404,
      "value": 0.1581
    },
    {
      "attr_id": 405,
      "value": 0.1241
    },
    {
      "attr_id": 406,
      "value": 8.0665
    },
    {
      "attr_id": 410,
      "value": 1.1288
    },
    {
      "attr_id": 415,
      "value": 0.2091
    },
    {
      "attr_id": 417,
      "value": 10.2
    },
    {
      "attr_id": 418,
      "value": 3.162
    },
    {
      "attr_id": 421,
      "value": 87.21
    },
    {
      "attr_id": 429,
      "value": 0
    },
    {
      "attr_id": 430,
      "value": 1.53
    },
    {
      "attr_id": 431,
      "value": 0
    },
    {
      "attr_id": 432,
      "value": 10.2
    },
    {
      "attr_id": 435,
      "value": 10.2
    },
    {
      "attr_id": 454,
      "value": 44.71
    },
    {
      "attr_id": 501,
      "value": 0.4505
    },
    {
      "attr_id": 502,
      "value": 1.9652
    },
    {
      "attr_id": 503,
      "value": 2.074
    },
    {
      "attr_id": 504,
      "value": 3.468
    },
    {
      "attr_id": 505,
      "value": 3.9355
    },
    {
      "attr_id": 506,
      "value": 1.3022
    },
    {
      "attr_id": 507,
      "value": 0.4505
    },
    {
      "attr_id": 508,
      "value": 1.785
    },
    {
      "attr_id": 509,
      "value": 1.479
    },
    {
      "attr_id": 510,
      "value": 2.176
    },
    {
      "attr_id": 511,
      "value": 2.703
    },
    {
      "attr_id": 512,
      "value": 0.9945
    },
    {
      "attr_id": 513,
      "value": 2.5347
    },
    {
      "attr_id": 514,
      "value": 4.777
    },
    {
      "attr_id": 515,
      "value": 6.664
    },
    {
      "attr_id": 516,
      "value": 2.074
    },
    {
      "attr_id": 517,
      "value": 1.6201
    },
    {
      "attr_id": 518,
      "value": 1.6337
    },
    {
      "attr_id": 601,
      "value": 96.9
    },
    {
      "attr_id": 606,
      "value": 1.598
    },
    {
      "attr_id": 607,
      "value": 0
    },
    {
      "attr_id": 608,
      "value": 0
    },
    {
      "attr_id": 609,
      "value": 0
    },
    {
      "attr_id": 610,
      "value": 0
    },
    {
      "attr_id": 611,
      "value": 0
    },
    {
      "attr_id": 612,
      "value": 0.1445
    },
    {
      "attr_id": 613,
      "value": 1.122
    },
    {
      "attr_id": 614,
      "value": 0.323
    },
    {
      "attr_id": 615,
      "value": 0
    },
    {
      "attr_id": 617,
      "value": 1.3005
    },
    {
      "attr_id": 618,
      "value": 0.4845
    },
    {
      "attr_id": 619,
      "value": 0.0765
    },
    {
      "attr_id": 620,
      "value": 0.0595
    },
    {
      "attr_id": 621,
      "value": 0.221
    },
    {
      "attr_id": 624,
      "value": 0
    },
    {
      "attr_id": 625,
      "value": 0
    },
    {
      "attr_id": 626,
      "value": 0.2465
    },
    {
      "attr_id": 627,
      "value": 0
    },
    {
      "attr_id": 628,
      "value": 0.0765
    },
    {
      "attr_id": 629,
      "value": 0.0085
    },
    {
      "attr_id": 630,
      "value": 0
    },
    {
      "attr_id": 631,
      "value": 0.102
    },
    {
      "attr_id": 645,
      "value": 1.6235
    },
    {
      "attr_id": 646,
      "value": 1.02
    },
    {
      "attr_id": 652,
      "value": 0.0085
    },
    {
      "attr_id": 653,
      "value": 0
    },
    {
      "attr_id": 654,
      "value": 0
    },
    {
      "attr_id": 672,
      "value": 0.0255
    },
    {
      "attr_id": 687,
      "value": 0
    },
    {
      "attr_id": 689,
      "value": 0.0425
    },
    {
      "attr_id": 697,
      "value": 0
    },
    {
      "attr_id": 851,
      "value": 0.0765
    }
  ],
  "lng": null,
  "consumed_at": "2018-03-21T19:02:25+00:00",
  "nf_p": 346.8,
  "nf_dietary_fiber": 0,
  "nix_brand_id": null,
  "nf_cholesterol": 96.9,
  "source": 1,
  "nf_sugars": 0,
  "meal_type": 3,
  "nf_total_fat": 4.51,
  "nf_total_carbohydrate": 0,
  "metadata": {
    "is_raw_food": false
  },
  "nf_saturated_fat": 1.6,
  "tags": {
    "item": "fish",
    "food_group": 0,
    "quantity": "1.0",
    "tag_id": 10,
    "measure": null
  },
  "nix_item_id": null,
  "nf_protein": 44.46,
  "lat": null,
  "nf_calories": 217.6,
  "serving_unit": "medium fillet (6 oz)",
  "nix_item_name": null,
  "alt_measures": [
    {
      "serving_weight": 87,
      "qty": 1,
      "seq": 1,
      "measure": "fillet"
    },
    {
      "serving_weight": 170,
      "qty": 1,
      "seq": 80,
      "measure": "medium fillet (6 oz)"
    },
    {
      "serving_weight": 100,
      "qty": 100,
      "seq": null,
      "measure": "g"
    }
  ],
  "serving_weight_grams": 170,
  "sub_recipe": null,
  "upc": null,
  "serving_qty": 1,
  "ndb_no": 15262,
  "nf_sodium": 95.2
}


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence