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

Материал из Фабиус wiki
Перейти к: навигация, поиск
м
м
 
(не показаны 2 промежуточные версии этого же участника)
Строка 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/TTNInformF2Reg"
+
   xmlns:ns         = "http://fsrar.ru/WEGAIS/TTNInformF2Reg"
   targetNamespace     = "http://fsrar.ru/WEGAIS/TTNInformF2Reg"
+
   targetNamespace   = "http://fsrar.ru/WEGAIS/TTNInformF2Reg"
   xmlns:xs             = "http://www.w3.org/2001/XMLSchema"
+
   xmlns:xs         = "http://www.w3.org/2001/XMLSchema"
   xmlns:c             = "http://fsrar.ru/WEGAIS/Common"  
+
   xmlns:c           = "http://fsrar.ru/WEGAIS/Common"  
   elementFormDefault   = "qualified"
+
   elementFormDefault = "qualified"
 
   attributeFormDefault = "unqualified"
 
   attributeFormDefault = "unqualified"
 
   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/ClientRef_v2" schemaLocation="ClientRef_v2.xsd"/>
+
   <xs:import namespace = "http://fsrar.ru/WEGAIS/ClientRef_v2" schemaLocation = "ClientRef_v2.xsd"/>
  
   <xs:complexType name="WayBillInformF2RegType">
+
   <xs:complexType name = "WayBillInformF2RegType">
 
   <xs:annotation>
 
   <xs:annotation>
     <xs:documentation>Квитанция о регистрации справок 2 для Товарно-Транспортной Накладной</xs:documentation>
+
     <xs:documentation>'''Квитанция о регистрации справок 2''' для Товарно-Транспортной Накладной</xs:documentation>
 
   </xs:annotation>
 
   </xs:annotation>
 
   <xs:sequence>
 
   <xs:sequence>
     <xs:element name="Header">
+
     <xs:element name = "Header">
 
     <xs:complexType>
 
     <xs:complexType>
 
       <xs:all>
 
       <xs:all>
  
       <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:annotation>
 
         <xs:documentation>ИД накладной(клиентский, исходной накладной, если заполнялся)</xs:documentation>
 
         <xs:documentation>ИД накладной(клиентский, исходной накладной, если заполнялся)</xs:documentation>
 
         </xs:annotation>
 
         </xs:annotation>
 
       </xs:element>
 
       </xs:element>
       <xs:element name="WBRegId" type="c:NoEmptyString50" minOccurs="1" maxOccurs="1">
+
 
 +
       <xs:element name = "WBRegId" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1">
 
         <xs:annotation>
 
         <xs:annotation>
 
         <xs:documentation>ИД накладной в системе (присвоенный)</xs:documentation>
 
         <xs:documentation>ИД накладной в системе (присвоенный)</xs:documentation>
Строка 32: Строка 33:
 
       </xs:element>
 
       </xs:element>
  
       <xs:element name="EGAISFixNumber" type="c:NoEmptyString50" minOccurs="0" maxOccurs="1">
+
       <xs:element name = "EGAISFixNumber" 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="EGAISFixDate" type="c:DateNoTime" minOccurs="0" maxOccurs="1">
+
 
 +
       <xs:element name = "EGAISFixDate" type = "c:DateNoTime" minOccurs = "0" maxOccurs = "1">
 
         <xs:annotation>
 
         <xs:annotation>
 
         <xs:documentation>Дата фиксации накладной(отгрузки) в ЕГАИС</xs:documentation>
 
         <xs:documentation>Дата фиксации накладной(отгрузки) в ЕГАИС</xs:documentation>
Строка 43: Строка 45:
 
       </xs:element>
 
       </xs:element>
  
       <xs:element name="WBNUMBER" type="c:NoEmptyString50" minOccurs="1" maxOccurs="1">
+
       <xs:element name = "WBNUMBER" 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="WBDate" type="c:DateNoTime" minOccurs="1" maxOccurs="1">
