Jump to content

Data fields: Difference between revisions

1,235 bytes added ,  17 September 2020
Add ""categories" and labels".
(→‎Serving size: serving_quantity)
(Add ""categories" and labels".)
Line 85: Line 85:
In the database, this field is called <code>brands</code>.
In the database, this field is called <code>brands</code>.


See [https://github.com/openfoodfacts/openfoodfacts-server/issues?q=is%3Aissue+is%3Aopen+ingredients+label%3Abrands issues related to <code>brands</code>].
See: [https://github.com/openfoodfacts/openfoodfacts-server/issues?q=is%3Aissue+is%3Aopen+ingredients+label%3Abrands issues related to <code>brands</code>].
 
==== Categories ====
[to be completed]
 
This field list the specific [[Global_categories_taxonomy|category]] of a product and its related parents. This field is very important: it needs to be completed for Nutri-Score computation, as this computation makes differences between types of products (beverages, ...).
 
→ Indicate only the most specific category. "Parents" categories will be automatically added.
 
Examples: Sardines in olive oil, Orange juice from concentrate
 
See also:
* [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/categories.txt our categories taxonomy on our repository].
* [https://github.com/openfoodfacts/openfoodfacts-server/issues?q=is%3Aissue+is%3Aopen+category+label%3Acategories issues related to <code>categories</code>].
 
==== Labels ====
[to be completed]
 
"[[Labels]], certifications, awards" on the website.
 
Example: Organic.
 
See the [[Labels]] page for more informations.
 
See also:
* [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/labels.txt our labels taxonomy on our repository].
* [https://github.com/openfoodfacts/openfoodfacts-server/issues?q=is%3Aissue+is%3Aopen+category+label%3Alabels issues related to <code>labels</code>].


==== Ingredients ====
==== Ingredients ====