Skip to content

Commit cc94431

Browse files
committed
ttag-format: tag_index / tag_count — chip i of n (TigerTag v2.2, byte +39), conditional on chip-backed records; twin example carries 1/2 and 2/2 (EN + FR)
1 parent 663c34d commit cc94431

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎docs/developers/ttag-format.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ At **record level**:
6969
| Core identity (present on every well-formed record) | `id_material`, `id_type`, `id_aspect1`, `id_tigertag` — resolved against the shared reference database |
7070
| Capacity | Normalized from `measure` + `id_unit`: **`measure_gr` in grams for solids** (e.g. `measure: 1` + kg → `measure_gr: 1000`) and **`measure_ml` in milliliters for liquids** (resins). Generators may provide `measure` + `id_unit`; the normalized value is the canonical stored one |
7171
| Common optional | color fields (`color_r/g/b`, `online_color_list`…), `weight_available`, `container_id` / `container_weight`, display strings (`material`, `series`, `color_name`), `TD`, `tags`, `sku` / `barcode`, `Link*`, `url_img*` |
72-
| Conditional | `twin_tag_uid` (twins only — reciprocal within the file) · `rfidBackup: true` **plus** a matching `rfidBackups` entry (TigerTag+ only) · `id_product` (known catalogue products only) |
72+
| Conditional | `twin_tag_uid` (twins only — reciprocal within the file) · `tag_index` / `tag_count` (chip-backed records only — chip *i* of *n* read from chip byte +39, TigerTag protocol v2.2; one nibble each, `0` = unknown; never on a chipless record) · `rfidBackup: true` **plus** a matching `rfidBackups` entry (TigerTag+ only) · `id_product` (known catalogue products only) |
7373
| Carried but ignored on import | `rack`, `rack_id`, `level`, `position` |
7474

7575
For any edge case not covered here, the **Tiger Studio importer is the
@@ -222,7 +222,7 @@ A faithful, anonymized multi-selection export — one TigerData, one twin pair
222222
"online_color_list": "D4AF37",
223223
"measure_gr": 1000, "weight_available": 500,
224224
"container_id": 3, "container_weight": 215,
225-
"twin_tag_uid": "04F6E5D4C3B2A1",
225+
"twin_tag_uid": "04F6E5D4C3B2A1", "tag_index": 1, "tag_count": 2,
226226
"rfidBackup": false, "updatedAt": 1769212800000
227227
},
228228
{
@@ -234,7 +234,7 @@ A faithful, anonymized multi-selection export — one TigerData, one twin pair
234234
"online_color_list": "00825A",
235235
"measure_gr": 1000, "weight_available": 500,
236236
"container_id": 3, "container_weight": 215,
237-
"twin_tag_uid": "04A1B2C3D4E5F6",
237+
"twin_tag_uid": "04A1B2C3D4E5F6", "tag_index": 2, "tag_count": 2,
238238
"rfidBackup": false, "updatedAt": 1769212800000
239239
},
240240
{

‎i18n/fr/developers/ttag-format.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
sourceHash: 087d1aab4c52325f1acfa066df4feadc030b9ef1f7c6df6d20e99557542517da
2+
sourceHash: 551d534fd3d554ae4db42c43701bf66647afcbe1ff812f7264bb1ff79aff43a8
33
sourcePath: docs/developers/ttag-format.md
44
---
55

@@ -75,7 +75,7 @@ Au **niveau de l'enregistrement** :
7575
| Identité de base (présente sur tout enregistrement bien formé) | `id_material`, `id_type`, `id_aspect1`, `id_tigertag` — résolus contre la base de référence partagée |
7676
| Capacité | Normalisée à partir de `measure` + `id_unit` : **`measure_gr` en grammes pour les solides** (par ex. `measure: 1` + kg → `measure_gr: 1000`) et **`measure_ml` en millilitres pour les liquides** (résines). Les générateurs peuvent fournir `measure` + `id_unit` ; c'est la valeur normalisée qui fait foi une fois stockée |
7777
| Facultatifs courants | champs de couleur (`color_r/g/b`, `online_color_list`…), `weight_available`, `container_id` / `container_weight`, chaînes d'affichage (`material`, `series`, `color_name`), `TD`, `tags`, `sku` / `barcode`, `Link*`, `url_img*` |
78-
| Conditionnels | `twin_tag_uid` (jumeaux uniquement — réciproque à l'intérieur du fichier) · `rfidBackup: true` **plus** une entrée `rfidBackups` correspondante (TigerTag+ uniquement) · `id_product` (produits connus du catalogue uniquement) |
78+
| Conditionnels | `twin_tag_uid` (jumeaux uniquement — réciproque à l'intérieur du fichier) · `tag_index` / `tag_count` (enregistrements avec puce uniquement — puce *i* sur *n* lue à l'octet +39 de la puce, protocole TigerTag v2.2 ; un quartet chacun, `0` = inconnu ; jamais sur un enregistrement sans puce) · `rfidBackup: true` **plus** une entrée `rfidBackups` correspondante (TigerTag+ uniquement) · `id_product` (produits connus du catalogue uniquement) |
7979
| Transportés mais ignorés à l'import | `rack`, `rack_id`, `level`, `position` |
8080

8181
Pour tout cas limite non traité ici, **l'importateur de Tiger Studio fait office
@@ -240,7 +240,7 @@ jumeaux (`twin_tag_uid` réciproque), un TigerTag+ dont le contenu de puce est s
240240
"online_color_list": "D4AF37",
241241
"measure_gr": 1000, "weight_available": 500,
242242
"container_id": 3, "container_weight": 215,
243-
"twin_tag_uid": "04F6E5D4C3B2A1",
243+
"twin_tag_uid": "04F6E5D4C3B2A1", "tag_index": 1, "tag_count": 2,
244244
"rfidBackup": false, "updatedAt": 1769212800000
245245
},
246246
{
@@ -252,7 +252,7 @@ jumeaux (`twin_tag_uid` réciproque), un TigerTag+ dont le contenu de puce est s
252252
"online_color_list": "00825A",
253253
"measure_gr": 1000, "weight_available": 500,
254254
"container_id": 3, "container_weight": 215,
255-
"twin_tag_uid": "04A1B2C3D4E5F6",
255+
"twin_tag_uid": "04A1B2C3D4E5F6", "tag_index": 2, "tag_count": 2,
256256
"rfidBackup": false, "updatedAt": 1769212800000
257257
},
258258
{

0 commit comments

Comments
 (0)