+
 
 +
       <xs:element name = "WBDate" type = "c:DateNoTime" minOccurs = "1" maxOccurs = "1">
 
         <xs:annotation>
 
         <xs:annotation>
 
         <xs:documentation>Дата составления накладной</xs:documentation>
 
         <xs:documentation>Дата составления накладной</xs:documentation>
Строка 54: Строка 57:
 
       </xs:element>
 
       </xs:element>
 
              
 
              
       <xs:element name="Shipper" type="oref:OrgInfoRus_v2" minOccurs="1" maxOccurs="1">
+
       <xs:element name = "Shipper" type = "oref:OrgInfoRus_v2" minOccurs = "1" maxOccurs = "1">
 
         <xs:annotation>
 
         <xs:annotation>
 
         <xs:documentation>Грузоотправитель</xs:documentation>
 
         <xs:documentation>Грузоотправитель</xs:documentation>
Строка 60: Строка 63:
 
       </xs:element>
 
       </xs:element>
  
       <xs:element name="Consignee" type="oref:OrgInfo_v2" minOccurs="1" maxOccurs="1">
+
       <xs:element name = "Consignee" type = "oref:OrgInfo_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:all>
 
       </xs:all>
 
     </xs:complexType>
 
     </xs:complexType>
 
     </xs:element>
 
     </xs:element>
     <xs:element name="Content">
+
 
 +
     <xs:element name = "Content">
 
     <xs:complexType>
 
     <xs:complexType>
 
       <xs:sequence>
 
       <xs:sequence>
       <xs:element name="Position" type="ns:InformF2PositionType" minOccurs="1" maxOccurs="unbounded">
+
 
 +
       <xs:element name = "Position" type = "ns:InformF2PositionType" minOccurs = "1" maxOccurs = "unbounded">
 
         <xs:annotation>
 
         <xs:annotation>
 
         <xs:documentation>Содержимое должно содержать 1 и более позиций</xs:documentation>
 
         <xs:documentation>Содержимое должно содержать 1 и более позиций</xs:documentation>
 
         </xs:annotation>
 
         </xs:annotation>
 
       </xs:element>
 
       </xs:element>
 +
 
       </xs:sequence>
 
       </xs:sequence>
 
     </xs:complexType>
 
     </xs:complexType>
     <xs:unique name="PosUnB">
+
     <xs:unique name = "PosUnB">
       <xs:selector xpath="ns:Position"/>
+
       <xs:selector xpath = "ns:Position"/>
       <xs:field xpath="ns:Identity"/>
+
       <xs:field xpath = "ns:Identity"/>
 
     </xs:unique>
 
     </xs:unique>
 
     </xs:element>
 
     </xs:element>
 +
 
   </xs:sequence>
 
   </xs:sequence>
 
   </xs:complexType>
 
   </xs:complexType>
  
   <xs:complexType name="InformF2PositionType">
+
   <xs:complexType name = "InformF2PositionType">
 
   <xs:all>
 
   <xs:all>
     <xs:element name="Identity" type="c:IdentityType" nillable="false" minOccurs="1" 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="InformF2RegId" type="c:NoEmptyString50" minOccurs="1" maxOccurs="1">
+
 
 +
     <xs:element name = "InformF2RegId" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1">
 
     <xs:annotation>
 
     <xs:annotation>
 
       <xs:documentation>Регистрационный номер записи справки 2</xs:documentation>
 
       <xs:documentation>Регистрационный номер записи справки 2</xs:documentation>
 
     </xs:annotation>
 
     </xs:annotation>
 
     </xs:element>
 
     </xs:element>
     <xs:element name="BottlingDate" type="c:DateNoTime" minOccurs="0" maxOccurs="1">
+
 
 +
     <xs:element name = "BottlingDate" type = "c:DateNoTime" 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:all>
 
   </xs:all>
 
   </xs:complexType>  
 
   </xs:complexType>  
 
  </xs:schema>
 
  </xs:schema>
= Смотрите также =
+
= Смотрите также =  
[[Документы и их типы для отправки]]
+
[[Документы и их типы для отправки ( версия 4 )]]

