This Structure DataTypedefines the base layout of an OPC UA Binaryencoded file. The content of the file is the UABinaryFileDataTypeencoded as ExtensionObject.

The file-specific metadata is provided by the DataTypeSchemaHeaderwhich is the base type for the UABinaryFileDataType Structure.

If the file is provided through a FileType Object, the MimeType Propertyof the Objectshall have the value application/opcua+uabinary.

If the file is stored on disc, the file extension shall be uabinary.

The UABinaryFileDataTypeis formally defined in Table 279.

Table 279– UABinaryFileDataType structure

Name

Type

Description

UABinaryFileDataType

Structure

Subtype of DataTypeSchemaHeader defined in 12.31.

schemaLocation

String

Reference to a file that contains the DataTypeSchemaHeaderfor the content of the file represented by an instance of this structure.

The schemaLocationis either a fully qualified URL or a URN which is a relative path to the file location.

If the schemaLocationis provided, the DataTypedescriptions can be skipped but the namespacesused shall match the namespacesin the schema file.

fileHeader

KeyValuePair[]

The file-specific header.

body

BaseDataType

The body of the file.

The DataTypesused in the body are described through the structureDataTypes, enumDataTypesand simpleDataTypesfields of the DataTypeSchemaHeader Structurewhich is the base type for the UABinaryFileDataType.

DataTypesdefined by OPC UA can be omitted.

Its representation in the UABinaryFileDataTypeis defined in Table 280.

Table 280– UABinaryFileDataType definition

Attributes

Value

BrowseName

UABinaryFileDataType

IsAbstract

FALSE

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

Subtype of DataTypeSchemaHeader defined in 12.31.

Conformance Units

Base Info UaBinary File