RepImportedProduct v3.xsd — различия между версиями

Материал из Фабиус wiki
Перейти к: навигация, поиск
м
м
 
(не показана одна промежуточная версия этого же участника)
Строка 1: Строка 1:
<?xml version="1.0" encoding="utf-8"?>
+
<?xml version = "1.0" encoding = "utf-8"?>
  <xs:schema version   = "1.0"
+
  <xs:schema version = "1.0"
   xmlns:ns             = "http://fsrar.ru/WEGAIS/RepImportedProduct_v3"
+
   xmlns:ns         = "http://fsrar.ru/WEGAIS/RepImportedProduct_v3"
   targetNamespace     = "http://fsrar.ru/WEGAIS/RepImportedProduct_v3"
+
   targetNamespace   = "http://fsrar.ru/WEGAIS/RepImportedProduct_v3"
   xmlns:xs             = "http://www.w3.org/2001/XMLSchema"
+
   xmlns:xs         = "http://www.w3.org/2001/XMLSchema"
   elementFormDefault   = "qualified"
+
   elementFormDefault = "qualified"
 
   attributeFormDefault = "unqualified"
 
   attributeFormDefault = "unqualified"
 
   xmlns:c              = "http://fsrar.ru/WEGAIS/Common"
 
   xmlns:c              = "http://fsrar.ru/WEGAIS/Common"
Строка 10: Строка 10:
 
   xmlns:oref          = "http://fsrar.ru/WEGAIS/ClientRef_v2"
 
   xmlns:oref          = "http://fsrar.ru/WEGAIS/ClientRef_v2"
 
   xmlns:pref          = "http://fsrar.ru/WEGAIS/ProductRef_v2">
 
   xmlns:pref          = "http://fsrar.ru/WEGAIS/ProductRef_v2">
   <xs:import namespace = "http://fsrar.ru/WEGAIS/Common" schemaLocation="EGCommon.xsd"/>
+
   <xs:import namespace = "http://fsrar.ru/WEGAIS/Common"       schemaLocation = "EGCommon.xsd"/>
   <xs:import namespace = "http://fsrar.ru/WEGAIS/CommonV3" schemaLocation="EGCommonV3.xsd"/>
+
   <xs:import namespace = "http://fsrar.ru/WEGAIS/CommonV3"     schemaLocation = "EGCommonV3.xsd"/>
   <xs:import namespace = "http://fsrar.ru/WEGAIS/ClientRef_v2" schemaLocation="ClientRef_v2.xsd"/>
+
   <xs:import namespace = "http://fsrar.ru/WEGAIS/ClientRef_v2" schemaLocation = "ClientRef_v2.xsd"/>
   <xs:import namespace = "http://fsrar.ru/WEGAIS/ProductRef_v2" schemaLocation="ProductRef_v2.xsd"/>
+
   <xs:import namespace = "http://fsrar.ru/WEGAIS/ProductRef_v2" schemaLocation = "ProductRef_v2.xsd"/>
  
<xs:complexType name="RepImportedType_v3">
+
  <xs:complexType name = "RepImportedType_v3">
  <xs:annotation>
+
  <xs:annotation>
  <xs:documentation>Отчет об импорте продукции</xs:documentation>
+
    <xs:documentation>Отчет об импорте продукции</xs:documentation>
  </xs:annotation>
+
   </xs:annotation>
  <xs:sequence>
+
   <xs:sequence>
   <xs:element name="Identity" type="c:IdentityType" nillable="false" minOccurs="0" maxOccurs="1">
+
    <xs:annotation>
+
    <xs:documentation>Идентификатор отчета (клиентский, к заполнению необязательный)</xs:documentation>
+
    </xs:annotation>
+
   </xs:element>
+
  
  <xs:element name="Header">
+
    <xs:element name = "Identity" type = "c:IdentityType" nillable = "false" minOccurs = "0" maxOccurs = "1">
    <xs:complexType>
+
    <xs:annotation>
     <xs:all>