Текущая версия на 09:33, 26 апреля 2021

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

<xs:schema version = "1.0"
 xmlns:ns          = "http://fsrar.ru/WEGAIS/TTNInformF2Reg"
 targetNamespace   = "http://fsrar.ru/WEGAIS/TTNInformF2Reg"
 xmlns:xs          = "http://www.w3.org/2001/XMLSchema"
 xmlns:c           = "http://fsrar.ru/WEGAIS/Common" 
 elementFormDefault = "qualified"
 attributeFormDefault = "unqualified"
 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/ClientRef_v2" schemaLocation = "ClientRef_v2.xsd"/>
 <xs:complexType name = "WayBillInformF2RegType">
  <xs:annotation>
   <xs:documentation>Квитанция о регистрации справок 2 для Товарно-Транспортной Накладной</xs:documentation>
  </xs:annotation>
  <xs:sequence>
   <xs:element name = "Header">
    <xs:complexType>
     <xs:all>
      <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 = "WBRegId" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1">
       <xs:annotation>
        <xs:documentation>ИД накладной в системе (присвоенный)</xs:documentation>
       </xs:annotation>
      </xs:element>
      <xs:element name = "EGAISFixNumber" type = "c:NoEmptyString50" minOccurs = "0" maxOccurs = "1">
       <xs:annotation>
        <xs:documentation>Номер фиксации накладной(отгрузки) в ЕГАИС</xs:documentation>
       </xs:annotation>
      </xs:element>
      <xs:element name = "EGAISFixDate" type = "c:DateNoTime" minOccurs = "0" maxOccurs = "1">
       <xs:annotation>
        <xs:documentation>Дата фиксации накладной(отгрузки) в ЕГАИС</xs:documentation>
       </xs:annotation>
      </xs:element>
      <xs:element name = "WBNUMBER" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1">
       <xs:annotation>
        <xs:documentation>Номер накладной</xs:documentation>
       </xs:annotation>
      </xs:element>
      <xs:element name = "WBDate" type = "c:DateNoTime" minOccurs = "1" maxOccurs = "1">
       <xs:annotation>
        <xs:documentation>Дата составления накладной</xs:documentation>
       </xs:annotation>
      </xs:element>
           
      <xs:element name = "Shipper" type = "oref:OrgInfoRus_v2" minOccurs = "1" maxOccurs = "1">
       <xs:annotation>
        <xs:documentation>Грузоотправитель</xs:documentation>
       </xs:annotation>
      </xs:element>
      <xs:element name = "Consignee" type = "oref:OrgInfo_v2" minOccurs = "1" maxOccurs = "1">
       <xs:annotation>
        <xs:documentation>Грузополучатель</xs:documentation>
       </xs:annotation>
      </xs:element>
     </xs:all>
    </xs:complexType>
   </xs:element>
   <xs:element name = "Content">
    <xs:complexType>
     <xs:sequence>
      <xs:element name = "Position" type = "ns:InformF2PositionType" minOccurs = "1" maxOccurs = "unbounded">
       <xs:annotation>
        <xs:documentation>Содержимое должно содержать 1 и более позиций</xs:documentation>
       </xs:annotation>
      </xs:element>
     </xs:sequence>
    </xs:complexType>
    <xs:unique name = "PosUnB">
     <xs:selector xpath = "ns:Position"/>
     <xs:field xpath = "ns:Identity"/>
    </xs:unique>
   </xs:element>
  </xs:sequence>
 </xs:complexType>
 <xs:complexType name = "InformF2PositionType">
  <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 = "InformF2RegId" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Регистрационный номер записи справки 2</xs:documentation>
    </xs:annotation>
   </xs:element>
   <xs:element name = "BottlingDate" type = "c:DateNoTime" minOccurs = "0" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Дата производства/импорта продукции</xs:documentation>
    </xs:annotation>
   </xs:element>
  </xs:all>
 </xs:complexType> 
</xs:schema>

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

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