Edamam · JSON Structure

Meal Planner Api Section Structure

Section schema from Edamam Meal Planner API

Type: object Properties: 2
RestaurantFoodNutritionUPC

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

Properties

accept fit

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/edamam/refs/heads/main/json-structure/meal-planner-api-section-structure.json",
  "name": "Section",
  "description": "Section schema from Edamam Meal Planner API",
  "type": "object",
  "properties": {
    "accept": {
      "type": "object",
      "properties": {
        "all": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "health": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "example": [
                  "SOY_FREE",
                  "FISH_FREE"
                ]
              },
              "diet": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "example": [
                  "balanced"
                ]
              },
              "dish": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "example": [
                  "main course",
                  "salad"
                ]
              },
              "meal": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "example": [
                  "lunch/dinner"
                ]
              }
            }
          }
        }
      }
    },
    "fit": {
      "type": "object",
      "description": "Per-section nutrient ranges keyed by nutrient code.",
      "additionalProperties": {
        "type": "object",
        "description": "Minimum and/or maximum bound for a nutrient code (e.g. ENERC_KCAL).",
        "properties": {
          "min": {
            "type": "double",
            "example": 100
          },
          "max": {
            "type": "double",
            "example": 600
          }
        }
      }
    }
  }
}