<?xml version="1.0" encoding="windows-1251"?>
<?F4FORM version="0.9"?>
<xsd:schema 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://fz122.fss.ru"
xmlns="http://fz122.fss.ru"
elementFormDefault="qualified"
>
    <!-- Описание глобального элемента F4REPORT -->
    <xsd:element name="F4REPORT" type="F4ReportType"/>
    <xsd:complexType name="F4ReportType">
        <xsd:sequence>
            <xsd:element name="TITLE" type="TitleType"/>
            <xsd:element name="F4INF1" type="F4inf1Type"/>
            <xsd:element name="F4INFO" type="F4infoType"/>
            <xsd:element name="F4DECODE" type="F4decodeType" minOccurs="0" maxOccurs="unbounded"/>
            <xsd:element name="F4DOGOV" type="F4DogovType" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
    </xsd:complexType>

    <!-- Описание элемента TITLE -->
    <xsd:complexType name="TitleType">
        <xsd:annotation>
            <xsd:documentation>Титул</xsd:documentation>
        </xsd:annotation>
        <xsd:attribute name="NumCorr" use="optional">
            <xsd:simpleType>
                <xsd:restriction base="xsd:integer">
                    <xsd:totalDigits value="3"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="NumDot" use="optional" default="0">
            <xsd:simpleType>
                <xsd:restriction base="xsd:integer">
                    <xsd:totalDigits value="2"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="TaxType" type="TaxTypePart1" use="required"/>
        <xsd:attribute name="TaxType2" type="TaxTypePart2" use="optional" default="00"/>
        <xsd:attribute name="TaxType3" type="TaxTypePart3" use="optional" default="00"/>
        <xsd:attribute name="T1R1C2" type="NumType" use="required"/>
        <xsd:attribute name="T1R2C2" type="NumType" use="optional"/>
        <xsd:attribute name="REG_NUM" use="required">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="10"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="KPS_NUM" use="required">
            <xsd:simpleType>
                <xsd:restriction base="xsd:integer">
                    <xsd:pattern value="\d{4}[1,2,3]"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="INN" use="required">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="12"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="KPP" use="optional">
            <xsd:simpleType>
                <xsd:restriction base="xsd:integer">
                    <xsd:totalDigits value="9"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="OGRN" use="optional">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="15"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="QUART_NUM" use="required">
            <xsd:simpleType>
                <xsd:restriction base="xsd:integer">
                    <xsd:enumeration value="3"/>
                    <xsd:enumeration value="6"/>
                    <xsd:enumeration value="9"/>
                    <xsd:enumeration value="12"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="YEAR_NUM" type="xsd:gYear" use="required"/>
        <xsd:attribute name="NAME" use="required">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="255"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="CRE_DATE" type="xsd:date" use="optional"/>
		<xsd:attribute name="CEO" use="required">
		<xsd:simpleType>
			<xsd:restriction base="xsd:string">
				<xsd:maxLength value="64"/>
			</xsd:restriction>
		</xsd:simpleType>
	</xsd:attribute>
        <xsd:attribute name="PHONE" use="optional">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="20"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="CADDR" use="optional">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="128"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="EMAIL" use="optional">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="50"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="LIKV" use="optional">
            <xsd:simpleType>
                <xsd:restriction base="xsd:integer">
                    <xsd:enumeration value="0"/>
                    <xsd:enumeration value="1"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="Upoln" use="optional">
            <xsd:simpleType>
                <xsd:restriction base="xsd:integer">
                    <xsd:enumeration value="1"/>
                    <xsd:enumeration value="2"/>
                    <xsd:enumeration value="3"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="UpolnDoc" use="optional">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="64"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
    </xsd:complexType>
    <!-- Описание элемента F4INF1 -->
    <xsd:complexType name="F4inf1Type">
        <xsd:annotation>
            <xsd:documentation>Раздел I</xsd:documentation>
        </xsd:annotation>
        <xsd:sequence>
            <xsd:element name="PAYM_ORDER" type="PaymOrderType" minOccurs="0" maxOccurs="unbounded"/>
            <xsd:element name="F4INOST" type="F4inostType" minOccurs="0" maxOccurs="unbounded"/>
            <xsd:element name="F4PAT" type="F4patType" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
        <xsd:attribute name="OKVED" use="optional">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="8"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="S2R1" type="SumType" use="optional"/>
        <xsd:attribute name="S2R3" type="SumType" use="optional"/>
        <xsd:attribute name="Ch1" type="SumType" use="optional"/>
        <xsd:attribute name="Ch2" type="SumType" use="optional"/>
        <xsd:attribute name="Ch3" type="SumType" use="optional"/>
        <xsd:attribute name="N0" type="SumType" use="optional"/>
        <xsd:attribute name="N1" type="SumType" use="optional"/>
        <xsd:attribute name="N2" type="SumType" use="optional"/>
        <xsd:attribute name="N3" type="SumType" use="optional"/>
        <xsd:attribute name="S2R2" type="SumType" use="optional"/>
        <xsd:attribute name="NRe0" type="SumType" use="optional"/>
        <xsd:attribute name="NRe1" type="SumType" use="optional"/>
        <xsd:attribute name="NRe2" type="SumType" use="optional"/>
        <xsd:attribute name="S2R13" type="SumType" use="optional"/>
        <xsd:attribute name="S2F0" type="SumType" use="optional"/>
        <xsd:attribute name="S2F1" type="SumType" use="optional"/>
        <xsd:attribute name="S2F2" type="SumType" use="optional"/>
        <xsd:attribute name="S2R16" type="SumType" use="optional"/>
        <xsd:attribute name="S2N" type="SumType" use="optional"/>
        <xsd:attribute name="FssDebt" type="SumType" use="optional"/>
        <xsd:attribute name="S2R18" type="SumType" use="optional"/>
        <xsd:attribute name="S2R19" type="SumType" use="optional"/>
        <xsd:attribute name="S2R20" type="SumType" use="optional"/>
        <xsd:attribute name="S2R21" type="SumType" use="optional"/>
        <xsd:attribute name="Re1" type="SumType" use="optional"/>
        <xsd:attribute name="Re2" type="SumType" use="optional"/>
        <xsd:attribute name="Re3" type="SumType" use="optional"/>
        <xsd:attribute name="S2R27" type="SumType" use="optional"/>
        <xsd:attribute name="S2R29" type="SumType" use="optional"/>
        <xsd:attribute name="S2R30" type="SumType" use="optional"/>
        <xsd:attribute name="S2R26" type="SumType" use="optional"/>
        <xsd:attribute name="S2R32" type="SumType" use="optional"/>
        <xsd:attribute name="InsDebt" type="SumType" use="optional"/>
        <xsd:attribute name="InsDelDebt" type="SumType" use="optional"/>
        <xsd:attribute name="S3QCase" type="NumType" use="optional"/>
        <xsd:attribute name="S3R1C1" type="NumType" use="optional"/>
        <xsd:attribute name="S3R1C2" type="SumType" use="optional"/>
        <xsd:attribute name="S3R1C3" type="SumType" use="optional"/>
        <xsd:attribute name="S3QCase2" type="NumType" use="optional"/>
        <xsd:attribute name="S3R2C1" type="NumType" use="optional"/>
        <xsd:attribute name="S3R2C2" type="SumType" use="optional"/>
        <xsd:attribute name="S3R2C3" type="SumType" use="optional"/>
        <xsd:attribute name="S3QCase5" type="NumType" use="optional"/>
        <xsd:attribute name="S3R9C1" type="NumType" use="optional"/>
        <xsd:attribute name="S3R9C2" type="SumType" use="optional"/>
        <xsd:attribute name="S3QCase6" type="NumType" use="optional"/>
        <xsd:attribute name="S3R10C1" type="NumType" use="optional"/>
        <xsd:attribute name="S3R10C2" type="SumType" use="optional"/>
        <xsd:attribute name="S3QCase4" type="NumType" use="optional"/>
        <xsd:attribute name="S3R4C1" type="NumType" use="optional"/>
        <xsd:attribute name="S3R4C2" type="SumType" use="optional"/>
        <xsd:attribute name="S3R4C3" type="SumType" use="optional"/>
        <xsd:attribute name="S3QCase3" type="NumType" use="optional"/>
        <xsd:attribute name="S3R41C1" type="NumType" use="optional"/>
        <xsd:attribute name="S3R41C2" type="SumType" use="optional"/>
        <xsd:attribute name="S3R41C3" type="SumType" use="optional"/>
        <xsd:attribute name="S3R5C1" type="NumType" use="optional"/>
        <xsd:attribute name="S3R5C2" type="SumType" use="optional"/>
        <xsd:attribute name="S3R6C1" type="NumType" use="optional"/>
        <xsd:attribute name="S3R6C2" type="SumType" use="optional"/>
        <xsd:attribute name="S3RCP7" type="NumType" use="optional"/>
        <xsd:attribute name="S3R7C1" type="NumType" use="optional"/>
        <xsd:attribute name="S3R7C2" type="SumType" use="optional"/>
        <xsd:attribute name="S3R7C3" type="SumType" use="optional"/>
        <xsd:attribute name="S3RCP71" type="NumType" use="optional"/>
        <xsd:attribute name="S3R71C1" type="NumType" use="optional"/>
        <xsd:attribute name="S3R71C2" type="SumType" use="optional"/>
        <xsd:attribute name="S3R71C3" type="SumType" use="optional"/>
        <xsd:attribute name="S3RCP72" type="NumType" use="optional"/>
        <xsd:attribute name="S3R72C1" type="NumType" use="optional"/>
        <xsd:attribute name="S3R72C2" type="SumType" use="optional"/>
        <xsd:attribute name="S3R72C3" type="SumType" use="optional"/>
        <xsd:attribute name="S3R3C1" type="NumType" use="optional"/>
        <xsd:attribute name="S3R3C2" type="SumType" use="optional"/>
        <xsd:attribute name="S3R3C3" type="SumType" use="optional"/>
        <xsd:attribute name="S3R11C2" type="SumType" use="optional"/>
        <xsd:attribute name="S3R11C3" type="SumType" use="optional"/>
        <xsd:attribute name="S3R8C1" type="NumType" use="optional"/>
        <xsd:attribute name="S3R8C2" type="SumType" use="optional"/>
        <xsd:attribute name="S3R12C2" type="SumType" use="optional"/>
        <xsd:attribute name="S3R12C3" type="SumType" use="optional"/>
        <xsd:attribute name="S1" type="SumType" use="optional"/>
        <xsd:attribute name="S2" type="SumType" use="optional"/>
        <xsd:attribute name="S4" type="SumType" use="optional"/>
        <xsd:attribute name="S6" type="SumType" use="optional"/>
        <xsd:attribute name="S7" type="SumType" use="optional"/>
        <xsd:attribute name="S8" type="SumType" use="optional"/>
        <xsd:attribute name="S9" type="SumType" use="optional"/>
        <xsd:attribute name="S1_1" type="SumType" use="optional"/>
        <xsd:attribute name="S2_1" type="SumType" use="optional"/>
        <xsd:attribute name="S4_1" type="SumType" use="optional"/>
        <xsd:attribute name="S6_1" type="SumType" use="optional"/>
        <xsd:attribute name="S7_1" type="SumType" use="optional"/>
        <xsd:attribute name="S8_1" type="SumType" use="optional"/>
        <xsd:attribute name="S9_1" type="SumType" use="optional"/>
        <xsd:attribute name="S1_2" type="SumType" use="optional"/>
        <xsd:attribute name="S2_2" type="SumType" use="optional"/>
        <xsd:attribute name="S4_2" type="SumType" use="optional"/>
        <xsd:attribute name="S6_2" type="SumType" use="optional"/>
        <xsd:attribute name="S7_2" type="SumType" use="optional"/>
        <xsd:attribute name="S8_2" type="SumType" use="optional"/>
        <xsd:attribute name="S9_2" type="SumType" use="optional"/>
        <xsd:attribute name="S1_3" type="SumType" use="optional"/>
        <xsd:attribute name="S2_3" type="SumType" use="optional"/>
        <xsd:attribute name="S4_3" type="SumType" use="optional"/>
        <xsd:attribute name="S6_3" type="SumType" use="optional"/>
        <xsd:attribute name="S7_3" type="SumType" use="optional"/>
        <xsd:attribute name="S8_3" type="SumType" use="optional"/>
        <xsd:attribute name="S9_3" type="SumType" use="optional"/>
        <xsd:attribute name="IT_WRK_CNT" type="NumType" use="optional"/>
        <xsd:attribute name="IT2WRK_CNT" type="NumType" use="optional"/>
        <xsd:attribute name="IT_PRF_ALL" type="SumType" use="optional"/>
        <xsd:attribute name="IT2PRF_ALL" type="SumType" use="optional"/>
        <xsd:attribute name="IT_PRF_SPC" type="SumType" use="optional"/>
        <xsd:attribute name="IT2PRF_SPC" type="SumType" use="optional"/>
        <xsd:attribute name="IT_ACC_DT" type="xsd:date" use="optional"/>
        <xsd:attribute name="IT_ACC_NM" use="optional">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="8"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="OKV_S1" type="SumType" use="optional"/>
        <xsd:attribute name="OKV_S2" type="SumType" use="optional"/>
        <xsd:attribute name="CUL_SP1" type="SumType" use="optional"/>
        <xsd:attribute name="CUL_S1" type="SumType" use="optional"/>
        <xsd:attribute name="CUL_SP2" type="SumType" use="optional"/>
        <xsd:attribute name="CUL_S2" type="SumType" use="optional"/>
        <xsd:attribute name="CUL_SP3" type="SumType" use="optional"/>
        <xsd:attribute name="CUL_S3" type="SumType" use="optional"/>
        <xsd:attribute name="CUL_SP4" type="SumType" use="optional"/>
        <xsd:attribute name="CUL_S4" type="SumType" use="optional"/>
    </xsd:complexType>
    <!-- Описание элемента F4INFO -->
    <xsd:complexType name="F4infoType">
        <xsd:annotation>
            <xsd:documentation>Раздел II и таблица 5</xsd:documentation>
        </xsd:annotation>
        <xsd:sequence>
            <xsd:element name="PAYM_ORDER" type="PaymOrderType" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
        <xsd:attribute name="T5R1C4" type="NumType" use="optional"/>
        <xsd:attribute name="T5R1C14" type="NumType" use="optional"/>
        <xsd:attribute name="T5R1C3" type="SumType" use="optional"/>
        <xsd:attribute name="T5R1C6" type="NumType" use="optional"/>
        <xsd:attribute name="T5R1C16" type="NumType" use="optional"/>
        <xsd:attribute name="T5R1C5" type="SumType" use="optional"/>
        <xsd:attribute name="T5R1C8" type="NumType" use="optional"/>
        <xsd:attribute name="T5R1C18" type="NumType" use="optional"/>
        <xsd:attribute name="T5R1C7" type="SumType" use="optional"/>
        <xsd:attribute name="T5R1C10" type="NumType" use="optional"/>
        <xsd:attribute name="T5R1C20" type="NumType" use="optional"/>
        <xsd:attribute name="T5R1C9" type="SumType" use="optional"/>
        <xsd:attribute name="T5R1C12" type="NumType" use="optional"/>
        <xsd:attribute name="T5R1C22" type="NumType" use="optional"/>
        <xsd:attribute name="T5R1C11" type="SumType" use="optional"/>
        <xsd:attribute name="T5R2C4" type="NumType" use="optional"/>
        <xsd:attribute name="T5R2C14" type="NumType" use="optional"/>
        <xsd:attribute name="T5R2C3" type="SumType" use="optional"/>
        <xsd:attribute name="T5R2C6" type="NumType" use="optional"/>
        <xsd:attribute name="T5R2C16" type="NumType" use="optional"/>
        <xsd:attribute name="T5R2C5" type="SumType" use="optional"/>
        <xsd:attribute name="T5R2C10" type="NumType" use="optional"/>
        <xsd:attribute name="T5R2C20" type="NumType" use="optional"/>
        <xsd:attribute name="T5R2C9" type="SumType" use="optional"/>
        <xsd:attribute name="T5R2C12" type="NumType" use="optional"/>
        <xsd:attribute name="T5R2C22" type="NumType" use="optional"/>
        <xsd:attribute name="T5R2C11" type="SumType" use="optional"/>
        <xsd:attribute name="T5R3C4" type="NumType" use="optional"/>
        <xsd:attribute name="T5R3C6" type="NumType" use="optional"/>
        <xsd:attribute name="T5R3C10" type="NumType" use="optional"/>
        <xsd:attribute name="T5R31C4" type="NumType" use="optional"/>
        <xsd:attribute name="T5R31C14" type="NumType" use="optional"/>
        <xsd:attribute name="T5R31C3" type="SumType" use="optional"/>
        <xsd:attribute name="T5R31C6" type="NumType" use="optional"/>
        <xsd:attribute name="T5R31C16" type="NumType" use="optional"/>
        <xsd:attribute name="T5R31C5" type="SumType" use="optional"/>
        <xsd:attribute name="T5R31C10" type="NumType" use="optional"/>
        <xsd:attribute name="T5R31C20" type="NumType" use="optional"/>
        <xsd:attribute name="T5R31C9" type="SumType" use="optional"/>
        <xsd:attribute name="T5R32C4" type="NumType" use="optional"/>
        <xsd:attribute name="T5R32C14" type="NumType" use="optional"/>
        <xsd:attribute name="T5R32C3" type="SumType" use="optional"/>
        <xsd:attribute name="T5R32C6" type="NumType" use="optional"/>
        <xsd:attribute name="T5R32C16" type="NumType" use="optional"/>
        <xsd:attribute name="T5R32C5" type="SumType" use="optional"/>
        <xsd:attribute name="T5R32C10" type="NumType" use="optional"/>
        <xsd:attribute name="T5R32C20" type="NumType" use="optional"/>
        <xsd:attribute name="T5R32C9" type="SumType" use="optional"/>

        <xsd:attribute name="T5R5C" type="NumType" use="optional"/>
        <xsd:attribute name="T5R5C1" type="NumType" use="optional"/>
        <xsd:attribute name="T5R5C2" type="SumType" use="optional"/>
        <xsd:attribute name="T5R6C2" type="SumType" use="optional"/>

        <xsd:attribute name="OKVED" use="optional">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="8"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="T1R4C2" type="NumType" use="optional"/>
        <xsd:attribute name="T1R6C2" type="NumType" use="optional"/>

        <xsd:attribute name="NC" type="SumType" use="optional"/>
        <xsd:attribute name="NC1" type="SumType" use="optional"/>
        <xsd:attribute name="NC2" type="SumType" use="optional"/>
        <xsd:attribute name="NC3" type="SumType" use="optional"/>
        <xsd:attribute name="T1R3C2" type="SumType" use="optional"/>
        <xsd:attribute name="C1" type="SumType" use="optional"/>
        <xsd:attribute name="C2" type="SumType" use="optional"/>
        <xsd:attribute name="C3" type="SumType" use="optional"/>
        <xsd:attribute name="T1R5C2" type="SumType" use="optional"/>
        <xsd:attribute name="I1" type="SumType" use="optional"/>
        <xsd:attribute name="I2" type="SumType" use="optional"/>
        <xsd:attribute name="I3" type="SumType" use="optional"/>
        <xsd:attribute name="RATE_MIS" use="required">
            <xsd:simpleType>
                <xsd:restriction base="xsd:decimal">
                    <xsd:totalDigits value="3"/>
                    <xsd:fractionDigits value="1"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="RATE_DEC" use="optional">
            <xsd:simpleType>
                <xsd:restriction base="xsd:integer">
                    <xsd:totalDigits value="2"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="RATE_INC" use="optional">
            <xsd:simpleType>
                <xsd:restriction base="xsd:integer">
                    <xsd:totalDigits value="2"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="INC_DATE" type="xsd:date" use="optional"/>
        <xsd:attribute name="IS_INV" use="optional">
            <xsd:simpleType>
                <xsd:restriction base="xsd:integer">
                    <xsd:enumeration value="0"/>
                    <xsd:enumeration value="1"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="IS_BUDJET" use="optional">
            <xsd:simpleType>
                <xsd:restriction base="xsd:integer">
                    <xsd:enumeration value="0"/>
                    <xsd:enumeration value="1"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="T7R1C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R3C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R5C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R6C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R7C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R9C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R13C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R11C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R16C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R17C61" type="SumType" use="optional"/>
        <xsd:attribute name="T7R18C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R39C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R19C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R40C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R21C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R23C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R24C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R25C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R27C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R29C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R30C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R31C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R38C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R34C1" type="SumType" use="optional"/>
        <xsd:attribute name="T7R35C1" type="SumType" use="optional"/>
        <xsd:attribute name="T6R3C1" type="NumType" use="optional"/>
        <xsd:attribute name="T6R3C2" type="SumType" use="optional"/>
        <xsd:attribute name="T6R13C1" type="NumType" use="optional"/>
        <xsd:attribute name="T6R13C2" type="SumType" use="optional"/>
        <xsd:attribute name="T6R4C1" type="NumType" use="optional"/>
        <xsd:attribute name="T6R4C2" type="SumType" use="optional"/>
        <xsd:attribute name="T6R8C1" type="NumType" use="optional"/>
        <xsd:attribute name="T6R8C2" type="SumType" use="optional"/>
        <xsd:attribute name="T6R14C1" type="NumType" use="optional"/>
        <xsd:attribute name="T6R14C2" type="SumType" use="optional"/>
        <xsd:attribute name="T6R9C1" type="NumType" use="optional"/>
        <xsd:attribute name="T6R9C2" type="SumType" use="optional"/>
        <xsd:attribute name="T6R5C1" type="NumType" use="optional"/>
        <xsd:attribute name="T6R5C2" type="SumType" use="optional"/>
        <xsd:attribute name="T6R6C1" type="NumType" use="optional"/>
        <xsd:attribute name="T6R6C2" type="SumType" use="optional"/>
        <xsd:attribute name="T6R10C2" type="SumType" use="optional"/>
        <xsd:attribute name="T6R11C2" type="SumType" use="optional"/>
        <xsd:attribute name="M1" type="NumType" use="optional"/>
        <xsd:attribute name="M2" type="NumType" use="optional"/>
        <xsd:attribute name="M3" type="NumType" use="optional"/>
        <xsd:attribute name="M5" type="NumType" use="optional"/>
        <xsd:attribute name="ATT_C1" type="NumType" use="optional"/>
        <xsd:attribute name="ATT_C2" type="NumType" use="optional"/>
        <xsd:attribute name="ATT_CL3" type="NumType" use="optional"/>
        <xsd:attribute name="ATT_CL4" type="NumType" use="optional"/>
        <xsd:attribute name="MED_C1" type="NumType" use="optional"/>
        <xsd:attribute name="MED_C2" type="NumType" use="optional"/>
    </xsd:complexType>
    <!-- Описание элемента F4DECODE -->
    <xsd:complexType name="F4decodeType">
        <xsd:annotation>
            <xsd:documentation>Самостоятельные классификационные единицы / источники финансирования</xsd:documentation>
        </xsd:annotation>
        <xsd:attribute name="OKVED" use="required">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="8"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="ID_RISC" use="required">
            <xsd:simpleType>
                <xsd:restriction base="xsd:integer">
                    <xsd:totalDigits value="2"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="RATE_MIS" use="required">
            <xsd:simpleType>
                <xsd:restriction base="xsd:decimal">
                    <xsd:totalDigits value="3"/>
                    <xsd:fractionDigits value="1"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="RATE_DEC" use="optional">
            <xsd:simpleType>
                <xsd:restriction base="xsd:integer">
                    <xsd:totalDigits value="2"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="RATE_INC" use="optional">
            <xsd:simpleType>
                <xsd:restriction base="xsd:integer">
                    <xsd:totalDigits value="2"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="FOT" type="SumType" use="optional"/>
        <xsd:attribute name="C1" type="SumType" use="optional"/>
        <xsd:attribute name="C2" type="SumType" use="optional"/>
        <xsd:attribute name="C3" type="SumType" use="optional"/>
        <xsd:attribute name="FOTINV" type="SumType" use="optional"/>
        <xsd:attribute name="I1" type="SumType" use="optional"/>
        <xsd:attribute name="I2" type="SumType" use="optional"/>
        <xsd:attribute name="I3" type="SumType" use="optional"/>
        <xsd:attribute name="NC" type="SumType" use="optional"/>
        <xsd:attribute name="RECKON" type="SumType" use="optional"/>
    </xsd:complexType>
    <!-- Тип для определения допустимых значений первой части шифров -->
    <xsd:simpleType name="TaxTypePart1">
        <xsd:restriction base="xsd:string">
            <xsd:enumeration value="051"/>
            <xsd:enumeration value="071"/>
            <xsd:enumeration value="081"/>
            <xsd:enumeration value="091"/>
            <xsd:enumeration value="101"/>
            <xsd:enumeration value="121"/>
            <xsd:enumeration value="131"/>
            <xsd:enumeration value="141"/>
            <xsd:enumeration value="151"/>
            <xsd:enumeration value="161"/>
            <xsd:enumeration value="171"/>
            <xsd:enumeration value="181"/>
            <xsd:enumeration value="191"/>
            <xsd:enumeration value="201"/>
        </xsd:restriction>
    </xsd:simpleType>
    <!-- Тип для определения допустимых значений второй части шифров -->
    <xsd:simpleType name="TaxTypePart2">
        <xsd:restriction base="xsd:string">
            <xsd:enumeration value="00"/>
            <xsd:enumeration value="01"/>
            <xsd:enumeration value="02"/>
            <xsd:enumeration value="03"/>
        </xsd:restriction>
    </xsd:simpleType>
    <!-- Тип для определения допустимых значений третьей части шифров -->
    <xsd:simpleType name="TaxTypePart3">
        <xsd:restriction base="xsd:string">
            <xsd:enumeration value="00"/>
            <xsd:enumeration value="01"/>
        </xsd:restriction>
    </xsd:simpleType>
	<!-- Тип для описания Сведения, необходимые для исчисления страховых взносов страхователями-->
    <xsd:complexType name="F4DogovType">
        <xsd:annotation>
            <xsd:documentation>Сведения, необходимые для исчисления страховых взносов страхователями</xsd:documentation>
        </xsd:annotation>
        <xsd:attribute name="REG_NUM_P" use="required">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="10"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="INN_P" use="required">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="12"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="OKVED_P" use="required">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="8"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="WRK_P" type="NumType" use="required"/>
        <xsd:attribute name="FOT_P" type="SumType" use="optional"/>
        <xsd:attribute name="FOTINV_P" type="SumType" use="optional"/>
        <xsd:attribute name="C1" type="SumType" use="optional"/>
        <xsd:attribute name="I1" type="SumType" use="optional"/>
        <xsd:attribute name="C2" type="SumType" use="optional"/>
        <xsd:attribute name="I2" type="SumType" use="optional"/>
        <xsd:attribute name="C3" type="SumType" use="optional"/>
        <xsd:attribute name="I3" type="SumType" use="optional"/>
        <xsd:attribute name="RATE_MIS_P" use="required">
            <xsd:simpleType>
                <xsd:restriction base="xsd:decimal">
                    <xsd:totalDigits value="3"/>
                    <xsd:fractionDigits value="1"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="MIS_ALL_P" use="required">
            <xsd:simpleType>
                <xsd:restriction base="xsd:decimal">
                    <xsd:totalDigits value="4"/>
                    <xsd:fractionDigits value="2"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
    </xsd:complexType>
	<!-- Тип для описания платежного поручения -->
    <xsd:complexType name="PaymOrderType">
        <xsd:annotation>
            <xsd:documentation>Платежное поручение</xsd:documentation>
        </xsd:annotation>
        <xsd:attribute name="NUM" use="required">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="10"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="DT" type="xsd:date" use="required"/>
        <xsd:attribute name="SUM" type="SumType" use="required"/>
    </xsd:complexType>
	<!-- Тип для описания информации об иностранных гражданах -->
    <xsd:complexType name="F4inostType">
        <xsd:annotation>
            <xsd:documentation>Сведения об иностранных гражданах</xsd:documentation>
        </xsd:annotation>
        <xsd:attribute name="LNAME" use="required">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="30"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="FNAME" use="required">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="30"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="MNAME" use="optional">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="30"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="INN" use="optional">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="12"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="SNILS" use="optional">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="14"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="GR" use="required">
            <xsd:simpleType>
                <xsd:restriction base="xsd:integer">
                    <xsd:totalDigits value="3"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
    </xsd:complexType>
	<!-- Тип для описания информации деятельности по патентам -->
    <xsd:complexType name="F4patType">
        <xsd:annotation>
            <xsd:documentation>Деятельность по патентам</xsd:documentation>
        </xsd:annotation>
        <xsd:attribute name="NUM" use="required">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="13"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="ID_WPAT" use="required">
            <xsd:simpleType>
                <xsd:restriction base="xsd:integer">
                    <xsd:totalDigits value="3"/>
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="PATDATE" type="xsd:date" use="required"/>
        <xsd:attribute name="PATDATEF" type="xsd:date" use="required"/>
        <xsd:attribute name="S" type="SumType" use="optional"/>
        <xsd:attribute name="S1" type="SumType" use="optional"/>
        <xsd:attribute name="S2" type="SumType" use="optional"/>
        <xsd:attribute name="S3" type="SumType" use="optional"/>
    </xsd:complexType>
    <!-- Тип для описания допустимого вещественного числа -->
    <xsd:simpleType name="SumType">
        <xsd:restriction base="xsd:decimal">
            <xsd:totalDigits value="15"/>
            <xsd:fractionDigits value="2"/>
        </xsd:restriction>
    </xsd:simpleType>
    <!-- Тип для описания допустимого целого числа -->
    <xsd:simpleType name="NumType">
        <xsd:restriction base="xsd:integer">
            <xsd:totalDigits value="6"/>
        </xsd:restriction>
    </xsd:simpleType>
</xsd:schema>
