additionalInfo
The additionalInfo data is directly linked to a product/component (1:1 relationship) and provides an extension to the actual part data. Additional part information can be either simple key-value pairs (with numeric or string values) or binary objects such as files/images.
Sample XML telegram
This document describes the additionalInfo section of XML telegrams used in Part Traceability.
Click to unfold sample XML telegram
...
<additionalInfo>
<item name="WFS_TRANSFER_STATE" value="2" infoType="WFS" />
<item name="AddInfo_01" value="0815" />
<item name="AddInfo_02" value="Just some text" />
</additionalInfo>
...
XSD file
A additionalInfo XSD file is available for download.
Click to unfold additionalInfo XSD
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://opcon.dc.modules.qualitydata/dtos/additional"
xmlns="http://opcon.dc.modules.qualitydata/dtos/additional"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<!-- Allowed string -->
<xs:simpleType name="AllowedUnicodePlus">
<xs:restriction base="xs:string">
<xs:pattern value="[\p{L}\p{N} ._=/+%&#*;\-{}]+"/>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="Str80">
<xs:restriction base="AllowedUnicodePlus">
<xs:maxLength value="80"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="Str40">
<xs:restriction base="AllowedUnicodePlus">
<xs:maxLength value="40"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="Str20">
<xs:restriction base="AllowedUnicodePlus">
<xs:maxLength value="20"/>
</xs:restriction>
</xs:simpleType>
<!-- additionalInfo item -->
<xs:complexType name="AdditionalInfoItem">
<xs:attribute name="name" type="Str80" use="required"/> <!-- Unique name of the data element (per product) -->
<xs:attribute name="value" type="Str80" use="optional"/> <!-- Value to be stored -->
<xs:attribute name="infoType" type="Str20" use="optional"/> <!-- (Optional) Additional type definition for element categorization -->
</xs:complexType>
<xs:complexType name="AdditionalInfo">
<xs:sequence>
<xs:element name="item" type="AdditionalInfoItem" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<!-- **** GLOBAL ELEMENT (required by master.xsd) **** -->
<xs:element name="additionalInfo" type="AdditionalInfo"/>
</xs:schema>