ReplyHistoryShop.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:xs = "http://www.w3.org/2001/XMLSchema"
+
  xmlns:xs         = "http://www.w3.org/2001/XMLSchema"
          xmlns:ns = "http://fsrar.ru/WEGAIS/ReplyHistoryShop"
+
  xmlns:ns         = "http://fsrar.ru/WEGAIS/ReplyHistoryShop"
          targetNamespace = "http://fsrar.ru/WEGAIS/ReplyHistoryShop"
+
  targetNamespace   = "http://fsrar.ru/WEGAIS/ReplyHistoryShop"
 
+
  elementFormDefault = "qualified"
          elementFormDefault = "qualified"
+
  attributeFormDefault = "unqualified"
          attributeFormDefault = "unqualified"
+
  xmlns:c             = "http://fsrar.ru/WEGAIS/Common">
            xmlns:c = "http://fsrar.ru/WEGAIS/Common"
+
          >
+
 
   <xs:import namespace = "http://fsrar.ru/WEGAIS/Common" schemaLocation = "EGCommon.xsd"/>
 
   <xs:import namespace = "http://fsrar.ru/WEGAIS/Common" schemaLocation = "EGCommon.xsd"/>
  
 
   <xs:complexType name = "ReplyHistoryTransferShop">
 
   <xs:complexType name = "ReplyHistoryTransferShop">
    <xs:annotation>
+
  <xs:annotation>
      <xs:documentation>Ответ на запрос о пермещении между регистрами 1 и 2</xs:documentation>
+
    <xs:documentation>'''Ответ на запрос о перемещении''' между регистрами 1 и 2</xs:documentation>
    </xs:annotation>
+
  </xs:annotation>
 +
  <xs:all>
  
     <xs:all>
+
     <xs:element name = "ReplyDate" type = "c:DateWTime" minOccurs = "1" maxOccurs = "1">
      <xs:element name = "ReplyDate" type = "c:DateWTime" 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 = "monthReport" type = "c:MonthType" minOccurs = "1" maxOccurs = "1">
+
        <xs:annotation>
+
          <xs:documentation>Отчетный месяц</xs:documentation>
+
        </xs:annotation>
+
      </xs:element>
+
      <xs:element name = "yearReport" type = "c:YearType" minOccurs = "1" maxOccurs = "1">
+
        <xs:annotation>
+
          <xs:documentation>Отчетный год</xs:documentation>
+
        </xs:annotation>
+
      </xs:element>
+
      <xs:element name = "AlcCode" nillable = "false" minOccurs = "1" maxOccurs = "1">
+
        <xs:annotation>
+
          <xs:documentation>Код продукции согласно ЕГАИС</xs:documentation>
+
        </xs:annotation>
+
        <xs:simpleType>
+
          <xs:restriction base = "c:NoEmptyString">
+
            <xs:maxLength value = "64"/>
+
          </xs:restriction>
+
        </xs:simpleType>
+
      </xs:element>
+
  
       <xs:element name = "History" minOccurs = "1">
+
    <xs:element name = "monthReport" type = "c:MonthType" minOccurs = "1" maxOccurs = "1">
        <xs:annotation>
+
    <xs:annotation>
          <xs:documentation>История двидения по справке</xs:documentation>
+
       <xs:documentation>Отчетный месяц</xs:documentation>
        </xs:annotation>
+
    </xs:annotation>
        <xs:complexType>
+
    </xs:element>
          <xs:sequence>
+
 
            <xs:element name = "DocData" type = "ns:DocDataType" minOccurs = "0" maxOccurs = "unbounded"></xs:element>
+
    <xs:element name = "yearReport" type = "c:YearType" minOccurs = "1" maxOccurs = "1">
          </xs:sequence>
+
    <xs:annotation>
        </xs:complexType>
+
      <xs:documentation>Отчетный год</xs:documentation>
      </xs:element>
+
    </xs:annotation>
     
+
    </xs:element>
    </xs:all>
