Edamam · Schema

Nutrient

Nutrient schema from Edamam Food and Grocery Database API

RestaurantFoodNutritionUPC

Properties

Name Type Description
label string
quantity number
unit string
View JSON Schema on GitHub

JSON Schema

food-and-grocery-database-api-nutrient-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Nutrient",
  "description": "Nutrient schema from Edamam Food and Grocery Database API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/edamam/refs/heads/main/json-schema/food-and-grocery-database-api-nutrient-schema.json",
  "type": "object",
  "properties": {
    "label": {
      "type": "string",
      "example": "Energy"
    },
    "quantity": {
      "type": "number",
      "example": 95
    },
    "unit": {
      "type": "string",
      "example": "kcal"
    }
  }
}