<?xml version="1.0" encoding="UTF-8"?>
<!--
© Copyright 2007 Infor Global Solutions Technology GmbH and/or its affiliates and subsidiaries. All rights reserved. The 
word and design marks set forth herein are trademarks and/or registered trademarks of Infor Global Solutions 
Technology GmbH and/or its affiliates and subsidiaries. All rights reserved. All other trademarks listed herein 
are the property of their respective owners.
 
-->

<!--    *****     Update Log     *****
 
Date           By      Note
6 Jun 2013    LA        New AS component created, BOD-2872
        *****     Update End     *****
 
-->

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schema.infor.com/InforOAGIS/2"
    targetNamespace="http://schema.infor.com/InforOAGIS/2" elementFormDefault="qualified"
    attributeFormDefault="unqualified">
    
    <xsd:include schemaLocation="./Components.xsd"/>
    
    <xsd:complexType name="AS_ApplicationType">
        <xsd:sequence>
            <xsd:element ref="AS_Settings" minOccurs="0"/>
            <xsd:element ref="AS_Logs" minOccurs="0"/>
        </xsd:sequence>
    </xsd:complexType>
    
    <xsd:complexType name="AS_SettingsType">
        <xsd:sequence>
            <xsd:element ref="AS_SettingFiles" minOccurs="0"/>
            <xsd:element ref="AS_SettingProperties" minOccurs="0"/>
        </xsd:sequence>
    </xsd:complexType>
    
    <xsd:complexType name="AS_LogsType">
        <xsd:sequence>
            <xsd:element ref="AS_LogFiles" minOccurs="0"/>
        </xsd:sequence>
    </xsd:complexType>
    
   <xsd:complexType name="AS_DatabaseType">
        <xsd:sequence>
            <xsd:element ref="AS_DatabaseFiles" minOccurs="0"/>
            <xsd:element ref="AS_DatabaseProperties" minOccurs="0"/>
        </xsd:sequence>
    </xsd:complexType>
    
    <xsd:complexType name="AS_FilesType">
        <xsd:sequence>
            <xsd:element ref="AS_File" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
    </xsd:complexType>
    
    <xsd:complexType name="AS_PropertiesType">
        <xsd:sequence>
            <xsd:element ref="AS_Property" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
    </xsd:complexType>
    
    <xsd:complexType name="AS_FileType">
        <xsd:sequence>
            <xsd:element ref="AS_FileName" minOccurs="0"/>
            <xsd:element ref="AS_FileVersion" minOccurs="0"/>
            <xsd:element ref="AS_FileLocation" minOccurs="0"/>
            <xsd:element ref="AS_FileDateModified" minOccurs="0"/>
            <xsd:element ref="AS_FileContent" minOccurs="0"/>
            <xsd:element ref="AS_FileMetaData" minOccurs="0"/>
            <xsd:element ref="AS_FileStatus" minOccurs="0"/>
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="AS_PropertyType">
        <xsd:sequence>
            <xsd:element ref="AS_Name" minOccurs="0"/>
            <xsd:element ref="AS_Value" minOccurs="0"/>
            <xsd:element ref="AS_Status" minOccurs="0"/>
        </xsd:sequence>
    </xsd:complexType>
    
    <xsd:element name="AS_Settings" type="AS_SettingsType"/>
    <xsd:element name="AS_Logs" type="AS_LogsType"/>
    <xsd:element name="AS_SettingFiles" type="AS_FilesType"/>
    <xsd:element name="AS_SettingProperties" type="AS_PropertiesType"/>
    <xsd:element name="AS_LogFiles" type="AS_FilesType"/>
    <xsd:element name="AS_File" type="AS_FileType"/>
    <xsd:element name="AS_Property" type="AS_PropertyType"/>
    <xsd:element name="AS_FileName" type="NameType"/>
    <xsd:element name="AS_FileVersion" type="NormalizedStringType"/>
    <xsd:element name="AS_FileLocation" type="NormalizedStringType"/>
    <xsd:element name="AS_FileDateModified" type="DateType"/>
    <xsd:element name="AS_FileContent" type="TextType"/>
    <xsd:element name="AS_FileMetaData" type="NormalizedStringType"/>
    <xsd:element name="AS_FileStatus" type="NormalizedStringType"/>
    <xsd:element name="AS_DatabaseFiles" type="AS_FilesType"/>
    <xsd:element name="AS_DatabaseProperties" type="AS_PropertiesType"/>
    <xsd:element name="AS_Name" type="NameType"/>
    <xsd:element name="AS_Value" type="NormalizedStringType"/>
    <xsd:element name="AS_Status" type="NormalizedStringType"/>
</xsd:schema>