+
 
 +
    <xs:element name = "AlcCode" nillable = "false" minOccurs = "1" maxOccurs = "1">
 +
    <xs:annotation>
 +
      <xs:documentation>Код продукции согласно ЕГАИС</xs:documentation>
 +
    </xs:annotation>
 +
    <xs:simpleType>
 +
      <xs:restriction base = "c:NoEmptyString">
 +
      <xs:maxLength value = "64"/>
 +
      </xs:restriction>
 +
    </xs:simpleType>
 +
    </xs:element>
 +
 
 +
    <xs:element name = "History" minOccurs = "1">
 +
    <xs:annotation>
 +
      <xs:documentation>История двидения по справке</xs:documentation>
 +
    </xs:annotation>
 +
    <xs:complexType>
 +
      <xs:sequence>
 +
      <xs:element name = "DocData" type = "ns:DocDataType" minOccurs = "0" maxOccurs = "unbounded"></xs:element>
 +
      </xs:sequence>
 +
    </xs:complexType>
 +
    </xs:element>
 +
 
 +
  </xs:all>
 
   </xs:complexType>
 
   </xs:complexType>
  
 
   <xs:complexType name = "DocDataType">
 
   <xs:complexType name = "DocDataType">
    <xs:annotation>
+
  <xs:annotation>
      <xs:documentation>Движение товара</xs:documentation>
+
    <xs:documentation>Движение товара</xs:documentation>
    </xs:annotation>
+
  </xs:annotation>
    <xs:sequence>
+
  <xs:sequence>
      <xs:element name = "DocType" type = "xs:string" minOccurs = "1" maxOccurs = "1">
+
        <xs:annotation>
+
          <xs:documentation>Тип документа движения</xs:documentation>
+
        </xs:annotation>
+
      </xs:element>
+
      <xs:element name = "DocId" type = "xs:string" minOccurs = "1" maxOccurs = "1">
+
        <xs:annotation>
+
          <xs:documentation>Регистрационный номер документа движения</xs:documentation>
+
        </xs:annotation>
+
      </xs:element>
+
      <xs:element name = "OperDate" type = "xs:dateTime" minOccurs = "1" maxOccurs = "1">
+
        <xs:annotation>
+
          <xs:documentation>Дата выполнения операции</xs:documentation>
+
        </xs:annotation>
+
      </xs:element>
+
      <xs:element name = "Quantity" type = "xs:decimal" minOccurs = "1" maxOccurs = "1">
+
        <xs:annotation>
+
          <xs:documentation>Количество продукции</xs:documentation>
+
        </xs:annotation>
+
      </xs:element>
+
      <xs:element name = "RegForm2" type = "xs:string" minOccurs = "1" maxOccurs = "1">
+
        <xs:annotation>
+
          <xs:documentation>Регистрационный номер формы 2</xs:documentation>
+
        </xs:annotation>
+
      </xs:element>
+
    </xs:sequence>
+
   
+
  </xs:complexType>
+
                 
+
</xs:schema>
+
  
 +
    <xs:element name = "DocType" type = "xs:string" minOccurs = "1" maxOccurs = "1">
 +
    <xs:annotation>
 +
      <xs:documentation>Тип документа движения</xs:documentation>
 +
    </xs:annotation>
 +
    </xs:element>
 +
 +
    <xs:element name = "DocId" type = "xs:string" minOccurs = "1" maxOccurs = "1">
 +
    <xs:annotation>
 +
      <xs:documentation>Регистрационный номер документа движения</xs:documentation>
 +
    </xs:annotation>
 +
    </xs:element>
 +
 +
    <xs:element name = "OperDate" type = "xs:dateTime" minOccurs = "1" maxOccurs = "1">
 +
    <xs:annotation>
 +
      <xs:documentation>Дата выполнения операции</xs:documentation>
 +
    </xs:annotation>
 +
    </xs:element>
 +
 +
    <xs:element name = "Quantity" type = "xs:decimal" minOccurs = "1" maxOccurs = "1">
 +
    <xs:annotation>
 +
      <xs:documentation>Количество продукции</xs:documentation>
 +
    </xs:annotation>
 +
    </xs:element>
 +
 +
    <xs:element name = "RegForm2" type = "xs:string" minOccurs = "1" maxOccurs = "1">
 +
    <xs:annotation>
 +
      <xs:documentation>Регистрационный номер формы 2</xs:documentation>
 +
    </xs:annotation>
 +
    </xs:element>
 +
 +
  </xs:sequence>
 +
  </xs:complexType>
 +
