D97A
Message D97A/DIRDEF
Directory definition message
This Directory definition message (DIRDEF) permits the transfer of the contents of a UN/EDIFACT Directory set or parts thereof.
Message description
UNH
M(1) : Message headerA service segment starting and uniquely identifying a message. The message type code for the Directory definition message is DIRDEF. Note: Directory definition messages conforming to this document must contain the following data in segment UNH, composite S009: Data element 0065 DIRDEF 0052 D 0054 97A 0051 UN
BGM
C(1) : Beginning of messageA segment to indicate the beginning of the message and to transmit function, type and number of the message.
DII
M(1) : Directory identificationA segment specifying the identity of the directory set and giving its language and maintenance operation.
DTM
C(9) : Date/time/periodA segment specifying dates related to the directory set, such as date of approval, date of submission or WP.4 acceptance date.
FTX
C(9) : Free textA segment providing free text information related to the directory set.
SG1 C(9) : NAD-SG2
A group of segments identifying the parties involved in the transaction with associated information.
NAD
M(1) : Name and addressA segment identifying the parties involved in the transaction, e.g. originator, requestor or secretariat.
SG2 C(9) : CTA-COM
A group of segments identifying a person or a department and identifying communication type(s) and number(s).
CTA
M(1) : Contact informationA segment identifying a person or a department for the party specified in the leading NAD segment to whom the communication should be directed.
COM
C(9) : Communication contactA segment identifying communication type(s) and number(s) of person(s) or department(s) specified in the associated CTA segment.
SG3 C(9999) : MSG-FTX-DTM-SG4
A group of segments providing a message type directory.
MSG
M(1) : Message type identificationA segment identifying a message type to be specified.
FTX
C(999) : Free textA segment providing textual information related to the message type, namely: message type name, Introduction, Scope, Functional definition, Principles, References and Terms and definitions.
DTM
M(1) : Date/time/periodThis segment is used to indicate the release date of a message, as indicated on the cover page of the boilerplate.
SG4 C(999) : SGU-FTX-SG5
A group of segments specifying a message type structure and its related functional definition.
SGU
M(1) : Segment usage detailsA segment specifying the usage of a segment in a message type structure.
FTX
C(99) : Free textA segment providing textual information about segment usage. This information comprises part of the 'Data segment clarification' section.
SG5 C(1) : GRU-FTX
A group of segments identifying a segment group and providing details about segment group usage.
GRU
M(1) : Segment group usage detailsA segment specifying the usage of a segment group in a message type structure.
FTX
C(99) : Free textA segment providing the textual information about segment group usage. This information comprises part of the 'Data Segment Clarification' section.
SG6 C(9999) : SEG-FTX-ELU-REL
A group of segments providing a segment directory.
SEG
M(1) : Segment identificationA segment identifying a segment type and specifying its class and maintenance operation.
FTX
C(9) : Free textA segment specifying the name and functional definition of a segment type.
ELU
C(99) : Data element usage detailsA segment specifying the contents of data elements in a segment type.
REL
C(99) : RelationshipTo identify the direct relationship between the data and/or information contained in one segment and the data and/or information contained in one or more other segments.
SG7 C(9999) : CMP-FTX-ELU
A group of segments providing a composite data element directory.
CMP
M(1) : Composite data element identificationA segment identifying a composite data element and specifying its class and maintenance operation.
FTX
C(9) : Free textA segment specifying the name and functional definition of a composite data element type.
ELU
C(99) : Data element usage detailsA segment specifying component data elements in a composite data element and its related information.
SG8 C(9999) : ELM-FTX
SG9 C(9999) : CDS-FTX-SG10
UNT
M(1) : Message trailerA service segment ending a message, giving the total number of segments in the message and the control reference number of the message.
Message structure
UNH, Message header                           M        1
BGM, Beginning of message                     C        1
DII, Directory identification                 M        1
DTM, Date/time/period                         C        9
FTX, Free text                                C        9
--- Segment Group 1 ------------------------- C        9 -------+
NAD, Name and address                         M        1        |
                                                                |
--- Segment Group 2 ------------------------- C        9 ------+|
CTA, Contact information                      M        1       ||
COM, Communication contact                    C        9       ||
---- ----------------------------------------------------------++
--- Segment Group 3 ------------------------- C     9999 -------+
MSG, Message type identification              M        1        |
FTX, Free text                                C      999        |
DTM, Date/time/period                         M        1        |
                                                                |
--- Segment Group 4 ------------------------- C      999 ------+|
SGU, Segment usage details                    M        1       ||
FTX, Free text                                C       99       ||
                                                               ||
--- Segment Group 5 ------------------------- C        1 -----+||
GRU, Segment group usage details              M        1      |||
FTX, Free text                                C       99      |||
---- ---------------------------------------------------------+++
--- Segment Group 6 ------------------------- C     9999 -------+
SEG, Segment identification                   M        1        |
FTX, Free text                                C        9        |
ELU, Data element usage details               C       99        |
REL, Relationship                             C       99        |
---- -----------------------------------------------------------+
--- Segment Group 7 ------------------------- C     9999 -------+
CMP, Composite data element identification    M        1        |
FTX, Free text                                C        9        |
ELU, Data element usage details               C       99        |
---- -----------------------------------------------------------+
--- Segment Group 8 ------------------------- C     9999 -------+
ELM, Simple data element details              M        1        |
FTX, Free text                                C        9        |
---- -----------------------------------------------------------+
--- Segment Group 9 ------------------------- C     9999 -------+
CDS, Code set identification                  M        1        |
FTX, Free text                                C        9        |
                                                                |
--- Segment Group 10 ------------------------ C     9999 ------+|
CDV, Code value definition                    M        1       ||
FTX, Free text                                C        9       ||
---- ----------------------------------------------------------++
UNT, Message trailer                          M        1
