{
  "version": "1.0",
  "last_updated": "2024-12-20",
  "knowledge_map": {
    "recipes": {
      "endpoint": "https://sta-da-jedem.ai/blog-archive",
      "count": "dynamic",
      "schema": "Recipe",
      "categories": ["Doručak", "Ručak", "Večera", "Užina", "Slatkiši"],
      "format": "JSON-LD",
      "includes": ["ingredients", "instructions", "nutritional_info", "images"]
    },
    "ingredients": {
      "endpoint": "https://sta-da-jedem.ai/calculate-calories",
      "schema": "Ingredient",
      "popular_ingredients": "available",
      "nutritional_data": true
    },
    "meal_planning": {
      "endpoint": "https://sta-da-jedem.ai/meal-planner",
      "features": ["weekly_planning", "leftover_utilization", "shopping_list"],
      "api": "https://sta-da-jedem.ai/meal-planner-api.php"
    },
    "nutrition": {
      "endpoint": "https://sta-da-jedem.ai/calculate-calories",
      "calculations": ["calories", "proteins", "carbs", "fats"],
      "api": "https://sta-da-jedem.ai/process-calories.php"
    },
    "knowledge_base": {
      "endpoint": "https://sta-da-jedem.ai/knowledge",
      "type": "documentation",
      "includes": ["how_it_works", "technical_details", "faq"]
    }
  },
  "ai_features": {
    "recipe_generation": {
      "model": "GPT-4o",
      "image_generation": "DALL-E-3",
      "personalization": true,
      "dietary_restrictions": ["vegan", "vegetarian", "gluten-free", "fasting", "low-calorie"],
      "input_format": "text",
      "output_format": "HTML + JSON"
    },
    "meal_planning": {
      "weekly_plans": true,
      "leftover_integration": true,
      "shopping_list_export": true,
      "calendar_view": true
    },
    "leftover_utilization": {
      "enabled": true,
      "description": "Select leftover ingredients from previous meals and generate new recipes",
      "endpoint": "https://sta-da-jedem.ai/index?leftovers=true"
    }
  },
  "content_types": {
    "recipes": {
      "format": "HTML",
      "includes": ["ingredients", "instructions", "nutritional_info", "images"],
      "structured_data": "Recipe (Schema.org)"
    },
    "blog_posts": {
      "format": "HTML",
      "includes": ["title", "content", "author", "tags", "created_at"]
    }
  },
  "api_documentation": {
    "recipe_generation": {
      "method": "POST",
      "endpoint": "/send_query.php",
      "parameters": ["meal_type", "food_type", "allergies", "request"],
      "response_format": "streaming JSON"
    },
    "meal_planner": {
      "method": "POST",
      "endpoint": "/meal-planner-api.php",
      "actions": ["save_meal", "save_plan", "get_plan", "get_leftovers", "generate_shopping_list"]
    }
  }
}

