RepInformF1Reg.xsd
Материал из Фабиус wiki
Версия от 11:49, 26 апреля 2021; Hisava (обсуждение | вклад)
<?xml version = "1.0" encoding = "utf-8"?>
<xs:schema version = "1.0" xmlns:ns = "http://fsrar.ru/WEGAIS/RepInformF1Reg" targetNamespace = "http://fsrar.ru/WEGAIS/RepInformF1Reg" 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 = "RepPIInformF1RegType"> <xs:annotation> <xs:documentation>Квитанция о регистрации справок 1 для Отчета о производстве/импорте продукции</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 = "RepRegId" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1">
<xs:annotation>
<xs:documentation>ИД отчета в системе (присвоенный)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name = "Client" type = "oref:OrgInfoRusReply_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:InformF1PositionType" minOccurs = "1" maxOccurs = "unbounded">
<xs:annotation>
<xs:documentation>Содержимое должно содержать 1 и более позиций</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:unique name = "PosUnF1">
<xs:selector xpath = "ns:Position"/>
<xs:field xpath = "ns:Identity"/>
</xs:unique>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name = "InformF1PositionType"> <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 = "InformF1RegId" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1">
<xs:annotation>
<xs:documentation>Регистрационный номер записи формы 1</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name = "InformF2RegId" type = "c:NoEmptyString50" minOccurs = "0" maxOccurs = "1">
<xs:annotation>
<xs:documentation>Регистрационный номер записи формы 2</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all> </xs:complexType> </xs:schema>