Multipacks¶
The multipacks schema contains information regarding the multipacks that are used to create loads. These are created from a number of either identical or different complete packages from the complete packaging schema.
Note: The multipack portion is optional (only applies to multipacks). If the complete packaging or component is not in a multipack, all of the fields below are optional.
Table¶
Column | Status |
Format | Notes |
---|---|---|---|
identifier | mandatory |
UUID | A globally unique identifier. See identifiers section for information on how to construct this identifier |
name | optional |
String | The name of this multipack. |
description | optional |
String | A brief description of this multipack. |
externalIdentifiers | optional |
Dictionary | A dictionary of identifiers that might be used to identify the multipack in other systems. For example: manufacturer’s own internal identifier, bar codes or global trade item number (gtin). To provide external identifiers please follow this format. {'externalIdentifierName1': 'identifier1', 'externalIdentifierName2': 'identifier2'} |
multipackConstituentsIdentifiers | mandatory |
List | The information regarding the consituents that are combined to create this multipack. The entries should be from the Multipack Constituents Relationship List identifier. |
tier | optional |
Integer | The tier associated with the multipack. The inner most tier denoted as 1, and the outermost tier is the biggest number. |
manufacturers | optional |
List | The information regarding the manufacturer(s). The entries should be the Organisations Relationship List identifiers. |
manufacturedCountry | optional |
String | The country the component was manufactured in. Use the country numeric ISO codes as described in the ISO 3166 international standard. |
updateDate | mandatory |
Date | The date that the multipack was provided/last updated. Use the format yyyy-mm-dd adhering to the ISO 8601 dateTime standard. |
releaseDate | optional |
Date | The date that the component will be available to use. Use the format yyyy-mm-dd adhering to the ISO 8601 dateTime standard. |
discontinueDate | optional |
Date | The date that the component will no longer be available to use. Use the format yyyy-mm-dd adhering to the ISO 8601 dateTime standard. |
Diagram¶
erDiagram
COMPONENTS }o..o{ MULTIPACK : multipack_constituents
COMPONENTS }o..o{ COMPLETE_PACKAGING : complete_packaging_constituents
COMPLETE_PACKAGING }o..o{ MULTIPACK : multipack_constituents
MULTIPACK {
identifier UUID "*"
name String
description String
externalIdentifiers Dictionary
multipackConstituentsIdentifiers List "*"
tier String
manufacturers List
manufacturedCountry String
updateDate Date "*"
releaseDate Date
discontinueDate Date
}
MULTIPACK }o--o{ RELATIONSHIP_LISTS : attributes
COMPLETE_PACKAGING }o..o{ LOADS : load_constituents
MULTIPACK }o..o{ LOADS : load_constituents
COMPONENTS }o--o{ LOADS : load_constituents
RELATIONSHIP_LISTS {
organisations optional
}
Example¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
|
Data flow¶
flowchart LR
subgraph components[Components]
co_example["example components"]
end
subgraph completePackages[Complete Packages]
cp_wineBox["Wine Box
-
516ac728-65e3-48c6-9756-37c29c177a7c"]
cp_wineBottle["Wine Bottle
-
123f1eab-f674-4009-862a-7168cd5cf53f"]
end
subgraph multipacks["`**Multipacks**`"]
mp_wineBox["`**12 pack of wine
-
111525c0-9a41-4eea-a9b7-a8c23ffcf94d**`"]
end
subgraph loads[Loads]
lo_load["example loads"]
end
components --> completePackages
cp_wineBox -.-> mp_wineBox
cp_wineBottle -.-> mp_wineBox
mp_wineBox -.-> loads