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

Материал из Фабиус wiki
Перейти к: навигация, поиск
м
м
 
(не показаны 2 промежуточные версии этого же участника)
Строка 11: Строка 11:
 
   xmlns:pref          = "http://fsrar.ru/WEGAIS/ProductRef_v2"
 
   xmlns:pref          = "http://fsrar.ru/WEGAIS/ProductRef_v2"
 
   xmlns:iab            = "http://fsrar.ru/WEGAIS/ActInventoryF1F2Info">
 
   xmlns:iab            = "http://fsrar.ru/WEGAIS/ActInventoryF1F2Info">
   <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/CommonEnum" schemaLocation = "EGCommonEnum.xsd"/>
+
   <xs:import namespace = "http://fsrar.ru/WEGAIS/CommonEnum"           schemaLocation = "EGCommonEnum.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:import namespace = "http://fsrar.ru/WEGAIS/ActInventoryF1F2Info" schemaLocation = "ActInventoryF1F2Info.xsd"/>
 
   <xs:import namespace = "http://fsrar.ru/WEGAIS/ActInventoryF1F2Info" schemaLocation = "ActInventoryF1F2Info.xsd"/>
  
 
   <xs:complexType name = "ActChargeOnType_v2">
 
   <xs:complexType name = "ActChargeOnType_v2">
    <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: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:annotation>
          <xs:documentation>Идентификатор документа(клиентский)</xs:documentation>
+
        <xs:documentation>Номер документа</xs:documentation>
 
         </xs:annotation>
 
         </xs:annotation>
      </xs:element>
+
      </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 = "ActDate" type = "c:DateNoTime" minOccurs = "1" maxOccurs = "1">
+
              <xs:annotation>
+
                <xs:documentation>Дата акта постановки на баланс</xs:documentation>
+
              </xs:annotation>
+
            </xs:element>
+
  
            <xs:element name = "TypeChargeOn" type = "ce:TypeChargeOn" minOccurs = "1" maxOccurs = "1">
+
      <xs:element name = "ActDate" type = "c:DateNoTime" minOccurs = "1" maxOccurs = "1">
              <xs:annotation>
+
                <xs:documentation>Причина постановки на баланс.</xs:documentation>
+
              </xs:annotation>
+
            </xs:element>
+
            <xs:element name = "ActWriteOff" type = "c:NoEmptyString50" minOccurs = "0" maxOccurs = "1">
+
              <xs:annotation>
+
                <xs:documentation>Регистрационный номер акта списания по типу "Пересортица".
+
                Обязательно для заполнения для типа постановки на баланс "Пересортица".</xs:documentation>
+
              </xs:annotation>
+
            </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 = "500"/>
+
                </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:ActChargeOnPositionType" 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 = "ActChargeOnPositionType">
+
    <xs:annotation>
+
      <xs:documentation>Позиция</xs:documentation>
+
    </xs:annotation>
+
    <xs:all>
+
      <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 = "Product" type = "pref:ProductInfo_v2" minOccurs = "1" maxOccurs = "1">
+
 
 +
      <xs:element name = "TypeChargeOn" type = "ce:TypeChargeOn" 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 = "Quantity" type = "c:PositiveDecimalType" minOccurs = "1" maxOccurs = "1">
+
 
 +
      <xs:element name = "ActWriteOff" 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 = "alcPercent" type = "c:AlcPercentType" nillable = "false" minOccurs = "0" 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 = "500"/>
 +
        </xs:restriction>
 +
        </xs:simpleType>
 +
      </xs:element>
 +
       </xs:all>
 +
    </xs:complexType>
 +
    </xs:element>
  
     <xs:element name = "alcPercentMin" type = "c:AlcPercentType" nillable = "false" minOccurs = "0" maxOccurs = "1">
+
     <xs:element name = "Content">
 +
    <xs:complexType>
 +
      <xs:sequence>
 +
      <xs:element name = "Position" type = "ns:ActChargeOnPositionType" minOccurs = "1" maxOccurs = "unbounded">
 
         <xs:annotation>
 
         <xs:annotation>
          <xs:documentation>Минимальное содержание этилового спирта, %</xs:documentation>
