Label (v1)
Arbitrary Labels for items. Depending on the labels group a label may have a positive ('ITEM X HAS...'), a negative ('ITEM X HAS NOT..') or just a informative meaning. Groups have label assignments too; labels may be relevant to items only if they are assigned to their groups. This is important when filtering for (positive) labels, as not all items will have ubiquitous labels assigned (greens are vegetarian by all means).
| # | Field | Type | Description |
|---|---|---|---|
| 0 | id | int | label internal id |
| 1 | lgid | int | belongs to this label group |
| 2 | implies | int[] | list of other labels, which is implied if this label is set. |
| 3 | name | string | name of this label group |
| 4 | hidden | bool | A label might be marked hidden - its meaning varies, but typically it means that it should not be offered for filtering (e.g. in labelgroup 0 - origin) |
| 5 | lmv | bool | true, if this label is relevant for the LMV (Lebensmittelverordnung) |