D96A

Message D96A/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 header

A 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 96A 0051 UN

BGM

C(1) : Beginning of message

A segment to indicate the beginning of the message and to transmit function, type and number of the message.

DII

M(1) : Directory identification

A segment specifying the identity of the directory set and giving its language and maintenance operation.

DTM

C(9) : Date/time/period

A 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 text

A 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 address

A 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 information

A 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 contact

A 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-SG4

A group of segments providing a message type directory.

MSG

M(1) : Message type identification

A segment identifying a message type to be specified.

FTX

C(999) : Free text

A segment providing textual information related to the message type, namely: message type name, Introduction, Scope, Functional definition, Principles, References and Terms and definitions.

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 details

A segment specifying the usage of a segment in a message type structure.

FTX

C(99) : Free text

A 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 details

A segment specifying the usage of a segment group in a message type structure.

FTX

C(99) : Free text

A 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

A group of segments providing a segment directory.

SEG

M(1) : Segment identification

A segment identifying a segment type and specifying its class and maintenance operation.

FTX

C(9) : Free text

A segment specifying the name and functional definition of a segment type.

ELU

C(99) : Data element usage details

A segment specifying the contents of data elements in a segment type.

SG7 C(9999) : CMP-FTX-ELU

A group of segments providing a composite data element directory.

CMP

M(1) : Composite data element identification

A segment identifying a composite data element and specifying its class and maintenance operation.

FTX

C(9) : Free text

A segment specifying the name and functional definition of a composite data element type.

ELU

C(99) : Data element usage details

A segment specifying component data elements in a composite data element and its related information.

SG8 C(9999) : ELM-FTX

A group of segments providing a data element directory.

ELM

M(1) : Simple data element details

A segment identifying a simple data element and giving related information.

FTX

C(9) : Free text

A segment specifying the name and functional definition of a simple data element.

SG9 C(9999) : CDS-FTX-SG10

A group of segments providing a code list directory.

CDS

M(1) : Code set identification

A segment specifying a code set. In DIRDEF data element 9434 shall not be used.

FTX

C(9) : Free text

A segment providing textual information related to the code list.

SG10 C(9999) : CDV-FTX

A group of segments specifying a code value and its functional definition.

CDV

M(1) : Code value definition

A segment specifying a code value.

FTX

C(9) : Free text

A segment specifying the name and functional definition of a code value.

UNT

M(1) : Message trailer

A 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        |
                                                                |
--- 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        |
---- -----------------------------------------------------------+

--- 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