ActFixBarCode.xml

Материал из Фабиус wiki
Перейти к: навигация, поиск

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

          xmlns:ns = "http://fsrar.ru/WEGAIS/ActFixBarCode"
          targetNamespace = "http://fsrar.ru/WEGAIS/ActFixBarCode"
          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:cee = "http://fsrar.ru/WEGAIS/CommonV3"

>

 <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/CommonV3" schemaLocation = "EGCommonV3.xsd"/>
 <xs:complexType name = "ActFixBarCode">
   <xs:annotation>
     <xs:documentation>Акт фиксации имеющихся на складе штрихкодов в разрезе форм 2</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 = "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:ActFixBarCodePositionType" 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 = "ActFixBarCodePositionType">
   <xs:annotation>
     <xs:documentation>Позиция</xs:documentation>
   </xs:annotation>
   <xs:sequence>
     <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 = "Inform2RegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1">
       <xs:annotation>
         <xs:documentation>Справка Б</xs:documentation>
       </xs:annotation>
     </xs:element>
     <xs:element name = "MarkInfo" type = "cee:AMCforDocType" nillable = "false" minOccurs = "0" maxOccurs = "unbounded"/>
   </xs:sequence>
 

</xs:complexType>

</xs:schema>

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

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