Principles
General concept
The person is the focal point of the concept.
A person may have several udianas. A udianas is a group of trees dedicated to the same person. In a udiana, there may have several trees. These trees can be of different species. A tree is linked to a species. The species is related to a plantation. A sale generates a group of transactions. A transaction is linked to a single species. A customer can make multiple sales.
The items available through the Udianas API are:
- The Missing Person
- Udiana (group of trees)
- The memorial tree
- The species
- Planting
- The sale
- The transaction
The pricelist contains all the available species and their prices.
Shared references
A shared reference is an element that is used by one of the two parties to refer to specific data from the other.
The references to share are mainly:
- The missing person's reference
- The customer's email address
Ancillary references allow for complementary developments in the context of related contexts:
- The reference to the funeral home
- The reference to the agency of the funeral company
- The reference to the title of the newspaper that publishes the death notice.
- The email address of the sender of customer service messages
With these references it is possible to offer additional services to the various parties involved.
Tree stocks
Each species corresponds to an amount of stock available. The information is passed into the object Species. It is not possible to add trees beyond the amount available. Stock-specific options should be available in the final version of the Udianas v 1 API. They will allow stock info to be updated more quickly.
Contexts
The principle of contexts is to be able to present the data with varying granularity: either globally or for one of the given contexts. The various contexts available are:
- General context (all data)
- The press group
- The press title
- The edition of the press title
- The Funeral Home Group
- The funeral home
- The agency of the funeral home
More details on contexts' page