+
      <xs:documentation>Идентификатор отчета ( клиентский, к заполнению необязательный )</xs:documentation>
 +
     </xs:annotation>
 +
    </xs:element>
  
      <xs:element name="NUMBER" type="c:NoEmptyString50" minOccurs="1" maxOccurs="1">
+
    <xs:element name = "Header">
      <xs:annotation>
+
    <xs:complexType>
        <xs:documentation>Номер документа</xs:documentation>
+
       <xs:all>
      </xs:annotation>
+
       </xs:element>
+
  
      <xs:element name="Date" type="c:DateNoTime" minOccurs="1" maxOccurs="1">
+
      <xs:element name = "NUMBER" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1">
      <xs:annotation>
+
        <xs:annotation>
        <xs:documentation>Дата составления</xs:documentation>
+
        <xs:documentation>Номер документа</xs:documentation>
      </xs:annotation>
+
        </xs:annotation>
      </xs:element>
+
      </xs:element>
  
      <xs:element name="ImportedDate" type="c:DateNoTime" nillable="false" minOccurs="1" maxOccurs="1">
+
      <xs:element name = "Date" type = "c:DateNoTime" minOccurs = "1" maxOccurs = "1">
      <xs:annotation>
+
        <xs:annotation>
        <xs:documentation>Дата ввоза</xs:documentation>
+
        <xs:documentation>Дата составления</xs:documentation>
      </xs:annotation>
+
        </xs:annotation>
      </xs:element>
+
      </xs:element>
  
      <xs:element name="Importer" type="oref:OrgInfoRus_v2" minOccurs="1" maxOccurs="1">
+
      <xs:element name = "ImportedDate" type = "c:DateNoTime" nillable = "false" minOccurs = "1" maxOccurs = "1">
      <xs:annotation>
+
        <xs:annotation>
        <xs:documentation>Импортрер</xs:documentation>
+
        <xs:documentation>Дата ввоза</xs:documentation>
      </xs:annotation>
+
        </xs:annotation>
      </xs:element>
+
      </xs:element>
 +
 
 +
      <xs:element name = "Importer" type = "oref:OrgInfoRus_v2" minOccurs = "1" maxOccurs = "1">
 +
        <xs:annotation>
 +
        <xs:documentation>Импортрер</xs:documentation>
 +
        </xs:annotation>
 +
      </xs:element>
 
              
 
              
      <xs:element name="Supplier" type="oref:OrgInfoForeign_v2" minOccurs="1" maxOccurs="1">
+
      <xs:element name = "Supplier" type = "oref:OrgInfoForeign_v2" minOccurs = "1" maxOccurs = "1">
       <xs:annotation>
+
        <xs:annotation>
         <xs:documentation>Поставщик</xs:documentation>
+
        <xs:documentation>Поставщик</xs:documentation>
       </xs:annotation>
+
        </xs:annotation>
      </xs:element>
+
       </xs:element>
 +
 
 +
      <xs:element name = "GTDNUMBER" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1">
 +
        <xs:annotation>
 +
        <xs:documentation>Номер ГТД</xs:documentation>
 +
         </xs:annotation>
 +
      </xs:element>
 +
 
 +
      <xs:element name = "GTDDate" type = "c:DateNoTime" minOccurs = "1" maxOccurs = "1">
 +
        <xs:annotation>
 +
        <xs:documentation>Дата ГТД</xs:documentation>
 +
        </xs:annotation>
 +
       </xs:element>
 +
 
 +
      <xs:element name = "ContractNUMBER" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1">
 +
        <xs:annotation>
 +
        <xs:documentation>Номер контракта</xs:documentation>
 +
        </xs:annotation>
 +
      </xs:element>
 +
 
 +
      <xs:element name = "ContractDate" type = "c:DateNoTime" minOccurs = "1" maxOccurs = "1">
 +
        <xs:annotation>
 +
        <xs:documentation>Дата контракта</xs:documentation>
 +
        </xs:annotation>
 +
      </xs:element>
 +
 
 +
      <xs:element name = "Country" minOccurs = "1" maxOccurs = "1">
 +
        <xs:annotation>
 +
        <xs:documentation>Страна, из которой производится импорт продукции</xs:documentation>
 +
        </xs:annotation>
 +
        <xs:simpleType>
 +
        <xs:restriction base = "xs:string">
 +
          <xs:pattern value = "[0-9][0-9][0-9]"/>
 +
        </xs:restriction>
 +
        </xs:simpleType>
 +
      </xs:element>
  
      <xs:element name="GTDNUMBER" type="c:NoEmptyString50" minOccurs="1" maxOccurs="1">
