Nutritionix · JSON Structure

Track Alt Measure Structure

An alternative serving measure for a food.

Type: object Properties: 4
RestaurantHealthNutritionFoodFitnessPublic APIs

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

Properties

serving_weight measure seq qty

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-alt-measure-structure.json",
  "name": "AltMeasure",
  "description": "An alternative serving measure for a food.",
  "type": "object",
  "properties": {
    "serving_weight": {
      "type": "double",
      "example": 219
    },
    "measure": {
      "type": "string",
      "example": "burger"
    },
    "seq": {
      "type": "int32",
      "nullable": true
    },
    "qty": {
      "type": "double",
      "example": 1
    }
  }
}