Edamam · JSON Structure

Edamam Meal Plan Structure

Meal plan specification used by the Meal Planner API.

Type: object Properties: 2
Food And DrinkRecipesNutritionDietAllergensMeal PlanningSustainabilityCarbon FootprintPublic APIs

EdamamMealPlan 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

size plan

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://api-evangelist.com/edamam-recipes/json-structure/edamam-meal-plan-structure.json",
  "name": "EdamamMealPlan",
  "description": "Meal plan specification used by the Meal Planner API.",
  "type": "object",
  "properties": {
    "size": {"type": "int32"},
    "plan": {
      "type": "object",
      "properties": {
        "accept": {"$ref": "#/definitions/FilterGroup"},
        "exclude": {"type": "array", "items": {"type": "string"}},
        "fit": {"$ref": "#/definitions/NutrientRanges"},
        "sections": {
          "type": "object",
          "additionalProperties": {"$ref": "#/definitions/Section"}
        }
      }
    }
  },
  "definitions": {
    "FilterGroup": {
      "type": "object",
      "properties": {
        "all": {"type": "array", "items": {"type": "object"}},
        "any": {"type": "array", "items": {"type": "object"}}
      }
    },
    "NutrientRanges": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "min": {"type": "double"},
          "max": {"type": "double"}
        }
      }
    },
    "Section": {
      "type": "object",
      "properties": {
        "accept": {"$ref": "#/definitions/FilterGroup"},
        "fit": {"$ref": "#/definitions/NutrientRanges"},
        "sections": {"type": "object"}
      }
    }
  }
}