+
      <xs:element name = "Note" minOccurs = "0" maxOccurs = "1">
      <xs:annotation>
+
        <xs:annotation>
        <xs:documentation>Номер ГТД</xs:documentation>
+
        <xs:documentation>Примечание к документу о импорте</xs:documentation>
      </xs:annotation>
+
        </xs:annotation>
      </xs:element>
+
        <xs:simpleType>
 +
        <xs:restriction base = "xs:string">
 +
          <xs:maxLength value = "200"/>
 +
        </xs:restriction>
 +
        </xs:simpleType>
 +
      </xs:element>
  
       <xs:element name="GTDDate" type="c:DateNoTime" minOccurs="1" maxOccurs="1">
+
       </xs:all>
      <xs:annotation>
+
    </xs:complexType>
        <xs:documentation>Дата ГТД</xs:documentation>
+
    </xs:element>
      </xs:annotation>
+
      </xs:element>
+
  
      <xs:element name="ContractNUMBER" type="c:NoEmptyString50" minOccurs="1" maxOccurs="1">
+
    <xs:element name = "Content">
      <xs:annotation>
+
    <xs:complexType>
        <xs:documentation>Номер контракта</xs:documentation>
+
       <xs:sequence>
      </xs:annotation>
+
       </xs:element>
+
  
      <xs:element name="ContractDate" type="c:DateNoTime" minOccurs="1" maxOccurs="1">
+
      <xs:element name = "Position" type = "ns:PositionType" minOccurs = "1" maxOccurs = "unbounded">
      <xs:annotation>
+
        <xs:annotation>
        <xs:documentation>Дата контракта</xs:documentation>
+
        <xs:documentation>Содержимое отчета о импорте должно содержать 1 и более позиций</xs:documentation>
      </xs:annotation>
+
        </xs:annotation>
      </xs:element>
+
      </xs:element>
  
       <xs:element name="Country" minOccurs="1" maxOccurs="1">
+
       </xs:sequence>
      <xs:annotation>
+
    </xs:complexType>
        <xs:documentation>Страна, из которой производится импорт продукции</xs:documentation>
+
    <xs:unique name = "PosUn">
      </xs:annotation>
+
      <xs:selector xpath = "ns:Position"/>
      <xs:simpleType>
+
      <xs:field xpath = "ns:Identity"/>
        <xs:restriction base="xs:string">
+
    </xs:unique>
        <xs:pattern value="[0-9][0-9][0-9]"/>
+
    </xs:element>
        </xs:restriction>
+
      </xs:simpleType>
+
      </xs:element>
+
  
      <xs:element name="Note" minOccurs="0" maxOccurs="1">
+
  </xs:sequence>
      <xs:annotation>
+
  </xs:complexType>
        <xs:documentation>Примечание к документу о импорте</xs:documentation>
+
      </xs:annotation>
+
      <xs:simpleType>
+
        <xs:restriction base="xs:string">
+
        <xs:maxLength value="200"/>
+
        </xs:restriction>
+
      </xs:simpleType>
+
      </xs:element>
+
    </xs:all>
+
    </xs:complexType>
+
  </xs:element>
+
  
  <xs:element name="Content">
+
  <xs:complexType name = "PositionType">
     <xs:complexType>
+
  <xs:annotation>
    <xs:sequence>
+
     <xs:documentation>Позиция</xs:documentation>
      <xs:element name="Position" type="ns:PositionType" minOccurs="1" maxOccurs="unbounded">
+
  </xs:annotation>
      <xs:annotation>
+
  <xs:all>
        <xs:documentation>Содержимое отчета о импорте должно содержать 1 и более позиций</xs:documentation>
