TTNInformBReg.xsd — различия между версиями
Материал из Фабиус wiki
Hisava (обсуждение | вклад) (Новая страница: «<?xml version="1.0" encoding="utf-8"?> <xs:schema version="1.0" xmlns:ns="http://fsrar.ru/WEGAIS/TTNInformBReg" targetNamespace="http://fsra…») |
Hisava (обсуждение | вклад) м |
||
| (не показаны 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/TTNInformBReg" | |
| − | + | targetNamespace = "http://fsrar.ru/WEGAIS/TTNInformBReg" | |
| − | + | 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" | |
| − | + | xmlns:pref = "http://fsrar.ru/WEGAIS/ProductRef"> | |
| − | + | <xs:import namespace = "http://fsrar.ru/WEGAIS/Common" schemaLocation="EGCommon.xsd"/> | |
| − | > | + | <xs:import namespace = "http://fsrar.ru/WEGAIS/ClientRef" schemaLocation="ClientRef.xsd"/> |
| − | + | ||
| − | <xs:import namespace="http://fsrar.ru/WEGAIS/ClientRef" schemaLocation="ClientRef.xsd"/> | + | |
<xs:complexType name="WayBillInformBRegType"> | <xs:complexType name="WayBillInformBRegType"> | ||
| Строка 39: | Строка 37: | ||
</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> | ||
| Строка 50: | Строка 49: | ||
</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> | ||
| Строка 77: | Строка 77: | ||
</xs:complexType> | </xs:complexType> | ||
</xs:element> | </xs:element> | ||
| + | |||
<xs:element name="Content"> | <xs:element name="Content"> | ||
<xs:complexType> | <xs:complexType> | ||
| Строка 87: | Строка 88: | ||
</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> | ||
| Строка 97: | Строка 100: | ||
<xs:complexType name="InformBPositionType"> | <xs:complexType name="InformBPositionType"> | ||
<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> | ||
| Строка 102: | Строка 106: | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
| + | |||
<xs:element name="InformBRegId" type="c:NoEmptyString50" minOccurs="1" maxOccurs="1"> | <xs:element name="InformBRegId" type="c:NoEmptyString50" minOccurs="1" maxOccurs="1"> | ||
<xs:annotation> | <xs:annotation> | ||
| Строка 107: | Строка 112: | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
| + | |||
</xs:all> | </xs:all> | ||
</xs:complexType> | </xs:complexType> | ||
| − | </xs:schema> | + | </xs:schema> |
Текущая версия на 16:43, 9 декабря 2019
<?xml version="1.0" encoding="utf-8"?>
<xs:schema version="1.0" xmlns:ns = "http://fsrar.ru/WEGAIS/TTNInformBReg" targetNamespace = "http://fsrar.ru/WEGAIS/TTNInformBReg" 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" xmlns:pref = "http://fsrar.ru/WEGAIS/ProductRef"> <xs:import namespace = "http://fsrar.ru/WEGAIS/Common" schemaLocation="EGCommon.xsd"/> <xs:import namespace = "http://fsrar.ru/WEGAIS/ClientRef" schemaLocation="ClientRef.xsd"/>
<xs:complexType name="WayBillInformBRegType">
<xs:annotation>
<xs:documentation>Квитанция о регистрации справок Б для Товарно-Транспортной Накладной</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:OrgInfo" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>Грузоотправитель</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Consignee" type="oref:OrgInfo" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>Грузополучатель</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Supplier" type="oref:OrgInfo" minOccurs="0" 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:InformBPositionType" 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="InformBPositionType"> <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="InformBRegId" type="c:NoEmptyString50" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>Регистрационный номер записи справки Б</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all> </xs:complexType> </xs:schema>