Edamam · Schema
Constraint
Constraint schema from Edamam Meal Planner API
RestaurantFoodNutritionUPC
Properties
| Name | Type | Description |
|---|---|---|
| all | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Constraint",
"description": "Constraint schema from Edamam Meal Planner API",
"$id": "https://raw.githubusercontent.com/api-evangelist/edamam/refs/heads/main/json-schema/meal-planner-api-constraint-schema.json",
"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"
]
}
}
}
}
}
}