+
    <xs:element name = "ProductCode" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1">
      </xs:annotation>
+
    <xs:annotation>
      </xs:element>
+
      <xs:documentation>Регистрационный код о продукции</xs:documentation>
    </xs:sequence>
+
    </xs:annotation>
     </xs:complexType>
+
     </xs:element>
  
     <xs:unique name="PosUn">
+
     <xs:element name = "Quantity" type = "c:PositiveDecimalType" minOccurs = "1" maxOccurs = "1">
    <xs:selector xpath="ns:Position"/>
+
     <xs:annotation>
    <xs:field xpath="ns:Identity"/>
+
      <xs:documentation>Количество</xs:documentation>
    </xs:unique>
+
    </xs:annotation>
    <xs:unique name="MarkUn">
+
    </xs:element>
     <xs:selector xpath="ns:Position/ns:MarkInfo/cee:amc"/>
+
    <xs:field xpath="."/>
+
    </xs:unique>
+
  </xs:element>
+
  </xs:sequence>
+
</xs:complexType>
+
  
<xs:complexType name="PositionType">
+
    <xs:element name = "alcPercent" type = "c:AlcPercentType" nillable = "false" minOccurs = "0" maxOccurs = "1">
  <xs:annotation>
+
    <xs:annotation>
  <xs:documentation>Позиция</xs:documentation>
+
      <xs:documentation>Содержание этилового спирта, %</xs:documentation>
  </xs:annotation>
+
    </xs:annotation>
  <xs:all>
+
    </xs:element>
  <xs:element name="ProductCode" type="c:NoEmptyString50" minOccurs="1" maxOccurs="1">
+
    <xs:annotation>
+
    <xs:documentation>Регистрационный код о продукции</xs:documentation>
+
    </xs:annotation>
+
  </xs:element>
+
  
  <xs:element name="Quantity" type="c:PositiveDecimalType" minOccurs="1" maxOccurs="1">
+
    <xs:element name = "alcPercentMin" type = "c:AlcPercentType" nillable = "false" minOccurs = "0" maxOccurs = "1">
    <xs:annotation>
+
    <xs:annotation>
    <xs:documentation>Количество</xs:documentation>
+
      <xs:documentation>Минимальное содержание этилового спирта, %</xs:documentation>
    </xs:annotation>
+
    </xs:annotation>
  </xs:element>
+
    </xs:element>
  
  <xs:element name="alcPercent" type="c:AlcPercentType" nillable="false" minOccurs="0" maxOccurs="1">
+
    <xs:element name = "alcPercentMax" type = "c:AlcPercentType" nillable = "false" minOccurs = "0" maxOccurs = "1">
    <xs:annotation>
+
    <xs:annotation>
    <xs:documentation>Содержание этилового спирта, %</xs:documentation>
+
      <xs:documentation>Максимальное содержание этилового спирта, %</xs:documentation>
    </xs:annotation>
+
    </xs:annotation>
  </xs:element>
+
    </xs:element>
  
  <xs:element name="alcPercentMin" type="c:AlcPercentType" nillable="false" minOccurs="0" maxOccurs="1">
+
    <xs:element name = "Party" type = "c:NoEmptyString50" minOccurs = "0" maxOccurs = "1">
    <xs:annotation>
+
    <xs:annotation>
    <xs:documentation>Минимальное содержание этилового спирта, %</xs:documentation>
+
      <xs:documentation>Номер партии</xs:documentation>
    </xs:annotation>
+
    </xs:annotation>
  </xs:element>
+
    </xs:element>
  
  <xs:element name="alcPercentMax" type="c:AlcPercentType" nillable="false" minOccurs="0" maxOccurs="1">
+
    <xs:element name = "Identity" type = "c:IdentityType" nillable = "false" minOccurs = "1" maxOccurs = "1">
    <xs:annotation>
+
    <xs:annotation>
    <xs:documentation>Максимальное содержание этилового спирта, %</xs:documentation>
+
      <xs:documentation>Идентификатор позиции внутри отчета по импорту</xs:documentation>
    </xs:annotation>
