TTNSingle v4.xsd — различия между версиями
Материал из Фабиус wiki
Hisava (обсуждение | вклад) (Новая страница: «This XML file does not appear to have any style information associated with it. The document tree is shown below. <xs:schema xmlns:ns="http://fsrar.ru/WEGAIS/TTNS…») |
Hisava (обсуждение | вклад) м |
||
(не показано 13 промежуточных версий этого же участника) | |||
Строка 1: | Строка 1: | ||
− | + | <?xml version = "1.0" encoding = "utf-8"?> | |
− | <xs:schema xmlns:ns="http://fsrar.ru/WEGAIS/TTNSingle_v4" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:c="http://fsrar.ru/WEGAIS/Common" xmlns:ce="http://fsrar.ru/WEGAIS/CommonV3" xmlns:oref="http://fsrar.ru/WEGAIS/ClientRef_v2" xmlns:pref="http://fsrar.ru/WEGAIS/ProductRef_v2 | + | <xs:schema version = "1.0" |
− | <xs:import namespace="http://fsrar.ru/WEGAIS/Common" schemaLocation="EGCommon.xsd"/> | + | xmlns:ns = "http://fsrar.ru/WEGAIS/TTNSingle_v4" |
− | <xs:import namespace="http://fsrar.ru/WEGAIS/CommonV3" schemaLocation="EGCommonV3.xsd"/> | + | targetNamespace = "http://fsrar.ru/WEGAIS/TTNSingle_v4" |
− | <xs:import namespace="http://fsrar.ru/WEGAIS/ClientRef_v2" schemaLocation="ClientRef_v2.xsd"/> | + | xmlns:xs = "http://www.w3.org/2001/XMLSchema" |
− | <xs:import namespace="http://fsrar.ru/WEGAIS/ProductRef_v2" schemaLocation="ProductRef_v2.xsd"/> | + | elementFormDefault = "qualified" |
− | <xs:complexType name="WayBillType_v4"> | + | attributeFormDefault = "unqualified" |
− | <xs:annotation> | + | xmlns:c = "http://fsrar.ru/WEGAIS/Common" |
− | <xs:documentation>Товарно-Транспортная Накладная</xs:documentation> | + | xmlns:ce = "http://fsrar.ru/WEGAIS/CommonV3" |
− | </xs:annotation> | + | xmlns:oref = "http://fsrar.ru/WEGAIS/ClientRef_v2" |
− | <xs:sequence> | + | xmlns:pref = "http://fsrar.ru/WEGAIS/ProductRef_v2"> |
− | <xs:element name="Identity" type="c:IdentityType" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:import namespace = "http://fsrar.ru/WEGAIS/Common" schemaLocation = "EGCommon.xsd"/> |
− | <xs:annotation> | + | <xs:import namespace = "http://fsrar.ru/WEGAIS/CommonV3" schemaLocation = "EGCommonV3.xsd"/> |
− | <xs:documentation>Идентификатор накладной (клиентский, к заполнению необязательный)</xs:documentation> | + | <xs:import namespace = "http://fsrar.ru/WEGAIS/ClientRef_v2" schemaLocation = "ClientRef_v2.xsd"/> |
− | </xs:annotation> | + | <xs:import namespace = "http://fsrar.ru/WEGAIS/ProductRef_v2" schemaLocation = "ProductRef_v2.xsd"/> |
− | </xs:element> | + | |
− | <xs:element name="Header"> | + | <xs:complexType name = "WayBillType_v4"> |
− | <xs:complexType> | + | <xs:annotation> |
− | <xs:all> | + | <xs:documentation>'''Товарно-Транспортная Накладная'''</xs:documentation> |
− | <xs:element name="Type" type="ns:WbType" default="WBInvoiceFromMe" minOccurs="1" maxOccurs="1"> | + | </xs:annotation> |
− | <xs:annotation> | + | <xs:sequence> |
− | <xs:documentation>Тип накладной: WBInvoiceFromMe - расход; WBReturnToMe - возврат мне; WBInvoiceToMe - приход; WBReturnFromMe - возврат от меня; WBInternal - внутренее перемещение</xs:documentation> | + | <xs:element name = "Identity" type = "c:IdentityType" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
− | </xs:annotation> | + | <xs:annotation> |
− | </xs:element> | + | <xs:documentation>Идентификатор накладной (клиентский, к заполнению необязательный)</xs:documentation> |
− | <xs:element name="NUMBER" type="c:NoEmptyString50" minOccurs="1" maxOccurs="1"> | + | </xs:annotation> |
− | <xs:annotation> | + | </xs:element> |
− | <xs:documentation>Номер документа</xs:documentation> | + | |
− | </xs:annotation> | + | <xs:element name = "Header"> |
− | </xs:element> | + | <xs:complexType> |
− | <xs:element name="Date" type="c:DateNoTime" minOccurs="1" maxOccurs="1"> | + | <xs:all> |
− | <xs:annotation> | + | <xs:element name = "Type" type = "ns:WbType" default = "WBInvoiceFromMe" minOccurs = "1" maxOccurs = "1"> |
− | <xs:documentation>Дата документа</xs:documentation> | + | <xs:annotation> |
− | </xs:annotation> | + | <xs:documentation>Тип накладной: |
− | </xs:element> | + | WBInvoiceFromMe - расход; |
− | <xs:element name="ShippingDate" type="c:DateNoTime" nillable="false" minOccurs="1" maxOccurs="1"> | + | WBReturnToMe - возврат мне; |
− | <xs:annotation> | + | WBInvoiceToMe - приход; |
− | <xs:documentation>Дата отгрузки продукции</xs:documentation> | + | WBReturnFromMe - возврат от меня; |
− | </xs:annotation> | + | WBInternal - внутренее перемещение |
− | </xs:element> | + | </xs:documentation> |
− | <xs:element name="Transport" type="ns:TransportType" minOccurs="0" maxOccurs="1"> | + | </xs:annotation> |
− | <xs:annotation> | + | </xs:element> |
− | <xs:documentation>Транспортный раздел</xs:documentation> | + | |
− | </xs:annotation> | + | <xs:element name = "NUMBER" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1"> |
− | </xs:element> | + | <xs:annotation> |
− | <xs:element name="Shipper" type="oref:OrgInfoRus_v2" minOccurs="1" maxOccurs="1"> | + | <xs:documentation>Номер документа</xs:documentation> |
− | <xs:annotation> | + | </xs:annotation> |
− | <xs:documentation>Грузоотправитель</xs:documentation> | + | </xs:element> |
− | </xs:annotation> | + | |
− | </xs:element> | + | <xs:element name = "Date" type = "c:DateNoTime" 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:element name="Base" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "ShippingDate" type = "c:DateNoTime" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
− | <xs:annotation> | + | <xs:annotation> |
− | <xs:documentation>Основание</xs:documentation> | + | <xs:documentation>Дата отгрузки продукции</xs:documentation> |
− | </xs:annotation> | + | </xs:annotation> |
− | <xs:simpleType> | + | </xs:element> |
− | <xs:restriction base="xs:string"> | + | |
− | <xs:maxLength value="200"/> | + | <xs:element name = "Transport" type = "ns:TransportType" minOccurs = "0" maxOccurs = "1"> |
− | </xs:restriction> | + | <xs:annotation> |
− | </xs:simpleType> | + | <xs:documentation>Транспортный раздел</xs:documentation> |
− | </xs:element> | + | </xs:annotation> |
− | <xs:element name="Note" minOccurs="0" maxOccurs="1"> | + | </xs:element> |
− | <xs:annotation> | + | |
− | <xs:documentation>Примечание</xs:documentation> | + | <xs:element name = "Shipper" type = "oref:OrgInfoRus_v2" minOccurs = "1" maxOccurs = "1"> |
− | </xs:annotation> | + | <xs:annotation> |
− | <xs:simpleType> | + | <xs:documentation>Грузоотправитель</xs:documentation> |
− | <xs:restriction base="xs:string"> | + | </xs:annotation> |
− | <xs:maxLength value="200"/> | + | </xs:element> |
− | </xs:restriction> | + | |
− | </xs:simpleType> | + | <xs:element name = "Consignee" type = "oref:OrgInfo_v2" minOccurs = "1" maxOccurs = "1"> |
− | </xs:element> | + | <xs:annotation> |
− | <xs:element name="VarField1" minOccurs="0" maxOccurs="1"> | + | <xs:documentation>Грузополучатель</xs:documentation> |
− | <xs:annotation> | + | </xs:annotation> |
− | <xs:documentation>Дополнительное примечание 1</xs:documentation> | + | </xs:element> |
− | </xs:annotation> | + | |
− | <xs:simpleType> | + | <xs:element name = "Base" minOccurs = "0" maxOccurs = "1"> |
− | <xs:restriction base="xs:string"> | + | <xs:annotation> |
− | <xs:maxLength value="100"/> | + | <xs:documentation>Основание</xs:documentation> |
− | </xs:restriction> | + | </xs:annotation> |
− | </xs:simpleType> | + | <xs:simpleType> |
− | </xs:element> | + | <xs:restriction base="xs:string"> |
− | <xs:element name="VarField2" minOccurs="0" maxOccurs="1"> | + | <xs:maxLength value="200"/> |
− | <xs:annotation> | + | </xs:restriction> |
− | <xs:documentation>Дополнительное примечание 2</xs:documentation> | + | </xs:simpleType> |
− | </xs:annotation> | + | </xs:element> |
− | <xs:simpleType> | + | |
− | <xs:restriction base="xs:string"> | + | <xs:element name = "Note" minOccurs = "0" maxOccurs = "1"> |
− | <xs:maxLength value="100"/> | + | <xs:annotation> |
− | </xs:restriction> | + | <xs:documentation>Примечание</xs:documentation> |
− | </xs:simpleType> | + | </xs:annotation> |
− | </xs:element> | + | <xs:simpleType> |
− | <xs:element name="VarField3" minOccurs="0" maxOccurs="1"> | + | <xs:restriction base = "xs:string"> |
− | <xs:annotation> | + | <xs:maxLength value = "200"/> |
− | <xs:documentation>Дополнительное примечание 3</xs:documentation> | + | </xs:restriction> |
− | </xs:annotation> | + | </xs:simpleType> |
− | <xs:simpleType> | + | </xs:element> |
− | <xs:restriction base="xs:string"> | + | |
− | <xs:maxLength value="100"/> | + | <xs:element name = "VarField1" minOccurs = "0" maxOccurs = "1"> |
− | </xs:restriction> | + | <xs:annotation> |
− | </xs:simpleType> | + | <xs:documentation>Дополнительное примечание 1</xs:documentation> |
− | </xs:element> | + | </xs:annotation> |
− | </xs:all> | + | <xs:simpleType> |
− | </xs:complexType> | + | <xs:restriction base="xs:string"> |
− | </xs:element> | + | <xs:maxLength value="100"/> |
− | <xs:element name="Content"> | + | </xs:restriction> |
− | <xs:complexType> | + | </xs:simpleType> |
− | <xs:sequence> | + | </xs:element> |
− | <xs:element name="Position" type="ns:PositionType" minOccurs="1" maxOccurs="unbounded"> | + | |
− | <xs:annotation> | + | <xs:element name = "VarField2" minOccurs = "0" maxOccurs = "1"> |
− | <xs:documentation>Содержимое накладной должно содержать 1 и более позиций</xs:documentation> | + | <xs:annotation> |
− | </xs:annotation> | + | <xs:documentation>Дополнительное примечание 2</xs:documentation> |
− | </xs:element> | + | </xs:annotation> |
− | </xs:sequence> | + | <xs:simpleType> |
− | </xs:complexType> | + | <xs:restriction base = "xs:string"> |
− | <xs:unique name="PosUn"> | + | <xs:maxLength value = "100"/> |
− | <xs:selector xpath="ns:Position"/> | + | </xs:restriction> |
− | <xs:field xpath="ns:Identity"/> | + | </xs:simpleType> |
− | </xs:unique> | + | </xs:element> |
− | </xs:element> | + | |
− | </xs:sequence> | + | <xs:element name = "VarField3" minOccurs = "0" maxOccurs = "1"> |
− | </xs:complexType> | + | <xs:annotation> |
− | <xs:complexType name="PositionType"> | + | <xs:documentation>Дополнительное примечание 3</xs:documentation> |
− | <xs:annotation> | + | </xs:annotation> |
− | <xs:documentation>Позиция</xs:documentation> | + | <xs:simpleType> |
− | </xs:annotation> | + | <xs:restriction base = "xs:string"> |
− | <xs:all> | + | <xs:maxLength value = "100"/> |
− | <xs:element name="Product" type="pref:ProductInfo_v2" minOccurs="1" maxOccurs="1"> | + | </xs:restriction> |
− | <xs:annotation> | + | </xs:simpleType> |
− | <xs:documentation>Информация о продукции</xs:documentation> | + | </xs:element> |
− | </xs:annotation> | + | |
− | </xs:element> | + | </xs:all> |
− | <xs:element name="Pack_ID" type="c:NoEmptyString50" minOccurs="0" maxOccurs="1"> | + | </xs:complexType> |
− | <xs:annotation> | + | </xs:element> |
− | <xs:documentation>Идентификатор упаковки</xs:documentation> | + | |
− | </xs:annotation> | + | <xs:element name="Content"> |
− | </xs:element> | + | <xs:complexType> |
− | <xs:element name="Quantity" type="c:PositiveDecimalType" minOccurs="1" maxOccurs="1"> | + | <xs:sequence> |
− | <xs:annotation> | + | <xs:element name = "Position" type = "ns:PositionType" minOccurs = "1" maxOccurs = "unbounded"> |
− | <xs:documentation>Количество</xs:documentation> | + | <xs:annotation> |
− | </xs:annotation> | + | <xs:documentation>Содержимое накладной должно содержать 1 и более позиций</xs:documentation> |
− | </xs:element> | + | </xs:annotation> |
− | <xs:element name="alcPercent" type="c:AlcPercentType" nillable="false" minOccurs="0" maxOccurs="1"> | + | </xs:element> |
− | <xs:annotation> | + | </xs:sequence> |
− | <xs:documentation>Содержание этилового спирта, %</xs:documentation> | + | </xs:complexType> |
− | </xs:annotation> | + | |
− | </xs:element> | + | <xs:unique name="PosUn"> |
− | <xs:element name="alcPercentMin" type="c:AlcPercentType" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:selector xpath = "ns:Position"/> |
− | <xs:annotation> | + | <xs:field xpath = "ns:Identity"/> |
− | <xs:documentation>Минимальное содержание этилового спирта, %</xs:documentation> | + | </xs:unique> |
− | </xs:annotation> | + | |
− | </xs:element> | + | </xs:element> |
− | <xs:element name="alcPercentMax" type="c:AlcPercentType" nillable="false" minOccurs="0" maxOccurs="1"> | + | </xs:sequence> |
− | <xs:annotation> | + | </xs:complexType> |
− | <xs:documentation>Максимальное содержание этилового спирта, %</xs:documentation> | + | |
− | </xs:annotation> | + | <xs:complexType name = "PositionType"> |
− | </xs:element> | + | <xs:annotation> |
− | <xs:element name="Price" type="c:NoNegativeDecimalType" minOccurs="1" maxOccurs="1"> | + | <xs:documentation>Позиция</xs:documentation> |
− | <xs:annotation> | + | </xs:annotation> |
− | <xs:documentation>Цена за единицу товара</xs:documentation> | + | <xs:all> |
− | </xs:annotation> | + | <xs:element name = "Product" type = "pref:ProductInfo_v2" minOccurs = "1" maxOccurs = "1"> |
− | </xs:element> | + | <xs:annotation> |
− | <xs:element name="Party" type="c:NoEmptyString50" minOccurs="0" maxOccurs="1"> | + | <xs:documentation>Информация о продукции</xs:documentation> |
− | <xs:annotation> | + | </xs:annotation> |
− | <xs:documentation>Номер партии</xs:documentation> | + | </xs:element> |
− | </xs:annotation> | + | |
− | </xs:element> | + | <xs:element name = "Pack_ID" type = "c:NoEmptyString50" minOccurs = "0" 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="EXCISE_NUMBER" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "Quantity" type = "c:PositiveDecimalType" minOccurs = "1" maxOccurs = "1"> |
− | <xs:annotation> | + | <xs:annotation> |
− | <xs:documentation>Номер извещения</xs:documentation> | + | <xs:documentation>Количество</xs:documentation> |
− | </xs:annotation> | + | </xs:annotation> |
− | <xs:simpleType> | + | </xs:element> |
− | <xs:restriction base="c:NoEmptyString"> | + | |
− | <xs:maxLength value="64"/> | + | <xs:element name = "alcPercent" type = "c:AlcPercentType" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
− | </xs:restriction> | + | <xs:annotation> |
− | </xs:simpleType> | + | <xs:documentation>Содержание этилового спирта, %</xs:documentation> |
− | </xs:element> | + | </xs:annotation> |
− | <xs:element name="EXCISE_DATE" type="c:DateWTime" nillable="false" minOccurs="0" maxOccurs="1"> | + | </xs:element> |
− | <xs:annotation> | + | |
− | <xs:documentation>Дата извещения</xs:documentation> | + | <xs:element name = "alcPercentMin" type = "c:AlcPercentType" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
− | </xs:annotation> | + | <xs:annotation> |
− | </xs:element> | + | <xs:documentation>Минимальное содержание этилового спирта, %</xs:documentation> |
− | <xs:element name="EXCISE_SUM" type="c:NoNegativeDecimalType" nillable="false" minOccurs="0" maxOccurs="1"> | + | </xs:annotation> |
− | <xs:annotation> | + | </xs:element> |
− | <xs:documentation>Сумма по извещению</xs:documentation> | + | |
− | </xs:annotation> | + | <xs:element name = "alcPercentMax" type = "c:AlcPercentType" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
− | </xs:element> | + | <xs:annotation> |
− | <xs:element name="EXCISE_BS" type="c:PositiveDecimalType" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:documentation>Максимальное содержание этилового спирта, %</xs:documentation> |
− | <xs:annotation> | + | </xs:annotation> |
− | <xs:documentation>Объем по извещению</xs:documentation> | + | </xs:element> |
− | </xs:annotation> | + | |
− | </xs:element> | + | <xs:element name = "Price" type = "c:NoNegativeDecimalType" minOccurs = "1" maxOccurs = "1"> |
− | + | <xs:annotation> | |
− | <xs:element name="EAN13" type="c:EANType" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:documentation>Цена за единицу товара</xs:documentation> |
− | <xs:annotation> | + | </xs:annotation> |
− | <xs:documentation>необязательный реквизит EAN13</xs:documentation> | + | </xs:element> |
− | </xs:annotation> | + | |
− | </xs:element> | + | <xs:element name = "Party" type = "c:NoEmptyString50" minOccurs = "0" maxOccurs = "1"> |
− | + | <xs:annotation> | |
− | + | <xs:documentation>Номер партии</xs:documentation> | |
− | <xs:element name="FARegId" type="c:NoEmptyString50" nillable="false" minOccurs="1" maxOccurs="1"> | + | </xs:annotation> |
− | <xs:annotation> | + | </xs:element> |
− | <xs:documentation>Справка 1</xs:documentation> | + | |
− | </xs:annotation> | + | <xs:element name = "Identity" type = "c:IdentityType" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
− | </xs:element> | + | <xs:annotation> |
− | <xs:element name="InformF2" type="ce:InformF2TypeItemBC" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:documentation>Идентификатор позиции внутри накладной</xs:documentation> |
− | <xs:annotation> | + | </xs:annotation> |
− | <xs:documentation>Справка 2</xs:documentation> | + | </xs:element> |
− | </xs:annotation> | + | |
− | </xs:element> | + | <xs:element name = "EXCISE_NUMBER" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
− | <xs:element name="boxInfo" minOccurs="0"> | + | <xs:annotation> |
− | <xs:complexType> | + | <xs:documentation>Номер извещения</xs:documentation> |
− | <xs:sequence> | + | </xs:annotation> |
− | <xs:element name="boxtree" type="ce:boxtype" minOccurs="1" maxOccurs="unbounded"/> | + | <xs:simpleType> |
− | </xs:sequence> | + | <xs:restriction base = "c:NoEmptyString"> |
− | </xs:complexType> | + | <xs:maxLength value = "64"/> |
− | </xs:element> | + | </xs:restriction> |
− | </xs:all> | + | </xs:simpleType> |
− | </xs:complexType> | + | </xs:element> |
− | <xs:simpleType name="WbType"> | + | |
− | <xs:annotation> | + | <xs:element name = "EXCISE_DATE" type = "c:DateWTime" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
− | <xs:documentation>Типы накладных</xs:documentation> | + | <xs:annotation> |
− | </xs:annotation> | + | <xs:documentation>Дата извещения</xs:documentation> |
− | <xs:restriction base="xs:string"> | + | </xs:annotation> |
− | <xs:enumeration value="WBReturnToMe"/> | + | </xs:element> |
− | <xs:enumeration value="WBInvoiceToMe"/> | + | |
− | <xs:enumeration value="WBReturnFromMe"/> | + | <xs:element name = "EXCISE_SUM" type = "c:NoNegativeDecimalType" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
− | <xs:enumeration value="WBInvoiceFromMe"/> | + | <xs:annotation> |
− | <xs:enumeration value="WBInternal"/> | + | <xs:documentation>Сумма по извещению</xs:documentation> |
− | </xs:restriction> | + | </xs:annotation> |
− | </xs:simpleType> | + | </xs:element> |
− | <xs:simpleType name="WbUnitType"> | + | |
− | <xs:annotation> | + | <xs:element name = "EXCISE_BS" type = "c:PositiveDecimalType" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
− | <xs:documentation>Типы продукции</xs:documentation> | + | <xs:annotation> |
− | </xs:annotation> | + | <xs:documentation>Объем по извещению</xs:documentation> |
− | <xs:restriction base="xs:string"> | + | </xs:annotation> |
− | <xs:enumeration value="Packed"/> | + | </xs:element> |
− | <xs:enumeration value="Unpacked"/> | + | |
− | </xs:restriction> | + | <xs:element name = "EAN13" type = "c:EANType" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
− | </xs:simpleType> | + | <xs:annotation> |
− | <xs:simpleType name="WbChangeOwnershipType"> | + | <xs:documentation>необязательный реквизит EAN13</xs:documentation> |
− | <xs:annotation> | + | </xs:annotation> |
− | <xs:documentation>Право собственности</xs:documentation> | + | </xs:element> |
− | </xs:annotation> | + | |
− | <xs:restriction base="xs:string"> | + | <xs:element name = "FARegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
− | <xs:enumeration value="IsChange"/> | + | <xs:annotation> |
− | <xs:enumeration value="NotChange"/> | + | <xs:documentation>Справка 1</xs:documentation> |
− | </xs:restriction> | + | </xs:annotation> |
− | </xs:simpleType> | + | </xs:element> |
− | <xs:simpleType name="WbCTransportType"> | + | |
− | <xs:annotation> | + | <xs:element name = "InformF2" type = "ce:InformF2TypeItemBC" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
− | <xs:documentation>Тип транспортного средства</xs:documentation> | + | <xs:annotation> |
− | </xs:annotation> | + | <xs:documentation>Справка 2</xs:documentation> |
− | <xs:restriction base="xs:string"> | + | </xs:annotation> |
− | <!-- автомобиль --> | + | </xs:element> |
− | <xs:enumeration value=" | + | |
− | <!-- водное транспортное средство --> | + | <xs:element name = "boxInfo" minOccurs = "0"> |
− | <xs:enumeration value=" | + | <xs:complexType> |
− | <!-- железнодорожный вагон --> | + | <xs:sequence> |
− | <xs:enumeration value=" | + | <xs:element name = "boxtree" type = "ce:boxtype" minOccurs = "1" maxOccurs = "unbounded"/> |
− | <!-- авиационное транспортное средство --> | + | </xs:sequence> |
− | <xs:enumeration value=" | + | </xs:complexType> |
− | <!-- иное --> | + | </xs:element> |
− | + | </xs:all> | |
− | </xs:restriction> | + | </xs:complexType> |
− | </xs:simpleType> | + | |
− | <xs:complexType name="TransportType"> | + | <xs:simpleType name = "WbType"> |
− | <xs:annotation> | + | <xs:annotation> |
− | <xs:documentation>Транспортный раздел</xs:documentation> | + | <xs:documentation>Типы накладных</xs:documentation> |
− | </xs:annotation> | + | </xs:annotation> |
− | <xs:all> | + | <xs:restriction base = "xs:string"> |
− | <xs:element name="ChangeOwnership" type="ns:WbChangeOwnershipType" minOccurs="1" maxOccurs="1"> | + | <xs:enumeration value = "WBReturnToMe"/> |
− | <xs:annotation> | + | <xs:enumeration value = "WBInvoiceToMe"/> |
− | <xs:documentation>Изменение права собственности</xs:documentation> | + | <xs:enumeration value = "WBReturnFromMe"/> |
− | </xs:annotation> | + | <xs:enumeration value = "WBInvoiceFromMe"/> |
− | </xs:element> | + | <xs:enumeration value = "WBInternal"/> |
− | <xs:element name="TRAN_TYPE" minOccurs="1" maxOccurs="1"> | + | </xs:restriction> |
− | <xs:annotation> | + | </xs:simpleType> |
− | <xs:documentation>Тип перевозки</xs:documentation> | + | |
− | </xs:annotation> | + | <xs:simpleType name = "WbUnitType"> |
− | <xs:simpleType> | + | <xs:annotation> |
− | <xs:restriction base="xs:string"> | + | <xs:documentation>Типы продукции</xs:documentation> |
− | <xs:maxLength value="50"/> | + | </xs:annotation> |
− | </xs:restriction> | + | <xs:restriction base = "xs:string"> |
− | </xs:simpleType> | + | <xs:enumeration value = "Packed"/> |
− | </xs:element> | + | <xs:enumeration value = "Unpacked"/> |
− | <xs:element name="TRAN_COMPANY" minOccurs="0" maxOccurs="1"> | + | </xs:restriction> |
− | <xs:annotation> | + | </xs:simpleType> |
− | <xs:documentation>Название компании перевозчика</xs:documentation> | + | |
− | </xs:annotation> | + | <xs:simpleType name = "WbChangeOwnershipType"> |
− | <xs:simpleType> | + | <xs:annotation> |
− | <xs:restriction base="xs:string"> | + | <xs:documentation>Право собственности</xs:documentation> |
− | <xs:maxLength value="255"/> | + | </xs:annotation> |
− | </xs:restriction> | + | <xs:restriction base = "xs:string"> |
− | </xs:simpleType> | + | <xs:enumeration value = "IsChange"/> |
− | </xs:element> | + | <xs:enumeration value = "NotChange"/> |
− | <xs:element name="TRANSPORT_TYPE" type="ns:WbCTransportType" minOccurs="1" maxOccurs="1"> | + | </xs:restriction> |
− | <xs:annotation> | + | </xs:simpleType> |
− | <xs:documentation>транспортное средство</xs:documentation> | + | |
− | </xs:annotation> | + | <xs:simpleType name = "WbCTransportType"> |
− | </xs:element> | + | <xs:annotation> |
− | <xs:element name="TRANSPORT_REGNUMBER" type="c:NoEmptyString50" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:documentation>Тип транспортного средства</xs:documentation> |
− | <xs:annotation> | + | </xs:annotation> |
− | <xs:documentation>Регистрационный номер транспортного средства</xs:documentation> | + | <xs:restriction base = "xs:string"> |
− | </xs:annotation> | + | <xs:enumeration value = "car"/> <! --автомобиль--> |
− | </xs:element> | + | <xs:enumeration value = "ship"/> <! --водное транспортное средство--> |
− | <xs:element name="TRAN_TRAILER" minOccurs="0" maxOccurs="1"> | + | <xs:enumeration value = "railway"/> <! --железнодорожный вагон--> |
− | <xs:annotation> | + | <xs:enumeration value = "aircraft"/> <! --авиационное транспортное средство--> |
− | <xs:documentation>Прицеп</xs:documentation> | + | <xs:enumeration value = "other"/> <! --иное--> |
− | </xs:annotation> | + | </xs:restriction> |
− | <xs:simpleType> | + | </xs:simpleType> |
− | <xs:restriction base="xs:string"> | + | |
− | <xs:maxLength value="255"/> | + | <xs:complexType name = "TransportType"> |
− | </xs:restriction> | + | <xs:annotation> |
− | </xs:simpleType> | + | <xs:documentation>Транспортный раздел</xs:documentation> |
− | </xs:element> | + | </xs:annotation> |
− | <xs:element name="TRAN_CUSTOMER" minOccurs="0" maxOccurs="1"> | + | <xs:all> |
− | <xs:annotation> | + | <xs:element name = "ChangeOwnership" type = "ns:WbChangeOwnershipType" minOccurs = "1" maxOccurs = "1"> |
− | <xs:documentation>Заказчики</xs:documentation> | + | <xs:annotation> |
− | </xs:annotation> | + | <xs:documentation>Изменение права собственности</xs:documentation> |
− | <xs:simpleType> | + | </xs:annotation> |
− | <xs:restriction base="xs:string"> | + | </xs:element> |
− | <xs:maxLength value="255"/> | + | |
− | </xs:restriction> | + | <xs:element name = "TRAN_TYPE" minOccurs = "1" maxOccurs = "1"> |
− | </xs:simpleType> | + | <xs:annotation> |
− | </xs:element> | + | <xs:documentation>Тип перевозки</xs:documentation> |
− | <xs:element name="TRAN_DRIVER" minOccurs="0" maxOccurs="1"> | + | </xs:annotation> |
− | <xs:annotation> | + | <xs:simpleType> |
− | <xs:documentation>Водитель</xs:documentation> | + | <xs:restriction base = "xs:string"> |
− | </xs:annotation> | + | <xs:maxLength value = "50"/> |
− | <xs:simpleType> | + | </xs:restriction> |
− | <xs:restriction base="xs:string"> | + | </xs:simpleType> |
− | <xs:maxLength value="255"/> | + | </xs:element> |
− | </xs:restriction> | + | |
− | </xs:simpleType> | + | <xs:element name = "TRAN_COMPANY" minOccurs = "0" maxOccurs = "1"> |
− | </xs:element> | + | <xs:annotation> |
− | <xs:element name="TRAN_LOADPOINT" minOccurs="0" maxOccurs="1"> | + | <xs:documentation>Название компании перевозчика</xs:documentation> |
− | <xs:annotation> | + | </xs:annotation> |
− | <xs:documentation>Место погрузки</xs:documentation> | + | <xs:simpleType> |
− | </xs:annotation> | + | <xs:restriction base = "xs:string"> |
− | <xs:simpleType> | + | <xs:maxLength value = "255"/> |
− | <xs:restriction base="xs:string"> | + | </xs:restriction> |
− | <xs:maxLength value="2000"/> | + | </xs:simpleType> |
− | </xs:restriction> | + | </xs:element> |
− | </xs:simpleType> | + | |
− | </xs:element> | + | <xs:element name = "TRANSPORT_TYPE" type = "ns:WbCTransportType" minOccurs = "1" maxOccurs = "1"> |
− | <xs:element name="TRAN_UNLOADPOINT" minOccurs="0" maxOccurs="1"> | + | <xs:annotation> |
− | <xs:annotation> | + | <xs:documentation>транспортное средство</xs:documentation> |
− | <xs:documentation>Место разгрузки</xs:documentation> | + | </xs:annotation> |
− | </xs:annotation> | + | </xs:element> |
− | <xs:simpleType> | + | |
− | <xs:restriction base="xs:string"> | + | <xs:element name = "TRANSPORT_REGNUMBER" type = "c:NoEmptyString50" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
− | <xs:maxLength value="2000"/> | + | <xs:annotation> |
− | </xs:restriction> | + | <xs:documentation>Регистрационный номер транспортного средства</xs:documentation> |
− | </xs:simpleType> | + | </xs:annotation> |
− | </xs:element> | + | </xs:element> |
− | <xs:element name="TRAN_REDIRECT" minOccurs="0" maxOccurs="1"> | + | |
− | <xs:annotation> | + | <xs:element name = "TRAN_TRAILER" minOccurs = "0" maxOccurs = "1"> |
− | <xs:documentation>Перенаправление</xs:documentation> | + | <xs:annotation> |
− | </xs:annotation> | + | <xs:documentation>Прицеп</xs:documentation> |
− | <xs:simpleType> | + | </xs:annotation> |
− | <xs:restriction base="xs:string"> | + | <xs:simpleType> |
− | <xs:maxLength value="2000"/> | + | <xs:restriction base = "xs:string"> |
− | </xs:restriction> | + | <xs:maxLength value = "255"/> |
− | </xs:simpleType> | + | </xs:restriction> |
− | </xs:element> | + | </xs:simpleType> |
− | <xs:element name="TRAN_FORWARDER" minOccurs="0" maxOccurs="1"> | + | </xs:element> |
− | <xs:annotation> | + | |
− | <xs:documentation>Экспедитор</xs:documentation> | + | <xs:element name = "TRAN_CUSTOMER" minOccurs = "0" maxOccurs = "1"> |
− | </xs:annotation> | + | <xs:annotation> |
− | <xs:simpleType> | + | <xs:documentation>Заказчики</xs:documentation> |
− | <xs:restriction base="xs:string"> | + | </xs:annotation> |
− | <xs:maxLength value="255"/> | + | <xs:simpleType> |
− | </xs:restriction> | + | <xs:restriction base = "xs:string"> |
− | </xs:simpleType> | + | <xs:maxLength value = "255"/> |
− | </xs:element> | + | </xs:restriction> |
− | </xs:all> | + | </xs:simpleType> |
− | </xs:complexType> | + | </xs:element> |
− | </xs:schema> | + | |
+ | <xs:element name = "TRAN_DRIVER" minOccurs = "0" maxOccurs = "1"> | ||
+ | <xs:annotation> | ||
+ | <xs:documentation>Водитель</xs:documentation> | ||
+ | </xs:annotation> | ||
+ | <xs:simpleType> | ||
+ | <xs:restriction base = "xs:string"> | ||
+ | <xs:maxLength value = "255"/> | ||
+ | </xs:restriction> | ||
+ | </xs:simpleType> | ||
+ | </xs:element> | ||
+ | |||
+ | <xs:element name = "TRAN_LOADPOINT" minOccurs = "0" maxOccurs = "1"> | ||
+ | <xs:annotation> | ||
+ | <xs:documentation>Место погрузки</xs:documentation> | ||
+ | </xs:annotation> | ||
+ | <xs:simpleType> | ||
+ | <xs:restriction base = "xs:string"> | ||
+ | <xs:maxLength value = "2000"/> | ||
+ | </xs:restriction> | ||
+ | </xs:simpleType> | ||
+ | </xs:element> | ||
+ | |||
+ | <xs:element name = "TRAN_UNLOADPOINT" minOccurs = "0" maxOccurs = "1"> | ||
+ | <xs:annotation> | ||
+ | <xs:documentation>Место разгрузки</xs:documentation> | ||
+ | </xs:annotation> | ||
+ | <xs:simpleType> | ||
+ | <xs:restriction base = "xs:string"> | ||
+ | <xs:maxLength value = "2000"/> | ||
+ | </xs:restriction> | ||
+ | </xs:simpleType> | ||
+ | </xs:element> | ||
+ | |||
+ | <xs:element name = "TRAN_REDIRECT" minOccurs = "0" maxOccurs = "1"> | ||
+ | <xs:annotation> | ||
+ | <xs:documentation>Перенаправление</xs:documentation> | ||
+ | </xs:annotation> | ||
+ | <xs:simpleType> | ||
+ | <xs:restriction base = "xs:string"> | ||
+ | <xs:maxLength value = "2000"/> | ||
+ | </xs:restriction> | ||
+ | </xs:simpleType> | ||
+ | </xs:element> | ||
+ | |||
+ | <xs:element name = "TRAN_FORWARDER" minOccurs = "0" maxOccurs = "1"> | ||
+ | <xs:annotation> | ||
+ | <xs:documentation>Экспедитор</xs:documentation> | ||
+ | </xs:annotation> | ||
+ | <xs:simpleType> | ||
+ | <xs:restriction base = "xs:string"> | ||
+ | <xs:maxLength value = "255"/> | ||
+ | </xs:restriction> | ||
+ | </xs:simpleType> | ||
+ | </xs:element> | ||
+ | </xs:all> | ||
+ | </xs:complexType> | ||
+ | </xs:schema> | ||
+ | |||
+ | = Смотрите также = | ||
+ | [[Документы и их типы для отправки ( версия 4 )]] |
Текущая версия на 14:16, 13 апреля 2021
<?xml version = "1.0" encoding = "utf-8"?>
<xs:schema version = "1.0" xmlns:ns = "http://fsrar.ru/WEGAIS/TTNSingle_v4" targetNamespace = "http://fsrar.ru/WEGAIS/TTNSingle_v4" 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/CommonV3" 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/CommonV3" schemaLocation = "EGCommonV3.xsd"/> <xs:import namespace = "http://fsrar.ru/WEGAIS/ClientRef_v2" schemaLocation = "ClientRef_v2.xsd"/> <xs:import namespace = "http://fsrar.ru/WEGAIS/ProductRef_v2" schemaLocation = "ProductRef_v2.xsd"/>
<xs:complexType name = "WayBillType_v4"> <xs:annotation> <xs:documentation>Товарно-Транспортная Накладная</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 = "Type" type = "ns:WbType" default = "WBInvoiceFromMe" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Тип накладной: WBInvoiceFromMe - расход; WBReturnToMe - возврат мне; WBInvoiceToMe - приход; WBReturnFromMe - возврат от меня; WBInternal - внутренее перемещение </xs:documentation> </xs:annotation> </xs:element>
<xs:element name = "NUMBER" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Номер документа</xs:documentation> </xs:annotation> </xs:element>
<xs:element name = "Date" type = "c:DateNoTime" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Дата документа</xs:documentation> </xs:annotation> </xs:element>
<xs:element name = "ShippingDate" type = "c:DateNoTime" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Дата отгрузки продукции</xs:documentation> </xs:annotation> </xs:element>
<xs:element name = "Transport" type = "ns:TransportType" minOccurs = "0" 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:element name = "Base" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Основание</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="200"/> </xs:restriction> </xs:simpleType> </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 = "200"/> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name = "VarField1" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Дополнительное примечание 1</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="100"/> </xs:restriction> </xs:simpleType> </xs:element>
<xs:element name = "VarField2" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Дополнительное примечание 2</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base = "xs:string"> <xs:maxLength value = "100"/> </xs:restriction> </xs:simpleType> </xs:element>
<xs:element name = "VarField3" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Дополнительное примечание 3</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base = "xs:string"> <xs:maxLength value = "100"/> </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:PositionType" 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 = "PositionType"> <xs:annotation> <xs:documentation>Позиция</xs:documentation> </xs:annotation> <xs:all> <xs:element name = "Product" type = "pref:ProductInfo_v2" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Информация о продукции</xs:documentation> </xs:annotation> </xs:element>
<xs:element name = "Pack_ID" type = "c:NoEmptyString50" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Идентификатор упаковки</xs:documentation> </xs:annotation> </xs:element>
<xs:element name = "Quantity" type = "c:PositiveDecimalType" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Количество</xs:documentation> </xs:annotation> </xs:element>
<xs:element name = "alcPercent" type = "c:AlcPercentType" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Содержание этилового спирта, %</xs:documentation> </xs:annotation> </xs:element>
<xs:element name = "alcPercentMin" type = "c:AlcPercentType" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Минимальное содержание этилового спирта, %</xs:documentation> </xs:annotation> </xs:element>
<xs:element name = "alcPercentMax" type = "c:AlcPercentType" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Максимальное содержание этилового спирта, %</xs:documentation> </xs:annotation> </xs:element>
<xs:element name = "Price" type = "c:NoNegativeDecimalType" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Цена за единицу товара</xs:documentation> </xs:annotation> </xs:element>
<xs:element name = "Party" type = "c:NoEmptyString50" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Номер партии</xs:documentation> </xs:annotation> </xs:element>
<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 = "EXCISE_NUMBER" nillable = "false" minOccurs = "0" 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 = "EXCISE_DATE" type = "c:DateWTime" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Дата извещения</xs:documentation> </xs:annotation> </xs:element>
<xs:element name = "EXCISE_SUM" type = "c:NoNegativeDecimalType" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Сумма по извещению</xs:documentation> </xs:annotation> </xs:element>
<xs:element name = "EXCISE_BS" type = "c:PositiveDecimalType" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Объем по извещению</xs:documentation> </xs:annotation> </xs:element>
<xs:element name = "EAN13" type = "c:EANType" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>необязательный реквизит EAN13</xs:documentation> </xs:annotation> </xs:element>
<xs:element name = "FARegId" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Справка 1</xs:documentation> </xs:annotation> </xs:element>
<xs:element name = "InformF2" type = "ce:InformF2TypeItemBC" nillable = "false" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Справка 2</xs:documentation> </xs:annotation> </xs:element>
<xs:element name = "boxInfo" minOccurs = "0"> <xs:complexType> <xs:sequence> <xs:element name = "boxtree" type = "ce:boxtype" minOccurs = "1" maxOccurs = "unbounded"/> </xs:sequence> </xs:complexType> </xs:element> </xs:all> </xs:complexType>
<xs:simpleType name = "WbType"> <xs:annotation> <xs:documentation>Типы накладных</xs:documentation> </xs:annotation> <xs:restriction base = "xs:string"> <xs:enumeration value = "WBReturnToMe"/> <xs:enumeration value = "WBInvoiceToMe"/> <xs:enumeration value = "WBReturnFromMe"/> <xs:enumeration value = "WBInvoiceFromMe"/> <xs:enumeration value = "WBInternal"/> </xs:restriction> </xs:simpleType> <xs:simpleType name = "WbUnitType"> <xs:annotation> <xs:documentation>Типы продукции</xs:documentation> </xs:annotation> <xs:restriction base = "xs:string"> <xs:enumeration value = "Packed"/> <xs:enumeration value = "Unpacked"/> </xs:restriction> </xs:simpleType>
<xs:simpleType name = "WbChangeOwnershipType"> <xs:annotation> <xs:documentation>Право собственности</xs:documentation> </xs:annotation> <xs:restriction base = "xs:string"> <xs:enumeration value = "IsChange"/> <xs:enumeration value = "NotChange"/> </xs:restriction> </xs:simpleType>
<xs:simpleType name = "WbCTransportType"> <xs:annotation> <xs:documentation>Тип транспортного средства</xs:documentation> </xs:annotation> <xs:restriction base = "xs:string"> <xs:enumeration value = "car"/> <! --автомобиль--> <xs:enumeration value = "ship"/> <! --водное транспортное средство--> <xs:enumeration value = "railway"/> <! --железнодорожный вагон--> <xs:enumeration value = "aircraft"/> <! --авиационное транспортное средство--> <xs:enumeration value = "other"/> <! --иное--> </xs:restriction> </xs:simpleType>
<xs:complexType name = "TransportType"> <xs:annotation> <xs:documentation>Транспортный раздел</xs:documentation> </xs:annotation> <xs:all> <xs:element name = "ChangeOwnership" type = "ns:WbChangeOwnershipType" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Изменение права собственности</xs:documentation> </xs:annotation> </xs:element> <xs:element name = "TRAN_TYPE" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>Тип перевозки</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base = "xs:string"> <xs:maxLength value = "50"/> </xs:restriction> </xs:simpleType> </xs:element>
<xs:element name = "TRAN_COMPANY" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Название компании перевозчика</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base = "xs:string"> <xs:maxLength value = "255"/> </xs:restriction> </xs:simpleType> </xs:element>
<xs:element name = "TRANSPORT_TYPE" type = "ns:WbCTransportType" minOccurs = "1" maxOccurs = "1"> <xs:annotation> <xs:documentation>транспортное средство</xs:documentation> </xs:annotation> </xs:element>
<xs:element name = "TRANSPORT_REGNUMBER" type = "c:NoEmptyString50" nillable = "false" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Регистрационный номер транспортного средства</xs:documentation> </xs:annotation> </xs:element>
<xs:element name = "TRAN_TRAILER" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Прицеп</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base = "xs:string"> <xs:maxLength value = "255"/> </xs:restriction> </xs:simpleType> </xs:element>
<xs:element name = "TRAN_CUSTOMER" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Заказчики</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base = "xs:string"> <xs:maxLength value = "255"/> </xs:restriction> </xs:simpleType> </xs:element>
<xs:element name = "TRAN_DRIVER" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Водитель</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base = "xs:string"> <xs:maxLength value = "255"/> </xs:restriction> </xs:simpleType> </xs:element>
<xs:element name = "TRAN_LOADPOINT" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Место погрузки</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base = "xs:string"> <xs:maxLength value = "2000"/> </xs:restriction> </xs:simpleType> </xs:element>
<xs:element name = "TRAN_UNLOADPOINT" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Место разгрузки</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base = "xs:string"> <xs:maxLength value = "2000"/> </xs:restriction> </xs:simpleType> </xs:element>
<xs:element name = "TRAN_REDIRECT" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Перенаправление</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base = "xs:string"> <xs:maxLength value = "2000"/> </xs:restriction> </xs:simpleType> </xs:element>
<xs:element name = "TRAN_FORWARDER" minOccurs = "0" maxOccurs = "1"> <xs:annotation> <xs:documentation>Экспедитор</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base = "xs:string"> <xs:maxLength value = "255"/> </xs:restriction> </xs:simpleType> </xs:element> </xs:all> </xs:complexType> </xs:schema>