State: Difference between revisions

From Open Food Facts wiki
No edit summary
No edit summary
Line 7: Line 7:
== States ==
== States ==


=== Product name completed ===
=== Brands completed ===
Β 
The product has one or more brands assigned to it.
Β 
=== Brands to be completed ===
Β 
The product's brands are missing.
Β 
=== Categories completed ===
Β 
The product has one or more categories assigned to it.


=== Expiration date to be completed ===
=== Categories to be completed ===


=== Packaging code to be completed ===
The product's categories are missing.


=== To be completed ===
=== Characteristics completed ===


=== Nutrition facts completed ===
Opposite of [[State#Characteristics to be completed|Characteristics to be completed]], all required fields are filled.


=== Characteristics to be completed ===
=== Characteristics to be completed ===


The product is missing at least one of the following fields<ref>https://github.com/openfoodfacts/openfoodfacts-server/blob/57adf8ea37fe0c730740035c9a181deca2ba2664/lib/ProductOpener/Products.pm#L499</ref>:
The product is missing at least one of the following fields<ref>https://github.com/openfoodfacts/openfoodfacts-server/blob/57adf8ea37fe0c730740035c9a181deca2ba2664/lib/ProductOpener/Products.pm#L499</ref>:
* Brands
* Categories
* Packaging
* Product name Β 
* Product name Β 
* Quantity
* Quantity
* Packaging
* Brands
* Categories


=== Packaging to be completed ===
Another relevant state (e.g. [[State#Brands to be completed|Brands to be completed]]) will be also be assigned.


=== Photos uploaded ===
=== Checked ===


=== Quantity to be completed ===
=== Complete ===


=== Categories to be completed ===
=== Empty ===


=== Brands completed ===
=== Expiration date completed ===


=== Photos to be validated ===
=== Expiration date to be completed ===


=== Ingredients completed ===
=== Ingredients completed ===
Line 42: Line 52:
=== Ingredients to be completed ===
=== Ingredients to be completed ===


=== Brands to be completed ===
=== Nutrition facts completed ===
Β 
=== Nutrition facts to be completed ===
Β 
=== Packaging code completed ===
Β 
=== Packaging code to be completed ===
Β 
=== Packaging completed ===


=== Categories completed ===
=== Packaging to be completed ===


=== Quantity completed ===
The product's packaging is filled.


=== Photos to be uploaded ===
=== Photos to be uploaded ===
=== Photos to be validated ===
=== Photos uploaded ===


=== Photos validated ===
=== Photos validated ===


=== Packaging completed ===
=== Product name completed ===


=== Characteristics completed ===
The product's name is present.


Opposite of [[State#Characteristics to be completed|Characteristics to be completed]], all required fields are filled.
=== Product name to be completed ===


=== Nutrition facts to be completed ===
The product's name is missing.


=== Complete ===
=== Quantity completed ===


=== To be checked ===
The product's quantity is filled.


=== Expiration date completed ===
=== Quantity to be completed ===


=== Packaging code completed ===
The product's quantity is missing.


=== Product name to be completed ===
=== To be checked ===


=== Empty ===
=== To be completed ===


=== Checked ===


== References ==
== References ==
<!-- automatically filled -->
<!-- automatically filled -->

Revision as of 19:45, 20 March 2019

There are currently 29 different states that products can have.

Introduction

States show the various levels of completeness and verification a product has gone through. Multiple states might be assigned to a product, a very common one is for example "To be completed" on a new product page. The list of states and number of products assigned to each can be retrieved from the Open Food Facts website at world.openfoodfacts.org/states.

States

Brands completed

The product has one or more brands assigned to it.

Brands to be completed

The product's brands are missing.

Categories completed

The product has one or more categories assigned to it.

Categories to be completed

The product's categories are missing.

Characteristics completed

Opposite of Characteristics to be completed, all required fields are filled.

Characteristics to be completed

The product is missing at least one of the following fields[1]:

  • Brands
  • Categories
  • Packaging
  • Product name
  • Quantity

Another relevant state (e.g. Brands to be completed) will be also be assigned.

Checked

Complete

Empty

Expiration date completed

Expiration date to be completed

Ingredients completed

Ingredients to be completed

Nutrition facts completed

Nutrition facts to be completed

Packaging code completed

Packaging code to be completed

Packaging completed

Packaging to be completed

The product's packaging is filled.

Photos to be uploaded

Photos to be validated

Photos uploaded

Photos validated

Product name completed

The product's name is present.

Product name to be completed

The product's name is missing.

Quantity completed

The product's quantity is filled.

Quantity to be completed

The product's quantity is missing.

To be checked

To be completed

References