Your Move · Schema

MealPlan

FitnessVideoNutritionWhite Label

Properties

Name Type Description
calories integer Daily calorie target
diet string
macroSplit string
mealsPerDay integer Number of meals per day
daysCount integer Number of days in this plan (1-7)
averageDailyTotals object Average per-day macros across all days in the plan.
days array Per-day breakdown of the plan. Always populated, even for daysCount=1.
totals object Backward-compatible alias for days[0].totals (day 1 only). For multi-day plans use averageDailyTotals or per-day totals in days[].
meals array Backward-compatible alias for days[0].meals (day 1 only).
View JSON Schema on GitHub

JSON Schema

ymove-app-meal-plan-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ymove-app/json-schema/ymove-app-meal-plan-schema.json",
  "title": "MealPlan",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ymove-app-openapi.json#/components/schemas/MealPlan",
  "type": "object",
  "properties": {
    "calories": {
      "type": "integer",
      "description": "Daily calorie target"
    },
    "diet": {
      "type": "string"
    },
    "macroSplit": {
      "type": "string"
    },
    "mealsPerDay": {
      "type": "integer",
      "description": "Number of meals per day"
    },
    "daysCount": {
      "type": "integer",
      "description": "Number of days in this plan (1-7)"
    },
    "averageDailyTotals": {
      "type": "object",
      "description": "Average per-day macros across all days in the plan.",
      "properties": {
        "calories": {
          "type": "number"
        },
        "protein": {
          "type": "number"
        },
        "carbs": {
          "type": "number"
        },
        "fat": {
          "type": "number"
        }
      }
    },
    "days": {
      "type": "array",
      "description": "Per-day breakdown of the plan. Always populated, even for daysCount=1.",
      "items": {
        "type": "object",
        "properties": {
          "dayIndex": {
            "type": "integer",
            "description": "1-based day number"
          },
          "totals": {
            "type": "object",
            "properties": {
              "calories": {
                "type": "number"
              },
              "protein": {
                "type": "number"
              },
              "carbs": {
                "type": "number"
              },
              "fat": {
                "type": "number"
              }
            }
          },
          "meals": {
            "type": "array",
            "items": {
              "$ref": "#/$defs/MealPlanMeal"
            }
          }
        }
      }
    },
    "totals": {
      "type": "object",
      "description": "Backward-compatible alias for days[0].totals (day 1 only). For multi-day plans use averageDailyTotals or per-day totals in days[].",
      "properties": {
        "calories": {
          "type": "number"
        },
        "protein": {
          "type": "number"
        },
        "carbs": {
          "type": "number"
        },
        "fat": {
          "type": "number"
        }
      }
    },
    "meals": {
      "type": "array",
      "description": "Backward-compatible alias for days[0].meals (day 1 only).",
      "items": {
        "$ref": "#/$defs/MealPlanMeal"
      }
    }
  },
  "$defs": {
    "MealPlanMeal": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "breakfast | lunch | dinner | snack"
        },
        "name": {
          "type": "string",
          "description": "Recipe title (same as recipe.title)"
        },
        "recipeId": {
          "type": "string",
          "description": "Recipe.id - use to look up the full recipe or fetch its image"
        },
        "recipeSlug": {
          "type": "string"
        },
        "imageUrl": {
          "type": [
            "string",
            "null"
          ]
        },
        "portionMultiplier": {
          "type": "number",
          "description": "Multiplier applied to the recipe (0.5-2.0). Macros + ingredient quantities are already scaled."
        },
        "calories": {
          "type": "number",
          "description": "Already scaled by portionMultiplier"
        },
        "protein": {
          "type": "number"
        },
        "carbs": {
          "type": "number"
        },
        "fat": {
          "type": "number"
        },
        "recipe": {
          "type": "object",
          "description": "Full recipe metadata so clients can render title + prep time + servings + image without a second API call.",
          "properties": {
            "id": {
              "type": "string"
            },
            "title": {
              "type": "string"
            },
            "slug": {
              "type": "string"
            },
            "description": {
              "type": [
                "string",
                "null"
              ]
            },
            "mealType": {
              "type": "string"
            },
            "cuisineType": {
              "type": [
                "string",
                "null"
              ]
            },
            "difficulty": {
              "type": [
                "string",
                "null"
              ]
            },
            "prepTimeMin": {
              "type": "integer"
            },
            "cookTimeMin": {
              "type": "integer"
            },
            "servings": {
              "type": "integer"
            },
            "dietTags": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "instructions": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "Ordered cooking steps, so clients can render the full recipe without a second call."
            },
            "imageUrl": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        },
        "foods": {
          "type": "array",
          "description": "Recipe ingredients with quantities + macros already scaled by portionMultiplier.",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "portion": {
                "type": "string",
                "description": "e.g. \"200 g\", \"1.5 tbsp\""
              },
              "calories": {
                "type": "number"
              },
              "protein": {
                "type": "number"
              },
              "carbs": {
                "type": "number"
              },
              "fat": {
                "type": "number"
              }
            }
          }
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ymove-app-meal-plan"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.