Nutritionix · Schema

AltMeasure

An alternative serving measure for a food.

RestaurantHealthNutritionFoodFitnessPublic APIs

Properties

Name Type Description
serving_weight number
measure string
seq integer
qty number
View JSON Schema on GitHub

JSON Schema

track-alt-measure-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/nutritionix/refs/heads/main/json-schema/track-alt-measure-schema.json",
  "title": "AltMeasure",
  "description": "An alternative serving measure for a food.",
  "type": "object",
  "properties": {
    "serving_weight": {
      "type": "number",
      "example": 219
    },
    "measure": {
      "type": "string",
      "example": "burger"
    },
    "seq": {
      "type": "integer",
      "nullable": true
    },
    "qty": {
      "type": "number",
      "example": 1
    }
  }
}