forked from eatvio/eatvio_app
103 lines
2.2 KiB
JSON
103 lines
2.2 KiB
JSON
{
|
|
"id": 1,
|
|
"slug": "test-diet",
|
|
"name": "Test Diet",
|
|
"image": "https://example.com/image.jpg",
|
|
"duration": 7,
|
|
"state": "active",
|
|
"type": {
|
|
"veg": true,
|
|
"light": false,
|
|
"carb": false,
|
|
"meat": false
|
|
},
|
|
"description_md": "Test details",
|
|
"daily_schedule": {
|
|
"1": {
|
|
"1": {
|
|
"0": {
|
|
"name": "Овсянка",
|
|
"portion": "gr",
|
|
"quantity": 150,
|
|
"product_nutritional_value_id": 101,
|
|
"nutrition": {
|
|
"energy": 195.0,
|
|
"proteins": 6.75,
|
|
"fats": 3.0,
|
|
"carbohydrates": 33.0
|
|
}
|
|
},
|
|
"1": {
|
|
"name": "Бананы",
|
|
"portion": "gr",
|
|
"quantity": 120,
|
|
"product_nutritional_value_id": 102,
|
|
"nutrition": {
|
|
"energy": 107.0,
|
|
"proteins": 1.3,
|
|
"fats": 0.4,
|
|
"carbohydrates": 27.0
|
|
}
|
|
}
|
|
},
|
|
"2": {
|
|
"0": {
|
|
"name": "Куриная грудка",
|
|
"portion": "gr",
|
|
"quantity": 200,
|
|
"product_nutritional_value_id": 201,
|
|
"nutrition": {
|
|
"energy": 330.0,
|
|
"proteins": 62.0,
|
|
"fats": 7.2,
|
|
"carbohydrates": 0.0
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"2": {
|
|
"1": {
|
|
"0": {
|
|
"name": "Творог",
|
|
"portion": "gr",
|
|
"quantity": 200,
|
|
"product_nutritional_value_id": 301,
|
|
"nutrition": {
|
|
"energy": 226.0,
|
|
"proteins": 31.0,
|
|
"fats": 9.0,
|
|
"carbohydrates": 3.4
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"author": {
|
|
"author_slug": "author",
|
|
"author_name": "Author Name",
|
|
"author_profile_icon": "https://example.com/icon.jpg",
|
|
"author_is_me": false,
|
|
"is_entity_subscribed_by_me": null,
|
|
"author_place_in_rating": null
|
|
},
|
|
"total_likes": 10,
|
|
"total_views": 100,
|
|
"total_comments": 5,
|
|
"was_liked_by_me": false,
|
|
"is_favorite": false,
|
|
"daily_nutrition": [
|
|
{
|
|
"energy": 864.0,
|
|
"proteins": 101.05,
|
|
"fats": 19.6,
|
|
"carbohydrates": 63.4
|
|
},
|
|
{
|
|
"energy": 532.0,
|
|
"proteins": 93.3,
|
|
"fats": 16.2,
|
|
"carbohydrates": 30.4
|
|
}
|
|
]
|
|
}
|