+
        <xs:documentation>Содержимое акта должно содержать 1 и более позиций</xs:documentation>
 
         </xs:annotation>
 
         </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 = "ActChargeOnPositionType">
 +
  <xs:annotation>
 +
    <xs:documentation>Позиция</xs:documentation>
 +
  </xs:annotation>
 +
  <xs:all>
 +
    <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 = "Product" type = "pref:ProductInfo_v2" 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>
  

Текущая версия на 08:25, 14 апреля 2021

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

<xs:schema version = "1.0"
 xmlns:ns          = "http://fsrar.ru/WEGAIS/ActChargeOn_v2"
 targetNamespace   = "http://fsrar.ru/WEGAIS/ActChargeOn_v2"
 xmlns:xs          = "http://www.w3.org/2001/XMLSchema"
 elementFormDefault = "qualified"
 attributeFormDefault = "unqualified"
 xmlns:c              = "http://fsrar.ru/WEGAIS/Common"
 xmlns:ce             = "http://fsrar.ru/WEGAIS/CommonEnum"
 xmlns:oref           = "http://fsrar.ru/WEGAIS/ClientRef_v2"
 xmlns:pref           = "http://fsrar.ru/WEGAIS/ProductRef_v2"
 xmlns:iab            = "http://fsrar.ru/WEGAIS/ActInventoryF1F2Info">
 <xs:import namespace = "http://fsrar.ru/WEGAIS/Common"               schemaLocation = "EGCommon.xsd"/>
 <xs:import namespace = "http://fsrar.ru/WEGAIS/CommonEnum"           schemaLocation = "EGCommonEnum.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/ActInventoryF1F2Info" schemaLocation = "ActInventoryF1F2Info.xsd"/>
 <xs:complexType name = "ActChargeOnType_v2">
  <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 = "ActDate" type = "c:DateNoTime" minOccurs = "1" maxOccurs = "1">
       <xs:annotation>
        <xs:documentation>Дата акта постановки на баланс</xs:documentation>
       </xs:annotation>
      </xs:element>
      <xs:element name = "TypeChargeOn" type = "ce:TypeChargeOn" minOccurs = "1" maxOccurs = "1">
       <xs:annotation>
        <xs:documentation>Причина постановки на баланс.</xs:documentation>
       </xs:annotation>
      </xs:element>
      <xs:element name = "ActWriteOff" type = "c:NoEmptyString50" minOccurs = "0" maxOccurs = "1">
       <xs:annotation>
        <xs:documentation>
         Регистрационный номер акта списания по типу "Пересортица". 
         Обязательно для заполнения для типа постановки на баланс "Пересортица".
        </xs:documentation>
       </xs:annotation>
      </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 = "500"/>
        </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:ActChargeOnPositionType" 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 = "ActChargeOnPositionType">
  <xs:annotation>
   <xs:documentation>Позиция</xs:documentation>
  </xs:annotation>
  <xs:all>
   <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 = "Product" type = "pref:ProductInfo_v2" 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 = "InformF1F2" nillable = "false" minOccurs = "1" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Справки 1 и 2</xs:documentation>
    </xs:annotation>
    <xs:complexType>
     <xs:sequence>
      <xs:element name = "InformF1F2Reg" type = "ns:InformF1F2RegType" nillable = "false" minOccurs = "1" maxOccurs = "1">
       <xs:annotation>
        <xs:documentation>Справка 1 </xs:documentation>
       </xs:annotation>
      </xs:element>
     </xs:sequence>
    </xs:complexType>
   </xs:element>
     
   <xs:element name = "MarkCodeInfo" type = "ce:MarkCodeInfoType" minOccurs = "0" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Перечень считанных кодов марок</xs:documentation>
    </xs:annotation>
   </xs:element>
  </xs:all>
 </xs:complexType>
 
 <xs:complexType name = "InformF1F2RegType">
  <xs:annotation>
   <xs:documentation>Справки 1 и 2 документы</xs:documentation>
  </xs:annotation>
  <xs:sequence>
   <xs:element name = "InformF1" type = "iab:InformF1RegType" nillable = "false" minOccurs = "1" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Cправка 1</xs:documentation>
    </xs:annotation>
   </xs:element>
  </xs:sequence>
 </xs:complexType>
</xs:schema>

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

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