The supplier table
The named counterparty a factor describes: an electricity retailer, the owner of an environmental product declaration. Null for the generic majority.
Fields#
| field | type | required | example | meaning |
|---|---|---|---|---|
id |
uuid | yes | The row's own identifier. Consumers address a factor by its slug, not by this. | |
code |
text | yes | Minted stable handle: the canonical fold of the resolved name (NFKD-ascii, lowercase, alphanumerics). Frozen once minted. | |
name |
text | yes | resolved canonical legal name (display) | |
country_code |
text | The country this belongs to, where it sits inside one. | ||
lei |
text | ISO 17442 Legal Entity Identifier, when known | ||
parent_id |
uuid | Corporate parent (a subsidiary's factors stay on the subsidiary). | ||
url |
text | Where to find it at the source. |
Referenced by#
emission_factor.supplier_id, supplier.parent_id, supplier_resolution.supplier_id.
Notes#
An annotation, never identity: a legal-name change never re-keys the factors. The name fold deliberately does not strip legal-form suffixes, because merging two similarly-named companies attributes one company's emissions to another and is invisible afterwards, while a missed merge stays fixable.