Changes

Jump to navigation Jump to search
849 bytes added ,  10:10, 24 April 2022
Explanation improved
Line 64: Line 64:  
* definition - a single line defines the brand in a specific language, an attribute, etc. Each line starts with a name followed by parameters and separated by a colon
 
* definition - a single line defines the brand in a specific language, an attribute, etc. Each line starts with a name followed by parameters and separated by a colon
 
* parameters:
 
* parameters:
** key (''zz:'') - required for brands with the same name
+
** parent (<zz:) - a reference to another (parent) brand. Thus any attributes shared between parent and child only have to be specified in the parent;
** language (e.g. ''en:'') - the brand-name in the language ''en.'' A brand might be defined in multiple languages as needed, with a single line for each language
+
** key (''zz:'') - an unique is required, so that we can distinguish between brands with the same name;
** default (xx:) - a value to be used for any language that is not listed;
+
** default (xx:) - a default value to be used for any language that is not specifically listed;
** parent (<zz:) - a reference to another (parent) brands that encompasses the the brand. Can also be used for product lines. (are short and long names required?);
+
** language (e.g. ''ru:'') - the brand-name in the language ''ru.'' A brand might be defined in multiple languages as needed, with a single line for each language. For instance the ru: might be used to specify a brand in Cyrillic. Sometimes also country specific brands are required.
** attributes - to be defined
+
** attributes - each brand can have one or more attributes
*** owner
+
*** barcodeprefix:en: - the first 8(?) numbers of the barcode that belong to the brand. With this brands can be automatically assigned to a barcode;
*** country distributor
+
*** wikipedia:en: - the full link to a page, which explains the brand(!!!). Note that brands are not well available on wikipedia;
*** wikipedia page
+
*** wikidata:en: - the identifaction of the wikidata entry for the brand(!!). Note that brands are not well available on wikidata;
*** local customer service address (one for each country where the product is distributed, and a generic one)
+
*** brand_owner_opencorporates:xx: - an identification of the probable brand owner/distributor on [https://opencorporates.com/ opencorporates]. It is not always clear what should be written down here.
*** facebook
+
*** idea: local customer service address (one for each country where the product is distributed, and a generic one)
*** instagram
+
*** idea: eu trademark - maybe only useful for name trademarks? (not logo's). But not relevant to the consumer.
* order - start with the parent; follow by the key; the english value, the default, followed by the other languages in ISO-order
+
*** idea: stores - the stores where the brand is sold. Maybe better to create a store taxonomy and link from there to brands?
 
=== Example ===
 
=== Example ===
 
<br>
 
<br>
4,578

edits

Navigation menu