Jump to content

Platform for producers - Cheatsheet: Difference between revisions

no edit summary
(Created page with "Some details about the internals of the Producers Platform that can be of interest to admins and developers. = Introduction to the Producers Platform = On the Producers Plat...")
 
No edit summary
Line 29: Line 29:


=== GS1 GSDN imports ===
=== GS1 GSDN imports ===
==== Mapping of GS1 organization identifiers (GLN, Party Name) to OFF organizations ====
In GS1 data, organizations are identified with a GLN, that is associated to a "party name".
GS1 product data often has organizations identified as the "brand owner" and/or as the "information provider".
e.g.
<pre>
      "brandOwner" : {
        "gln" : "3010836800139",
        "partyName" : "BONDUELLE SAS"
      },
      "informationProviderOfTradeItem" : {
        "gln" : "3010836800139",
        "partyName" : "BONDUELLE EUROPE LONG LIFE"
      },
</pre>
We currently use the informationProviderOfTradeItem if it is present and not empty.
By default, we map the party name to create the OFF organization id. e.g. "BONDUELLE EUROPE LONG LIFE" becomes org-bonduelle-europe-long-life.
In practice, some GS1 data may have different party names for the same GLN (e.g. the CodeOnline data above), and some big organizations have different GLNs for different lines of products.
Admins of the producers platform can edit organization profiles to list the different GLNs that the organization should be associated with.
==== Handling of conflicts ====


==== Equadis ====
==== Equadis ====
Line 36: Line 64:
== Exporting data and photos from the producers platform to the public database ==
== Exporting data and photos from the producers platform to the public database ==


== Product owners ==
=== Data sources ===
 
Data sources are available in the product JSON and can be listed through the /data-sources facet.
 
=== Product owners ===
 
Owners are available in the product JSON and can be listed through the /owners facet.
 
In the public database, the owner field is imported from the producers platform only for organizations that correspond to producers. It is not kept when the owner is an user, or an organization that corresponds to a label or an external database (e.g. org-label-biopartenaire or org-database-usda).


== Technical details ==
== Technical details ==