+
    </xs:annotation>
  </xs:element>
+
    </xs:element>
  
  <xs:element name="Party" type="c:NoEmptyString50" minOccurs="0" maxOccurs="1">
+
    <xs:element name = "Comment1" minOccurs = "0" maxOccurs = "1">
    <xs:annotation>
+
    <xs:annotation>
    <xs:documentation>Номер партии</xs:documentation>
+
      <xs:documentation>Коментарий №1 к позиции по импорту</xs:documentation>
    </xs:annotation>
+
    </xs:annotation>
  </xs:element>
+
    <xs:simpleType>
 +
      <xs:restriction base = "xs:string">
 +
      <xs:maxLength value = "200"/>
 +
      </xs:restriction>
 +
    </xs:simpleType>
 +
    </xs:element>
  
  <xs:element name="Identity" type="c:IdentityType" nillable="false" minOccurs="1" maxOccurs="1">
+
    <xs:element name = "Comment2" minOccurs = "0" maxOccurs = "1">
    <xs:annotation>
+
    <xs:annotation>
    <xs:documentation>Идентификатор позиции внутри отчета по импорту</xs:documentation>
+
      <xs:documentation>Коментарий №2 к позиции по импорту</xs:documentation>
    </xs:annotation>
+
    </xs:annotation>
  </xs:element>
+
    <xs:simpleType>
 +
      <xs:restriction base = "xs:string">
 +
      <xs:maxLength value = "200"/>
 +
      </xs:restriction>
 +
    </xs:simpleType>
 +
    </xs:element>
  
  <xs:element name="Comment1" minOccurs="0" maxOccurs="1">
+
    <xs:element name = "Comment3" minOccurs = "0" maxOccurs = "1">
    <xs:annotation>
+
    <xs:annotation>
    <xs:documentation>Комментарий №1 к позиции по импорту</xs:documentation>
+
      <xs:documentation>Коментарий №3 к позиции по импорту</xs:documentation>
    </xs:annotation>
+
    </xs:annotation>
    <xs:simpleType>
+
    <xs:simpleType>
    <xs:restriction base="xs:string">
+
      <xs:restriction base = "xs:string">
      <xs:maxLength value="200"/>
+
      <xs:maxLength value = "200"/>
    </xs:restriction>
+
      </xs:restriction>
    </xs:simpleType>
+
    </xs:simpleType>
  </xs:element>
+
    </xs:element>
  
  <xs:element name="Comment2" minOccurs="0" maxOccurs="1">
+
    <xs:element name = "MarkInfo" type = "cee:AMCforDocType" nillable = "false" minOccurs = "0" maxOccurs = "1">
    <xs:annotation>
+
    <xs:annotation>
    <xs:documentation>Комментарий №2 к позиции по импорту</xs:documentation>
+
      <xs:documentation>Нанесённые диапазоны марок</xs:documentation>
    </xs:annotation>
+
    </xs:annotation>
     <xs:simpleType>
+
     </xs:element>
    <xs:restriction base="xs:string">
+
      <xs:maxLength value="200"/>
+
    </xs:restriction>
+
    </xs:simpleType>
+
  </xs:element>
+
  
   <xs:element name="Comment3" minOccurs="0" maxOccurs="1">
+
   </xs:all>
    <xs:annotation>
+
  </xs:complexType>
    <xs:documentation>Комментарий №3 к позиции по импорту</xs:documentation>
+
</xs:schema>
    </xs:annotation>
+
    <xs:simpleType>
+
    <xs:restriction base="xs:string">
+
      <xs:maxLength value="200"/>
+
    </xs:restriction>
+
    </xs:simpleType>
+
  </xs:element>
+
  
  <xs:element name="MarkInfo" type="cee:AMCforDocType" nillable="false" minOccurs="0" maxOccurs="1">
+
= Смотрите также =  
    <xs:annotation>
+
[[Документы и их типы для отправки ( версия 4 )]]
    <xs:documentation>Нанесённые диапазоны марок</xs:documentation>
+
    </xs:annotation>
+
  </xs:element>
+
  </xs:all>
