<?xml version="1.0" encoding="utf-8" ?>
<!--
 * Copyright (c) 2005-2020 The OPC Foundation, Inc. All rights reserved.
 *
 * OPC Foundation MIT License 1.00
 * 
 * Permission is hereby granted, free of charge, to any person
 * obtaining a copy of this software and associated documentation
 * files (the "Software"), to deal in the Software without
 * restriction, including without limitation the rights to use,
 * copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following
 * conditions:
 * 
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 *
 * The complete license agreement can be found here:
 * http://opcfoundation.org/License/MIT/1.00/
-->

<xs:schema
  xmlns:DI="http://opcfoundation.org/UA/DI/Types.xsd"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns:ua="http://opcfoundation.org/UA/2008/02/Types.xsd"
  xmlns:tns="http://fdi-cooperation.com/OPCUA/FDI7/Types.xsd"
  targetNamespace="http://fdi-cooperation.com/OPCUA/FDI7/Types.xsd"
  elementFormDefault="qualified"
>
  <xs:import namespace="http://opcfoundation.org/UA/DI/Types.xsd" />
  <xs:import namespace="http://opcfoundation.org/UA/2008/02/Types.xsd" />

  <xs:simpleType  name="EddDataTypeEnum">
    <xs:restriction base="xs:string">
      <xs:enumeration value="BOOLEAN_1" />
      <xs:enumeration value="DOUBLE_2" />
      <xs:enumeration value="FLOAT_3" />
      <xs:enumeration value="INTEGER_4" />
      <xs:enumeration value="UNSIGNED_INTEGER_5" />
      <xs:enumeration value="DATE_6" />
      <xs:enumeration value="DATE_AND_TIME_7" />
      <xs:enumeration value="DURATION_8" />
      <xs:enumeration value="TIME_9" />
      <xs:enumeration value="TIME_VALUE_10" />
      <xs:enumeration value="BIT_ENUMERATED_11" />
      <xs:enumeration value="ENUMERATED_12" />
      <xs:enumeration value="ASCII_13" />
      <xs:enumeration value="BITSTRING_14" />
      <xs:enumeration value="EUC_15" />
      <xs:enumeration value="OCTET_16" />
      <xs:enumeration value="PACKED_ASCII_17" />
      <xs:enumeration value="PASSWORD_18" />
      <xs:enumeration value="VISIBLE_19" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="EddDataTypeEnum" type="tns:EddDataTypeEnum" />

  <xs:complexType name="ListOfEddDataTypeEnum">
    <xs:sequence>
      <xs:element name="EddDataTypeEnum" type="tns:EddDataTypeEnum" minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ListOfEddDataTypeEnum" type="tns:ListOfEddDataTypeEnum" nillable="true"></xs:element>

  <xs:complexType name="EddDataTypeInfo">
    <xs:sequence>
      <xs:element name="EddDataType" type="tns:EddDataTypeEnum" minOccurs="0" />
      <xs:element name="Size" type="xs:unsignedInt" minOccurs="0" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="EddDataTypeInfo" type="tns:EddDataTypeInfo" />

  <xs:complexType name="ListOfEddDataTypeInfo">
    <xs:sequence>
      <xs:element name="EddDataTypeInfo" type="tns:EddDataTypeInfo" minOccurs="0" maxOccurs="unbounded" nillable="true" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ListOfEddDataTypeInfo" type="tns:ListOfEddDataTypeInfo" nillable="true"></xs:element>

</xs:schema>
