Properties
| Name | Type | Description |
|---|---|---|
| accept | object | |
| fit | object | Per-section nutrient ranges keyed by nutrient code. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Section",
"description": "Section schema from Edamam Meal Planner API",
"$id": "https://raw.githubusercontent.com/api-evangelist/edamam/refs/heads/main/json-schema/meal-planner-api-section-schema.json",
"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": "number",
"example": 100
},
"max": {
"type": "number",
"example": 600
}
}
}
}
}
}