</xs:schema>
 
= Смотрите также =  
 
= Смотрите также =  
 
[[Документы и их типы для отправки ( версия 4 )]]
 
[[Документы и их типы для отправки ( версия 4 )]]

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

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

<xs:schema version = "1.0"
 xmlns:xs          = "http://www.w3.org/2001/XMLSchema"
 xmlns:ns          = "http://fsrar.ru/WEGAIS/ReplyHistoryShop"
 targetNamespace   = "http://fsrar.ru/WEGAIS/ReplyHistoryShop"
 elementFormDefault = "qualified"
 attributeFormDefault = "unqualified"
 xmlns:c              = "http://fsrar.ru/WEGAIS/Common">
 <xs:import namespace = "http://fsrar.ru/WEGAIS/Common" schemaLocation = "EGCommon.xsd"/>
 <xs:complexType name = "ReplyHistoryTransferShop">
  <xs:annotation>
   <xs:documentation>Ответ на запрос о перемещении между регистрами 1 и 2</xs:documentation>
  </xs:annotation>
  <xs:all>
   <xs:element name = "ReplyDate" type = "c:DateWTime" minOccurs = "1" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Дата составления отчета</xs:documentation>
    </xs:annotation>
   </xs:element>
   <xs:element name = "monthReport" type = "c:MonthType" minOccurs = "1" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Отчетный месяц</xs:documentation>
    </xs:annotation>
   </xs:element>
   <xs:element name = "yearReport" type = "c:YearType" minOccurs = "1" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Отчетный год</xs:documentation>
    </xs:annotation>
   </xs:element>
   <xs:element name = "AlcCode" nillable = "false" minOccurs = "1" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Код продукции согласно ЕГАИС</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
     <xs:restriction base = "c:NoEmptyString">
      <xs:maxLength value = "64"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:element>
   <xs:element name = "History" minOccurs = "1">
    <xs:annotation>
     <xs:documentation>История двидения по справке</xs:documentation>
    </xs:annotation>
    <xs:complexType>
     <xs:sequence>
      <xs:element name = "DocData" type = "ns:DocDataType" minOccurs = "0" maxOccurs = "unbounded"></xs:element>
     </xs:sequence>
    </xs:complexType>
   </xs:element>
  </xs:all>
 </xs:complexType>
 <xs:complexType name = "DocDataType">
  <xs:annotation>
   <xs:documentation>Движение товара</xs:documentation>
  </xs:annotation>
  <xs:sequence>
   <xs:element name = "DocType" type = "xs:string" minOccurs = "1" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Тип документа движения</xs:documentation>
    </xs:annotation>
   </xs:element>
   <xs:element name = "DocId" type = "xs:string" minOccurs = "1" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Регистрационный номер документа движения</xs:documentation>
    </xs:annotation>
   </xs:element>
   <xs:element name = "OperDate" type = "xs:dateTime" minOccurs = "1" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Дата выполнения операции</xs:documentation>
    </xs:annotation>
   </xs:element>
   <xs:element name = "Quantity" type = "xs:decimal" minOccurs = "1" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Количество продукции</xs:documentation>
    </xs:annotation>
   </xs:element>
   <xs:element name = "RegForm2" type = "xs:string" minOccurs = "1" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Регистрационный номер формы 2</xs:documentation>
    </xs:annotation>
   </xs:element>
  </xs:sequence>
 </xs:complexType>
</xs:schema>

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

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