<xs:maxLength value='20' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='C_25'>
<xs:restriction base='xs:string'>
<xs:maxLength value='25' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='C_30'>
<xs:restriction base='xs:string'>
<xs:maxLength value='30' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='C_35'>
<xs:restriction base='xs:string'>
<xs:maxLength value='35' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='NC_40'>
<xs:restriction base='xs:string'>
<xs:maxLength value='40' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='C_50'>
<xs:restriction base='xs:string'>
<xs:maxLength value='60' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='C_60'>
<xs:restriction base='xs:string'>
<xs:maxLength value='60' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='C_70'>
<xs:restriction base='xs:string'>
<xs:maxLength value='70' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='NC_80'>
<xs:restriction base='xs:string'>
<xs:maxLength value='80' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='C_100'>
<xs:restriction base='xs:string'>
<xs:maxLength value='100' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='C_120'>
<xs:restriction base='xs:string'>
<xs:maxLength value='120' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='C_128'>
<xs:restriction base='xs:string'>
<xs:maxLength value='128' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='C_150'>
<xs:restriction base='xs:string'>
<xs:maxLength value='150' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='C_200'>
<xs:restriction base='xs:string'>
<xs:maxLength value='200' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='C_250'>
<xs:restriction base='xs:string'>
<xs:maxLength value='250' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='C_300'>
<xs:restriction base='xs:string'>
<xs:maxLength value='300' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='C_400'>
<xs:restriction base='xs:string'>
<xs:maxLength value='400' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='C_500'>
<xs:restriction base='xs:string'>
<xs:maxLength value='500' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='C_800'>
<xs:restriction base='xs:string'>
<xs:maxLength value='800' />
</xs:restriction>
</xs:simpleType>
<!-- fractional types -->
<xs:simpleType name='N_2_4'>
<xs:restriction base='xs:decimal'>
<xs:totalDigits value='6' />
<xs:fractionDigits value='4' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='N_6_1'>
<xs:restriction base='xs:decimal'>
<xs:totalDigits value='7' />
<xs:fractionDigits value='1' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='N_6_3'>
<xs:restriction base='xs:decimal'>
<xs:totalDigits value='9' />
<xs:fractionDigits value='3' />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name='N_20_4'>
<xs:restriction base='xs:decimal'>
<xs:totalDigits value='24' />
<xs:fractionDigits value='4' />
</xs:restriction>
</xs:simpleType>
</xs:schema>
<?xml version="1.0" encoding="utf-8"?>
<xs:schema
targetNamespace="uz:rwc:document:project:1.1"
attributeFormDefault="unqualified"
elementFormDefault="qualified"
xmlns:tns="uz:rwc:document:project:1.1"
xmlns:xs="http://www. w3.org/2001/XMLSchema"
xmlns:common="uz:rwc:document:common:1.1"
xmlns:project="uz:rwc:document:project:1.1"
>
<xs:import namespace="uz:rwc:document:common:1.1"/>
<xs:element name='changes'>
<xs:complexType>
<xs:choice maxOccurs='unbounded'>
<xs:element name='delete' type="project:changes" />
<xs:element name='insert' type="project:changes" />
<xs:element name='update' type="project:changes" />
</xs:choice>
</xs:complexType>
</xs:element>
<!-- changes begin -->
<xs:complexType name='changes'>
<xs:complexContent >
<xs:extension base='common:changes'>
<xs:choice >
<xs:element name='OTPR'>
<xs:complexType >
<xs:complexContent >
<xs:extension base='project:base-consignment'>
<xs:attribute name='admin_nazn' type='common:N_2' use='optional'/>
<xs:attribute name='admin_otpr' type='common:N_2' use='optional'/>
<xs:attribute name='country_nazn' type='common:N_3' use='optional'/>
<xs:attribute name='country_otpr' type='common:N_3' use='optional'/>
<xs:attribute name='esr_name_nazn' type='common:C_30' use='optional'/>
<xs:attribute name='esr_name_nazn_real' type='common:C_30' use='optional'/>
<xs:attribute name='esr_nazn' type='common:EsrCode' use='optional'/>
<xs:attribute name='esr_nazn_real' type='common:EsrCode' use='optional'/>
<xs:attribute name='esr_otpr' type='common:EsrCode' use='optional'/>
<xs:attribute name='esr_otpr_real' type='common:EsrCode' use='optional'/>
<xs:attribute name='kod_doc' type='common:N_3' use='optional'/>
<xs:attribute name='loader' type='common:LoaderKind' use='optional'/>
<xs:attribute name='rab_esr' type='common:N_2' use='optional'/>
<xs:attribute name='speed' type='common:SpeedKind' use='optional'/>
<xs:attribute name='type_pay' type='common:PayKind' use='optional'/>
<xs:attribute name='vid' type='common:ConsignmentCategory' use='optional'/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name='CIM_INFO' type='common:cim-info'/>
<xs:element name='CLIENT'>
<xs:complexType >
<xs:complexContent >
<xs:extension base='project:base-client'>
<xs:attribute name='kod' type='common:ClientCode4' use='optional'/>
<xs:attribute name='name' type='common:C_300' use='optional'/>
<xs:attribute name='type' type='common:ClientKind' use='optional'/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name='CLIENT_LOC'>
<xs:complexType >
<xs:complexContent >
<xs:extension base='common:client-loc'>
<xs:attribute name='lang' type='common:CimLang' use='optional'/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name='COM_COND' type='common:com-cond'/>
<xs:element name='CONT'>
<xs:complexType >
<xs:complexContent >
<xs:extension base='project:base-container'/>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name='COLLECT_K'>
<xs:complexType >
<xs:complexContent >
<xs:extension base='common:collect'>
<xs:attribute name='kod_etsng' type='common:EtsngCode' use='optional'/>
<xs:attribute name='name_etsng' type='common:C_800' use='optional'/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name='ZPU_K' type='common:zpu'/>
<xs:element name='FROM_TO_LOC'>
<xs:complexType >
<xs:complexContent >
<xs:extension base='common:from-to-loc'>
<xs:attribute name='lang' type='common:CimLang' use='optional'/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name='JOINT'>
<xs:complexType >
<xs:complexContent >
<xs:extension base='project:base-joint'/>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name='JOINT_LOC'>
<xs:complexType >
<xs:complexContent >
<xs:extension base='common:joint-loc'>
<xs:attribute name='lang' type='common:CimLang' use='optional'/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name='OTPRDP' type='common:old-document-info'/>
<xs:element name='PAC' type='common:pac'/>
<xs:element name='PL'>
<xs:complexType >
<xs:complexContent >
<xs:extension base='project:base-payer'/>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name='PL_LOC'>
<xs:complexType >
<xs:complexContent >
<xs:extension base='common:pl-loc'>
<xs:attribute name='lang' type='common:CimLang' use='optional'/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name='SEND_STAT' type='common:send-stat'/>
<xs:element name='SHTEMPEL' type='common:shtempel-info'/>
<xs:element name='SPEC_COND' type='common:spec-cond'/>
<xs:element name='TEXT' type='common:text'/>
<xs:element name='VAGON'>
<xs:complexType >
<xs:complexContent >
<xs:extension base='project:base-wagon'/>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name='COLLECT_V'>
<xs:complexType >
<xs:complexContent >
<xs:extension base='common:collect'>
<xs:attribute name='kod_etsng' type='common:EtsngCode' use='optional'/>
<xs:attribute name='name_etsng' type='common:C_800' use='optional'/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name='TOOLS' type='common:tools'/>
<xs:element name='ZPU_V' type='common:zpu'/>
</xs:choice>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name='insertions'>
<xs:complexContent >
<xs:extension base='common:changes'>
<xs:choice >
<xs:element name='CIM_INFO' type='common:cim-info'/>
<xs:element name='CLIENT' type='project:client'/>
<xs:element name='CLIENT_LOC' type='common:client-loc'/>
<xs:element name='COM_COND' type='common:com-cond'/>
<xs:element name='CONT' type='project:container'/>
<xs:element name='COLLECT_K' type='common:collect'/>
<xs:element name='ZPU_K' type='common:zpu'/>
<xs:element name='FROM_TO_LOC' type='common:from-to-loc'/>
<xs:element name='JOINT' type='project:joint'/>
<xs:element name='JOINT_LOC' type='common:joint-loc'/>
<xs:element name='OTPRDP' type='common:old-document-info'/>
<xs:element name='PAC' type='common:pac'/>
<xs:element name='PL' type='project:payer'/>
<xs:element name='PL_LOC' type='common:pl-loc'/>
<xs:element name='SEND_STAT' type='common:send-stat'/>
<xs:element name='SHTEMPEL' type='common:shtempel-info'/>
<xs:element name='SPEC_COND' type='common:spec-cond'/>
<xs:element name='TEXT' type='common:text'/>
<xs:element name='VAGON' type='project:wagon'/>
<xs:element name='COLLECT_V' type='common:collect'/>
<xs:element name='TOOLS' type='common:tools'/>
<xs:element name='ZPU_V' type='common:zpu'/>
</xs:choice>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- changes end -->
<xs:element name="OTPR" type="project:consignment">
</xs:element>
<xs:complexType name="consignment">
<xs:complexContent>
<xs:extension base="project:base-consignment">
<xs:sequence >
<xs:element name='CIM_INFO' type='common:cim-info' minOccurs='0' />
<xs:element name='CLIENT' type='project:client' minOccurs='2' maxOccurs='2'/>
<xs:element name='COM_COND' type='common:com-cond' minOccurs='0' maxOccurs='unbounded'/>
<xs:element name='CONT' type='project:container' minOccurs='0' maxOccurs='unbounded' />
<xs:element name='FROM_TO_LOC' type='common:from-to-loc' minOccurs='0' maxOccurs='unbounded' />
<xs:element name='JOINT' type='project:joint' minOccurs='0' maxOccurs='100' />
<xs:element name='OTPRDP' type='common:old-document-info' minOccurs='0' />
<xs:element name='PAC' type='common:pac' minOccurs='0' />
<xs:element name='PL' type='project:payer' minOccurs='1' maxOccurs='unbounded' />
<xs:element name='VAGON' type='project:wagon' minOccurs='0' maxOccurs='120' />
<xs:element name='SEND_STAT' type='common:send-stat' minOccurs='0' maxOccurs='unbounded'/>
<xs:element name='SHTEMPEL' type='common:shtempel-info' minOccurs='0' />
<xs:element name='SPEC_COND' type='common:spec-cond' minOccurs='0' maxOccurs='unbounded'/>
<xs:element name='TEXT' type='common:text' minOccurs='0' />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name='base-consignment'>
<xs:attributeGroup ref='project:consignment-attributes' />
</xs:complexType>
<xs:attributeGroup name='consignment-attributes'>
<xs:attribute name='kod_doc' type='common:N_3' use='required' >
<xs:annotation>
<xs:documentation>Код документу </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='speed' type='common:SpeedKind' use='required'>
<xs:annotation>
<xs:documentation>Код швидкості</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='srok_end' type='common:Date' >
<xs:annotation>
<xs:documentation>Термін доставки вантажу</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='nom_plan' type='common:N_10' >
<xs:annotation>
<xs:documentation>Номер плану навантаження</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='vid' type='common:ConsignmentCategory' use='required' >
<xs:annotation>
<xs:documentation>Категорія відправки </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='nom_marsh_grot' type='common:N_6' >
<xs:annotation>
<xs:documentation>Номер маршруту відправника</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='vid_marsh' type='common:SenderRouteKind' >
<xs:annotation>
<xs:documentation>Вид маршруту відправника</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='admin_otpr' type='common:N_2' use='required' >
<xs:annotation>
<xs:documentation>Код залізничної адміністрації відправлення</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='country_otpr' type='common:N_3' use='required'>
<xs:annotation>
<xs:documentation>Код країни відправлення </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='esr_otpr' type='common:EsrCode' use='required'>
<xs:annotation>
<xs:documentation>Код станції первинної відправлення або ввозу на УЗ </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='type_pay' type='common:PayKind' use='required'>
<xs:annotation>
<xs:documentation>Вид розрахунку</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='nom_doc' type='common:N_8' >
<xs:annotation>
<xs:documentation>Номер документу </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='nоm_park' type='common:N_2' >
<xs:annotation>
<xs:documentation>Номер парку </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='nom_declar' type='common:C_15' >
<xs:annotation>
<xs:documentation>Номер митної декларації</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='pr_vohr' type='common:VOhrKind'>
<xs:annotation>
<xs:documentation>Охорона вантажу</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='kol_conductor' type='common:N_2' >
<xs:annotation>
<xs:documentation>Кількість провідників</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='metod' type='common:N_2' >
<xs:annotation>
<xs:documentation>Код способу визначення маси (обов'язковий, якщо контейнер або вагон не порожній) </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='loader' type='common:LoaderKind' use='required'>
<xs:annotation>
<xs:documentation>Навантаження засобами</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='value' type='common:N_13' >
<xs:annotation>
<xs:documentation>Об'явлена цінність вантажу </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='val_gr' type='common:N_3' >
<xs:annotation>
<xs:documentation>Код валюти цінності вантажу</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='pr_locom' type='common:LocoModeKind' >
<xs:annotation>
<xs:documentation>Ознака подачі одиночного локомотиву</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='vid_perev' type='common:CarriageKind' >
<xs:annotation>
<xs:documentation>Вид перевезення </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='admin_nazn' type='common:N_2' use='required'>
<xs:annotation>
<xs:documentation>Код залізничної адміністрації призначення </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='country_nazn' type='common:N_3' use='required'>
<xs:annotation>
<xs:documentation>Код країни призначення </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='esr_nazn_real' type='common:EsrCode' use='required'>
<xs:annotation>
<xs:documentation>Код реальної станції призначення (виставляється для експортних відправок)</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='esr_nazn' type='common:EsrCode' use='required'>
<xs:annotation>
<xs:documentation>Код станції призначення або вивозу з УЗ </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='esr_nakop' type='common:EsrCode' >
<xs:annotation>
<xs:documentation>Станція накопичення</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='freeze' type='common:CoolingKind' >
<xs:annotation>
<xs:documentation>Ознака попереднього охолодження швидкопсувних вантажів</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='pr_freeze' type='common:N_1' >
<xs:annotation>
<xs:documentation>Ознака охолодження </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='esr_name_nazn' type='common:C_30' use='required'>
<xs:annotation>
<xs:documentation>Найменування cтанції призначення або входу на УЗ</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='esr_name_nazn_real' type='common:C_30' use='required'>
<xs:annotation>
<xs:documentation>Найменування реальної станції призначення</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='esr_otpr_real' type='common:EsrCode' use='required'>
<xs:annotation>
<xs:documentation>Код станції відправлення (виставляється для імпортних відправок)</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='kod_marsh_grot' type='common:N_4'>
<xs:annotation>
<xs:documentation>Код типу маршруту, з класифікатора типів маршрутів та поїздів</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='esr_rz_marsh_grot' type='common:EsrCode'>
<xs:annotation>
<xs:documentation>Код станції розпилення маршруту</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='priznak' type='common:NotWorking'>
<xs:annotation>
<xs:documentation>Ознака неробочого парку</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='rab_esr' type='common:N_2' use='required' >
<xs:annotation>
<xs:documentation>Вид роботи станції</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:complexType name='base-payer'>
<xs:attributeGroup ref='common:payer-attributes' />
</xs:complexType>
<xs:complexType name='payer'>
<xs:complexContent>
<xs:extension base='project:base-payer'>
<xs:sequence >
<xs:element name='PL_LOC' type='common:pl-loc' minOccurs='0' maxOccurs='2' />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
|
Из за большого объема этот материал размещен на нескольких страницах:
1 2 3 4 5 6 7 8 9 10 |


