Nutritionix · JSON Structure

Track Full Nutrient Structure

A nutrient value identified by its USDA attribute id.

Type: object Properties: 2
RestaurantHealthNutritionFoodFitnessPublic APIs

FullNutrient is a JSON Structure definition published by Nutritionix, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

attr_id value

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/nutritionix/refs/heads/main/json-structure/track-full-nutrient-structure.json",
  "name": "FullNutrient",
  "description": "A nutrient value identified by its USDA attribute id.",
  "type": "object",
  "properties": {
    "attr_id": {
      "type": "int32",
      "description": "USDA NUTR_DEF attribute identifier.",
      "example": 203
    },
    "value": {
      "type": "double",
      "description": "Nutrient value for the serving.",
      "example": 25
    }
  }
}