File size: 2,215 Bytes
eeb0f9c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
  "nutrition": {
    "bmi_categories": {
      "underweight": {"min": 0, "max": 18.5, "advice": "Tăng cân lành mạnh"},
      "normal": {"min": 18.5, "max": 24.9, "advice": "Duy trì cân nặng"},
      "overweight": {"min": 25, "max": 29.9, "advice": "Giảm cân nhẹ"},
      "obese": {"min": 30, "max": 100, "advice": "Giảm cân cần thiết"}
    },
    "age_groups": {
      "child": {"min": 0, "max": 12, "focus": "Phát triển"},
      "teen": {"min": 13, "max": 19, "focus": "Tăng trưởng"},
      "adult": {"min": 20, "max": 59, "focus": "Duy trì"},
      "elderly": {"min": 60, "max": 120, "focus": "Sức khỏe"}
    },
    "goals": {
      "weight_loss": "Giảm cân",
      "weight_gain": "Tăng cân", 
      "muscle_building": "Xây dựng cơ bắp",
      "maintenance": "Duy trì",
      "health_improvement": "Cải thiện sức khỏe"
    },
    "gender_nutrition": {
      "male": {"calorie_base": 2500, "protein_ratio": 0.25},
      "female": {"calorie_base": 2000, "protein_ratio": 0.22}
    },
    "activity_levels": {
      "low": {"multiplier": 1.2, "description": "Ít vận động"},
      "moderate": {"multiplier": 1.4, "description": "Vận động vừa phải"},
      "high": {"multiplier": 1.6, "description": "Vận động nhiều"}
    },
    "dietary_restrictions": [
      "vegetarian", "vegan", "gluten_free", "dairy_free", 
      "low_carb", "keto", "halal", "kosher", "low_sodium"
    ],
    "health_conditions": [
      "diabetes", "hypertension", "heart_disease", "high_cholesterol",
      "kidney_disease", "liver_disease", "food_allergies", "ibs"
    ]
  },
  "exercise": {
    "fitness_levels": {
      "beginner": {"description": "Mới bắt đầu", "duration": "15-30 phút"},
      "intermediate": {"description": "Trung bình", "duration": "30-45 phút"},
      "advanced": {"description": "Nâng cao", "duration": "45-60 phút"}
    },
    "exercise_types": {
      "cardio": ["chạy bộ", "đi bộ", "đạp xe", "bơi lội"],
      "strength": ["tập tạ", "bodyweight", "resistance_bands"],
      "flexibility": ["yoga", "pilates", "stretching"],
      "sports": ["bóng đá", "tennis", "bóng rổ", "cầu lông"]
    }
  }
}