+
</xs:complexType>
+
</xs:schema>
+

Текущая версия на 15:18, 27 апреля 2021

<?xml version = "1.0" encoding = "utf-8"?>

<xs:schema version = "1.0"
 xmlns:ns          = "http://fsrar.ru/WEGAIS/RepImportedProduct_v3"
 targetNamespace   = "http://fsrar.ru/WEGAIS/RepImportedProduct_v3"
 xmlns:xs          = "http://www.w3.org/2001/XMLSchema"
 elementFormDefault = "qualified"
 attributeFormDefault = "unqualified"
 xmlns:c              = "http://fsrar.ru/WEGAIS/Common"
 xmlns:cee            = "http://fsrar.ru/WEGAIS/CommonV3"
 xmlns:oref           = "http://fsrar.ru/WEGAIS/ClientRef_v2"
 xmlns:pref           = "http://fsrar.ru/WEGAIS/ProductRef_v2">
 <xs:import namespace = "http://fsrar.ru/WEGAIS/Common"        schemaLocation = "EGCommon.xsd"/>
 <xs:import namespace = "http://fsrar.ru/WEGAIS/CommonV3"      schemaLocation = "EGCommonV3.xsd"/>
 <xs:import namespace = "http://fsrar.ru/WEGAIS/ClientRef_v2"  schemaLocation = "ClientRef_v2.xsd"/>
 <xs:import namespace = "http://fsrar.ru/WEGAIS/ProductRef_v2" schemaLocation = "ProductRef_v2.xsd"/>
 <xs:complexType name = "RepImportedType_v3">
  <xs:annotation>
   <xs:documentation>Отчет об импорте продукции</xs:documentation>
  </xs:annotation>
  <xs:sequence>
   <xs:element name = "Identity" type = "c:IdentityType" nillable = "false" minOccurs = "0" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Идентификатор отчета ( клиентский, к заполнению необязательный )</xs:documentation>
    </xs:annotation>
   </xs:element>
   <xs:element name = "Header">
    <xs:complexType>
     <xs:all>
      <xs:element name = "NUMBER" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1">
       <xs:annotation>
        <xs:documentation>Номер документа</xs:documentation>
       </xs:annotation>
      </xs:element>
      <xs:element name = "Date" type = "c:DateNoTime" minOccurs = "1" maxOccurs = "1">
       <xs:annotation>
        <xs:documentation>Дата составления</xs:documentation>
       </xs:annotation>
      </xs:element>
      <xs:element name = "ImportedDate" type = "c:DateNoTime" nillable = "false" minOccurs = "1" maxOccurs = "1">
       <xs:annotation>
        <xs:documentation>Дата ввоза</xs:documentation>
       </xs:annotation>
      </xs:element>
      <xs:element name = "Importer" type = "oref:OrgInfoRus_v2" minOccurs = "1" maxOccurs = "1">
       <xs:annotation>
        <xs:documentation>Импортрер</xs:documentation>
       </xs:annotation>
      </xs:element>
           
      <xs:element name = "Supplier" type = "oref:OrgInfoForeign_v2" minOccurs = "1" maxOccurs = "1">
       <xs:annotation>
        <xs:documentation>Поставщик</xs:documentation>
       </xs:annotation>
      </xs:element>
      <xs:element name = "GTDNUMBER" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1">
       <xs:annotation>
        <xs:documentation>Номер ГТД</xs:documentation>
       </xs:annotation>
      </xs:element>
      <xs:element name = "GTDDate" type = "c:DateNoTime" minOccurs = "1" maxOccurs = "1">
       <xs:annotation>
        <xs:documentation>Дата ГТД</xs:documentation>
       </xs:annotation>
      </xs:element>
      <xs:element name = "ContractNUMBER" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1">
       <xs:annotation>
        <xs:documentation>Номер контракта</xs:documentation>
       </xs:annotation>
      </xs:element>
      <xs:element name = "ContractDate" type = "c:DateNoTime" minOccurs = "1" maxOccurs = "1">
       <xs:annotation>
        <xs:documentation>Дата контракта</xs:documentation>
       </xs:annotation>
      </xs:element>
      <xs:element name = "Country" minOccurs = "1" maxOccurs = "1">
       <xs:annotation>
        <xs:documentation>Страна, из которой производится импорт продукции</xs:documentation>
       </xs:annotation>
       <xs:simpleType>
        <xs:restriction base = "xs:string">
         <xs:pattern value = "[0-9][0-9][0-9]"/>
        </xs:restriction>
       </xs:simpleType>
      </xs:element>
      <xs:element name = "Note" minOccurs = "0" maxOccurs = "1">
       <xs:annotation>
        <xs:documentation>Примечание к документу о импорте</xs:documentation>
       </xs:annotation>
       <xs:simpleType>
        <xs:restriction base = "xs:string">
         <xs:maxLength value = "200"/>
        </xs:restriction>
       </xs:simpleType>
      </xs:element>
     </xs:all>
    </xs:complexType>
   </xs:element>
   <xs:element name = "Content">
    <xs:complexType>
     <xs:sequence>
      <xs:element name = "Position" type = "ns:PositionType" minOccurs = "1" maxOccurs = "unbounded">
       <xs:annotation>
        <xs:documentation>Содержимое отчета о импорте должно содержать 1 и более позиций</xs:documentation>
       </xs:annotation>
      </xs:element>
     </xs:sequence>
    </xs:complexType>
    <xs:unique name = "PosUn">
     <xs:selector xpath = "ns:Position"/>
     <xs:field xpath = "ns:Identity"/>
    </xs:unique>
   </xs:element>
  </xs:sequence>
 </xs:complexType>
 <xs:complexType name = "PositionType">
  <xs:annotation>
   <xs:documentation>Позиция</xs:documentation>
  </xs:annotation>
  <xs:all>
   <xs:element name = "ProductCode" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Регистрационный код о продукции</xs:documentation>
    </xs:annotation>
   </xs:element>
   <xs:element name = "Quantity" type = "c:PositiveDecimalType" minOccurs = "1" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Количество</xs:documentation>
    </xs:annotation>
   </xs:element>
   <xs:element name = "alcPercent" type = "c:AlcPercentType" nillable = "false" minOccurs = "0" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Содержание этилового спирта, %</xs:documentation>
    </xs:annotation>
   </xs:element>
   <xs:element name = "alcPercentMin" type = "c:AlcPercentType" nillable = "false" minOccurs = "0" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Минимальное содержание этилового спирта, %</xs:documentation>
    </xs:annotation>
   </xs:element>
   <xs:element name = "alcPercentMax" type = "c:AlcPercentType" nillable = "false" minOccurs = "0" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Максимальное содержание этилового спирта, %</xs:documentation>
    </xs:annotation>
   </xs:element>
   <xs:element name = "Party" type = "c:NoEmptyString50" minOccurs = "0" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Номер партии</xs:documentation>
    </xs:annotation>
   </xs:element>
   <xs:element name = "Identity" type = "c:IdentityType" nillable = "false" minOccurs = "1" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Идентификатор позиции внутри отчета по импорту</xs:documentation>
    </xs:annotation>
   </xs:element>
   <xs:element name = "Comment1" minOccurs = "0" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Коментарий №1 к позиции по импорту</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
     <xs:restriction base = "xs:string">
      <xs:maxLength value = "200"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:element>
   <xs:element name = "Comment2" minOccurs = "0" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Коментарий №2 к позиции по импорту</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
     <xs:restriction base = "xs:string">
      <xs:maxLength value = "200"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:element>
   <xs:element name = "Comment3" minOccurs = "0" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Коментарий №3 к позиции по импорту</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
     <xs:restriction base = "xs:string">
      <xs:maxLength value = "200"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:element>
   <xs:element name = "MarkInfo" type = "cee:AMCforDocType" nillable = "false" minOccurs = "0" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Нанесённые диапазоны марок</xs:documentation>
    </xs:annotation>
   </xs:element>
  </xs:all>
 </xs:complexType>
</xs:schema>

Смотрите также

Документы и их типы для отправки ( версия 4 )