Originally posted by **lecoqlibre** October 8, 2023
Community-supported agriculture (CSA model) or cropsharing is a system that connects producers and consumers within the [food system](https://en.wikipedia.org/wiki/Food_system) closer by allowing the consumer to subscribe to the harvest of a certain farm or group of farms.
CSA stands for AMAP in French.
### To support this use case in the ontology needs to:
1. As a CSA Producer I need to represent a recurring subscription of a consumer so that I know how many products to harvest.
- [ ] The Onotology will include a `Contract` class, that has a `startDate`, `frequency`, `endDate` (optional) & `NoOfOccurences` (optional).
- [ ] `Contracts` will be linked a single `managingAgent` , a single `contractedAgent`, and one or more `CataologItems`.
- [ ] `Contracts` will generate `Orders`.
2. As a CSA Producer I need to represent the content of each Share (which will vary week on week) so that I can browse the history
- [ ] Share `Products` will be mapped via `TransformationFlows` to the individual `Products` they contain.
- [ ] A new `Product` must be created for each recurrence of the Share.
3. As a CSA Producer I need to represent a recurring distribution session to allow planning.
- [ ] A `Contract` will be linked to mutliple `SaleSession` detailing the recurring distributions of the Share `Product`
@Alcoz - does that cover it ?
Discussed in https://github.com/datafoodconsortium/ontology/discussions/100