The Product Data Interface (PDI) format file is a form of object data exchange between CEDS and external systems.
This document describes the architecture syntax, content, and possible configurations of the PDI file.
The PDI file is composed of several sections. The sequence of the sections is shown below and the content is described in the remainder of the document.
The header record is the first section in the PDI file. The header record identifies the file as a PDI file and can provide additional information about the file's creation. The record contains information such as:
The header record is constructed with the following
data fields:
| Character Position | Description | Example |
| 1-4 | PDI file identification | PDIF |
| 5 | field separator character (blank) |
|
| 6-16 | PDI version, release, modification level | V01.R01.M00 |
| 17 | field separator character (blank) |
|
| 18-31 | Date/time of PDI file creation (YYYYMMDDHHMMSS) | 1990112010103505 |
| 32 | Header record terminator (colon) | : |
The administrative header follows the header record in the PDI file and contains a text prologue to the file. This prologue contains information such as:
The administrative header record is constructed with the following
data fields,
| SECTION, ADMINISTRATIVE_HEADER,Administrator_Class; |
| attribute-name1, attribute-type1; · attribute-nameN, attribute-typeN:: |
| attribute_data; · attribute_data:: |
The attribute name and type record is repeated for each attribute of the administrative header and is terminated with a semicolon. The last record is terminated with a colon.
The following fields describe the data records of the administrative section.
The data dictionary section contains information describing the
objects in the PDI file. This information specifies object names,
attribute names, and attribute types for each object and has the
following format.
| SECTION,DATA_DICTIONARY; |
|
DEFID,definition-id,class-name,2;
attribute-name1attribute_type1;
·
attribute-nameNattribute_typeN:
|
The attribute name and type record is repeated for each of the objects and is terminated with a semicolon. The last record is terminated with a colon.
Note: After the last attribute_type in the section another colon is required to indicate the end of the section.
The object data section contains attribute data for the objects
and has the following content and format.
| SECTION,OBJECT_DATA; |
|
definition_id;object_id;
data-value1;
·
data-valueN:
|
Note: After the last data_value in the section, another colon is required to indicate the end of the section.