Introduction
...
As you can find the extract below 2005 is the id of the list. 132, 133, 178 and 186 are the allowed values.
The next example in this line is the 203. This is an entry from the code list 2379. In this case only the value 203 is allowed.
...
B | C | D | E | F | G |
C507 | DATA / TIME / PERIOD | ||||
132 - Arrival date/time, estimated | 2005 | Date or time or period function code qualifier | Date / Time Information of the Transport | tos|@|carriervisit|@|departure|@|mooring|@|firstline|time|planned|timestamp: 2002-11-13T0917:00.000Z | |
2380 | Date or time or period value | Arrival/departure date/time | |||
203 - CCYYMMDDHHMM | 2379 | Date or time or period format code | COARRI is CCYYMMDDHHMM format ant TIC4.0 is always in ISO8601 format |
...
We have 4 different allowed values which describe “different meanings” for the following date. This means that they have to go to different fields in the TIC 4.0 format.
132 - Arrival date/time, estimated | tos|@|carriervisit|@|arrival|@mooring|@|firstline|time|planned|timestamp: 2380 if 2005=132 |
133 - Departure date/time, estimated | tos|@|carriervisit|@|departure|@|mooring|@|firstline|time|planned|timestamp: 2380 if 2005=133 |
178 - Arrival date/time, actual | tos|@|carriervisit|@|arrival|@|mooring|@|firstline|time|actual|timestamp: 2380 if 2005=178 |
186 - Departure date/time, actual | tos|@|carriervisit|@|departure|@|mooring|@|firstline|time|actual|timestamp: 2380 if 2005=186 |
The component element 2380 holds the date and time: 200211131700.
The component element 2379 holds the format description of the component element 2308: CCYYMMDDHHMM.
...
Panel | ||
---|---|---|
| ||
NAD+CF+MAE:172:20' |
B | C | D | E | F | G |
CA Carrier | 3035 | PARTY FUNCTION CODE QUALIFIER | tos|@|cargo|@|responsableparty|metadata|output|actual|#qualifier#20|partyfunctioncode : CF | ||
C082 | PARTY IDENTIFICATION DETAILS | ||||
3039 | Party Identifier | Company Code | tos.|@.|cargo.|@.|responsableparty.|metadata.|output.|actual.|#qualifier#20.|output.|actual.|value : MAE | ||
160 Party identification | 1131 | Code list identification code | Kind of Party | tos.|@.|cargo.|@.|responsableparty.|metadata.|output.|actual.|#qualifier#20.|codelistidentificationcode : 172 | |
20 BIC (Bureau International des Containeurs) | 3055 | Code list responsible agency code | tos.|@.|cargo.|@.|responsableparty.|metadata.|output.|actual.|#qualifier#20.|qualifier : 20 |
NAD is the SMDG TAG for name and address.
...
CF is an entry of the smdg data element 3035 which has a fix list of allowed values:
CA Carrier
CF Container operator/lessee
HR Shipping line service
MR Message recipient
MSDocument/message issuer/sender
The definition in the TIC data model is done as follows. There are metadata defined for it. The metadata partyfunctioncode holds the number of the list. :he metadata partyfunctionname holds the list with the possible values.
tos.|@.|cargo.@.responsableparty.metadata.output.actual.#qualifier#3055.|@|responsibleparty|metadata|output|actual|#qualifier#3055|partyfunctioncode : 3035
tos.|@.|cargo.@.responsableparty.metadata.output.actual.#qualifier#3055.|@|responsibleparty|metadata|output|actual|#qualifier#3055|partyfunctionname : 3035 (see list)
example: tos.|@.|cargo.@.responsableparty.metadata.output.actual.#qualifier#20.|@|responsibleparty|metadata|output|actual|#qualifier#20|partyfunctioncode : CF
MAE:172:20
This is the smdg data element C082 which holds the party identification details.
...
This is translated as follows:
tos.|@.|cargo.@.responsableparty.metadata.output.actual.#qualifier#20.output.actual.|@|responsibleparty|metadata|output|actual|#qualifier#20|output|actual|value : MAE
tos.|@.|cargo.@.responsableparty.metadata.output.actual.#qualifier#3055.output.actual.|@|responsibleparty|metadata|output|actual|#qualifier#3055|output|actual|value : 3039
172 is an entry of list 1131 and describes the kind of the party.
...
This is translated similar to the example before:
tos.|@.|cargo.@.responsableparty.metadata.output.actual.#qualifier#20.|@|responsibleparty|metadata|output|actual|#qualifier#20|codelistidentificationcode : 172
tos.|@.|cargo.@.responsableparty.metadata.output.actual.#qualifier#20.|@|responsibleparty|metadata|output|actual|#qualifier#20|codelistidentificationname : Carriers
tos.|@.|cargo.@.responsableparty.metadata.output.actual.|@|responsibleparty|metadata|output|actual|#qualifier#3055codelistidentificationcode : 3039
tos.|@.|cargo.@.responsableparty.metadata.output.actual.|@|responsibleparty|metadata|output|actual|#qualifier#3055codelistidentificationname : 172= Carriers/160 Party identification
20 is an entry of the list 3055 and describes the code list standards from which the data values were taken.
...
This is translated as follows:
tos.|@.|cargo.@.responsableparty.metadata.output.actual.#qualifier#20.|@|responsibleparty|metadata|output|actual|#qualifier#20|qualifier : 20
tos.|@.|cargo.@.responsableparty.metadata.|@|responsibleparty|metadata|output.actual.|#qualifier#20.|codelistresponisbleagencyname : BIC
tos.|@.|cargo.@.responsableparty.metadata.output.actual.#qualifier#3055.|@|responsibleparty|metadata|output|actual|#qualifier#3055|qualifier : 3055
tos.|@.|cargo.@.responsableparty.metadata.output.actual.#qualifier#3055#.|@|responsibleparty|metadata|output|actual|#qualifier#3055#|codelistresponisbleagencyname : 3055 see list
DATA BASE
The backend of this code is public available at
...