Search by

archim / product-attribution

unixslayer

Product attribution: the parties behind a product (manufacturer, brand owner, importer), linking ArchIM's Product and Party modules through their public events

dev-master 2026-12-04 18:05 UTC

This package is auto-updated.

Last update: 2026-12-04 18:05:40 UTC


README

The parties behind a product in ArchIM: which manufacturer, brand owner, importer or other party stands behind a product, and since when. It links two generic modules, Product and Party, without either knowing the other: it keeps its own record of both from their public events.

What it answers

  • Which parties stand behind a product in a role (manufacturer, brand owner, importer), and when?
  • Which products does a party stand behind?
  • Which parties stand behind the components of a product, down to the last level of its composition?

What it provides

  • Links between a product and a party in a role, each with a validity, added and invalidated by command; event sourced.
  • Policies on a new link, replaceable: the role is in the vocabulary, the party is known, the product is published over the whole validity, no duplicate link, a limit of parties per role.
  • Its own record of Product's published and withdrawn definitions and compositions, and of Party's registrations, from their public events: idempotent and independent of the order of delivery.
  • Read models of the links, and public events of an added and an invalidated link.

Documentation

License

Apache License 2.0: see the LICENSE file.