<?xml version="1.0"?>
<xs:schema xmlns="FEN0071A" targetNamespace="FEN0071A" xmlns:xs="http://www.w3.org/2001/XMLSchema"
  elementFormDefault="qualified" attributeFormDefault="unqualified">
  <xs:element name="FEN0071A" type="FEN0071AType"/>
  <xs:annotation>
    <xs:documentation>Creation des types simples i.e. des formats des champs</xs:documentation>
  </xs:annotation>
  <xs:simpleType name="Char1Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="1"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char10Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="10"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char11Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="11"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char12Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="12"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char132Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="132"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char14Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="14"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char15Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="15"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char16Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="16"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char18Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="18"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char2Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="2"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char20Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="20"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char22Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="22"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char24Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="24"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char25Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="25"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char3Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="3"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char30Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="30"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char32Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="32"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char35Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="35"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char4Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="4"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char40Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="40"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char5Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="5"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char50Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="50"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char6Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="6"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char8Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="8"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char80Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="80"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char250Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="250"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Char500Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="500"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Date15Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="15"/>
      <xs:pattern value="(\d\d\d\d)(0[1-9]|1[012])(0[1-9]|1[0-9]|2[0-9]|3[01]) (\d\d\d\d\d\d)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Date8Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="8"/>
      <xs:pattern value="(\d\d\d\d)(0[1-9]|1[012])(0[1-9]|1[0-9]|2[0-9]|3[01])"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Num10.3sType">
    <xs:restriction base="xs:token">
      <xs:maxLength value="15"/>
      <xs:pattern value="[+\-][0-9]{10}[.][0-9]{3}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Num11.2sType">
    <xs:restriction base="xs:token">
      <xs:maxLength value="15"/>
      <xs:pattern value="[+\-][0-9]{11}[.][0-9]{2}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Num13.2Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="17"/>
      <xs:pattern value="[0-9]{13}[.][0-9]{2}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Num13.2sType">
    <xs:restriction base="xs:token">
      <xs:maxLength value="17"/>
      <xs:pattern value="[+\-][0-9]{13}[.][0-9]{2}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Num14Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="14"/>
      <xs:pattern value="[0-9]{14}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Num19.4sType">
    <xs:restriction base="xs:token">
      <xs:maxLength value="25"/>
      <xs:pattern value="[0-9]{19}[.][0-9]{4}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Num3.2Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="6"/>
      <xs:pattern value="[0-9]{3}[.][0-9]{2}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Num4Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="4"/>
      <xs:pattern value="[0-9]{4}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Num4.5Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="10"/>
      <xs:pattern value="[0-9]{4}[.][0-9]{5}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Num5Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="5"/>
      <xs:pattern value="[0-9]{5}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Num6Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="6"/>
      <xs:pattern value="[0-9]{6}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Num9.2Type">
    <xs:restriction base="xs:token">
      <xs:maxLength value="13"/>
      <xs:pattern value="[0-9]{9}[.][0-9]{2}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="EnteteType">
    <xs:sequence>
      <xs:element name="CODE_APPLI" type="Char6Type" nillable="false"/>
      <xs:element name="ID_AE" type="Char16Type" nillable="false"/>
      <xs:element name="DATE_CPT" type="Date8Type" nillable="false"/>
      <xs:element name="DATE_PHY" type="Date8Type" nillable="false"/>
      <xs:element name="CODE_MVT" type="Char3Type" nillable="false"/>
      <xs:element name="MOTIF_MVT" type="Num4Type" minOccurs="0" nillable="true"/>
      <xs:element name="GR_GI_SLIP_NO" type="Char10Type" minOccurs="0" nillable="true"/>
      <xs:element name="PR_UNAME" type="Char12Type" nillable="false"/>
      <xs:element name="TXT_ENTETE" type="Char25Type" minOccurs="0" nillable="true"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PosteType">
    <xs:sequence>
      <xs:element name="ID_AE" type="Char16Type" nillable="false"/>
      <xs:element name="ID_LIG" type="Num6Type" nillable="false"/>
      <xs:element name="TYPE_ID_FONC" type="Char30Type" minOccurs="0" nillable="true"/>
      <xs:element name="ID_FONC_PROD" type="Char30Type" minOccurs="0" nillable="true"/>
      <xs:element name="ID_CHORUS_PROD" type="Char18Type" minOccurs="0" nillable="true"/>
      <xs:element name="PLANT" type="Char4Type" nillable="false"/>
      <xs:element name="STGE_LOC" type="Char4Type" nillable="false"/>
      <xs:element name="QUANTITY" type="Num10.3sType" nillable="false"/>
      <xs:element name="UNIT" type="Char3Type" minOccurs="0" nillable="true"/>
      <xs:element name="TXT_PST" type="Char50Type" minOccurs="0" nillable="true"/>
      <xs:element name="RECEPT" type="Char12Type" minOccurs="0" nillable="true"/>
      <xs:element name="COST_CTR" type="Char10Type" nillable="false"/>
      <xs:element name="COST_OBJ" type="Char12Type" minOccurs="0" nillable="true"/>
      <xs:element name="WBS_ELEM" type="Char24Type" minOccurs="0" nillable="true"/>
      <xs:element name="FUNC_AREA" type="Char16Type" minOccurs="0" nillable="true"/>
      <xs:element name="ANA_MIN" type="Char22Type" minOccurs="0" nillable="true"/>
      <xs:element name="LOC_MIN" type="Char22Type" minOccurs="0" nillable="true"/>
      <xs:element name="NAT_MIN" type="Char11Type" minOccurs="0" nillable="true"/>
      <xs:element name="AXMIN1" type="Char22Type" minOccurs="0" nillable="true"/>
      <xs:element name="AXMIN2" type="Char22Type" minOccurs="0" nillable="true"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DossierType">
    <xs:sequence>
      <xs:element name="ENTETE" type="EnteteType"/>
      <xs:element name="POSTE" type="PosteType" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="FEN0071AType">
    <xs:sequence>
      <xs:element name="SDS" type="DossierType" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:schema>
