Restrictions
Returns all available food restrictions.
Use the restrictions
query to obtain a list of all available food restrictions.
Available Fields
Field | Type | Note |
| ID | Id of the restriction |
| String | Name of the restriction |
| String | Category of the restriction |
| String | Slug of the restriction |
| Bool | True if the restriction is part of the user's program |
Example
Categories
Each restriction belongs to one of the following categories.
Most Common
Animal Origin
Cereals and Grains
Fruits and Vegetables
General
Herbs and Spices
Nuts and Seeds
Preset Restrictions (isOnProgram)
The isOnProgram field allows you to identify the list of restrictions already part of the user's program.
For example, from an end-user perspective, it would be redundant to be able to add an "avoid meat" restriction when following a vegan diet. So, the isOnProgram allows you to identify the list of restrictions already part of the user's program.
From a UI/UX perspective, we recommend hiding or disabling these restrictions to reduce user confusion.
Setting these preset restrictions can be done from the Program section on the Admin Console.
Restrictions List
As follows find the restriction list divided into categories:
Most Common
Name | ID |
Gluten |
|
Sellfish |
|
Egg |
|
Fish |
|
Soy |
|
Peanut |
|
Sugar |
|
Red Meat |
|
Lactose - Diary |
|
Tree nuts |
|
Animal Origin
Name | ID |
Anchovies |
|
Yogurt |
|
Cottage cheese |
|
Sole |
|
Egg yolk |
|
Clam |
|
Turkey |
|
Poultry |
|
Haddock |
|
Canned Salmon |
|
Chicken Breast |
|
Greek Yogurt |
|
Kefir |
|
Honey |
|
Sardines |
|
Mozzarella cheese |
|
Egg whites |
|
Codfish |
|
Pork |
|
Swordfish |
|
Beef |
|
Salmon | UmVzdHJpY3Rpb246ZTJiMjg3OGQtMDFlZC00YzY0LTg5NjAtYjEyNWY2ZjY5NjIy |
Lamb |
|
Scallops |
|
Crab |
|
Tuna |
|
Non-Vegetarian Animal Origin |
|
All Animal Origin |
|
Shrimp |
|
Cheddar Cheese |
|
Chicken |
|
Lobster |
|
Low Fat Milk |
|
Milk |
|
Cereals and Grains
Name | ID |
Wheat |
|
Popcorn |
|
Whole grain |
|
Rice |
|
Pasta |
|
Malt |
|
Oat |
|
Bran |
|
Barley |
|
Fruits and Vegetables
Name | ID |
Raspberry |
|
Basil |
|
Bell Peppers |
|
Citrus Fruits |
|
Kale |
|
Grapefruit |
|
Squash |
|
White Potato |
|
Artichoke |
|
Apple |
|
Pear |
|
Avocado |
|
Eggplant |
|
Blueberry |
|
Brussel Sprouts |
|
Prune |
|
Edamame |
|
Plume |
|
Green Bean |
|
Beets |
|
Strawberry |
|
Kiwi |
|
Celery |
|
Cucumber |
|
Cualiflower |
|
Broccoli |
|
Melon |
|
Berries |
|
Corn |
|
Mushrooms |
|
Kelp |
|
Cantaloupe |
|
Onion |
|
Coconut |
|
Green Olive |
|
Orange |
|
Watermelon |
|
Lima Beans |
|
Soybean |
|
Sweet Potato |
|
Letucce |
|
Green Peas |
|
Tarragon |
|
Ground Pepper |
|
Lemon |
|
Spinach |
|
Tomato |
|
Asparagus |
|
Carrot |
|
Dill |
|
Grape |
|
Nightshades |
|
Banana |
|
Potatoes |
|
CheckPeas |
|
Peas |
|
Pomegranate |
|
Bay Leaf |
|
Zucchini |
|
General
Name | ID |
Yeast bakers |
|
Canola Oil |
|
Dark Chocolate |
|
Lectins |
|
Salt |
|
Tempeh |
|
Tofu |
|
Tarta Cherry |
|
Green Tea |
|
Flax Seed Oil |
|
Coffee |
|
Vegetables |
|
Oils and Fats |
|
Safflower |
|
Yeast brewers |
|
Cola |
|
Black Tea |
|
Histamines |
|
Vinegar |
|
Cocoa |
|
Almond Butter |
|
Kimchi |
|
Sauerkraut |
|
Black Beans |
|
Lentils |
|
Raw Foods |
|
Herbs and Spices
Name | ID |
Collard greens |
|
Cilantro |
|
Oregano |
|
Black Pepper |
|
Turmeric |
|
Whole Grain |
|
Cinnamon |
|
Ginger |
|
Mustard |
|
Curry |
|
Garlic |
|
Nuts and Seeds
Name | ID |
Walnuts |
|
Rye |
|
All seeds |
|
Sesame |
|
Pumpkin Seed |
|
Quinoa |
|
Flax Seed |
|
Cashew |
|
Pistachio |
|
Pecan |
|
Chia Seeds |
|
Sunflower Seeds |
|
Almonds |
|
Chickpeas |
|
Black Walnut |
|
All nuts |
|
Last updated