Line 68:
Line 68:
== Use cases ==
== Use cases ==
The brands taxonomy has multiple applications within OFF. Theres are:
The brands taxonomy has multiple applications within OFF. Theres are:
−
* Display the brands of a product, in the language requested by the user
+
*1 Display the brands of a product, in the language requested by the user
−
* Let users enter brands for a product, as they appear on the package
+
*2 Have a way to list all products of a brand
−
* Suggests a brand to the user based on the manufacturer part of the barcode and other information;
+
*3 Let users enter brands for a product, as they appear on the package
−
* Have a way to list all products of a brand
+
*4 Suggests a brand to the user based on the manufacturer part of the barcode and other information;
−
* Infer category and labels from brand - some brands are only used for specific products. This implies that the product category and possible labels can be implies (suggested);
+
*5 Infer category and labels from brand - some brands are only used for specific products. This implies that the product category and possible labels can be implies (suggested);
−
* Infer brand from manufacturer code within the barcode.
+
*6 Infer brand from manufacturer code within the barcode.
−
* Barcode/Brand quality check - if the manufacturer part of the barcode does not match the specified brand, there is an error in either of them;
+
*7 Barcode/Brand quality check - if the manufacturer part of the barcode does not match the specified brand, there is an error in either of them;
+
== Design considerations ==
+
The observations and use cases lead to several design considerations:
+
# Unique brand key - as the same brand (string) can exist in multiple geographic areas or within the same geographic area, there must be a way to uniquely distinguish between the various brands. Otherwise a user can not enter the correct brand (UC1), nor can we list all brands (UC2);
== Taxonomy encoding ==
== Taxonomy encoding ==