Schema SalesOrder.xsd


schema location:  \\Pegas\HDD01\Inetpub\Schemas\Parts\SalesOrder.xsd
targetNamespace:  http://schemas.toyota.cz/Parts/SalesOrder.xsd
 
Elements 
Orders 


schema location:  \\Pegas\HDD01\Inetpub\Schemas\types.xsd
targetNamespace:  http://schemas.toyota.cz/Types.xsd
 
Elements  Simple types 
VINe  Currency 
DealerCode 
DealerWarrCode 
Email 
OperationNumber 
PartNumber 
Phone 
String20 
String5 
URL 
VDS 
VIN 
VIS 
WMI 


element Orders
diagram
namespace http://schemas.toyota.cz/Parts/SalesOrder.xsd
properties
content complex
children Order

element Orders/Order
diagram
namespace http://schemas.toyota.cz/Parts/SalesOrder.xsd
properties
isRef 0
content complex
children Line
attributes
Name  Type  Use  Default  Fixed  Annotation
number  tt:String20required      
documentation 
Číslo objednávky. Musí být unikátní v jednom kalendářním roce.
documentation 
Order number. Must be unique in one year.
campaignCode  tt:String20optional      
createDate  xs:dateTimerequired      
documentation 
Datum a čas vytvoření objednávky
documentation 
Date and time of order creation
deliveryDueDate  xs:dateoptional      
documentation 
Maximální datum dodání objednaných dílů.
documentation 
Latest delivery date of ordered spare parts.
oneTime  xs:booleanoptional      
documentation 
Příznak, že se mají dodat objednané díly najednou.
documentation 
Indicates one time delivery of all ordered parts
invoiceTo  tt:String20required      
documentation 
Kód dealera, kterému bude vystavena faktura za náhradní díly
documentation 
Dealer's code who will be invoiced
shipTo  tt:String20optional      
documentation 
Kód dealera nebo pobočky, kam budou dodány náhradní díly.
documentation 
Dealer's code of brach, whom will be ordered parts delivered to.
trade  tt:String20optional      
documentation 
Kód velkoodběratele. Dealer uvádí v případě přeprodeje náhradních dílů.
documentation 
Dealer's trade partner's code. Being used in case of re-sale
annotation
documentation 
Objednávka náhradních dílů
documentation 
Spare parts order

element Orders/Order/Line
diagram
namespace http://schemas.toyota.cz/Parts/SalesOrder.xsd
properties
isRef 0
content complex
children Note DelNote
attributes
Name  Type  Use  Default  Fixed  Annotation
number  xs:integerrequired      
pn  tt:PartNumberrequired      
documentation 
Číslo náhradního dílu
documentation 
Part number
qty  xs:integerrequired      
documentation 
Počet objednaných dílů
documentation 
Quantity of ordered parts
orderCode  tt:String20required      
documentation 
Objednací kód
documentation 
Order code
keyCode  xs:stringoptional      
documentation 
Kód klíče. Používá se jen v případě, že je na řádce objednán klíč k vozu
documentation 
Code of car-key. Used only if key is ordered.
VIN  optional      
annotation
documentation 
Řádka objednávky náhradních dílů
documentation 
Line of spare parts order

element Orders/Order/Line/Note
diagram
namespace http://schemas.toyota.cz/Parts/SalesOrder.xsd
type xs:string
properties
isRef 0
content simple

element Orders/Order/Line/DelNote
diagram
namespace http://schemas.toyota.cz/Parts/SalesOrder.xsd
type xs:string
properties
isRef 0
content simple

element tt:VINe
diagram
namespace http://schemas.toyota.cz/Types.xsd
type extension of xs:anyType
properties
content complex
mixed true
attributes
Name  Type  Use  Default  Fixed  Annotation
wmi  tt:WMI      
vds  tt:VDS      
vis  tt:VIS      

simpleType tt:Currency
namespace http://schemas.toyota.cz/Types.xsd
type restriction of xs:string
facets
length 3
enumeration CZK
enumeration EUR
enumeration USD
enumeration JPY
enumeration SKK
enumeration DKK
enumeration CAD
enumeration XDR
enumeration HUF
enumeration NOK
enumeration NZD
enumeration PLN
enumeration SIT
enumeration SEK
enumeration GBP
enumeration CHF
enumeration XEU
enumeration FIM
enumeration IEP
enumeration LUF
enumeration PTE
enumeration ATD
enumeration GRD
enumeration ESP
enumeration XCU
enumeration BGN
enumeration EEK
enumeration HKD
enumeration ISK
enumeration ZAR
enumeration KRW
enumeration CYP
enumeration LTL
enumeration LVL
enumeration MTL
enumeration ROL
enumeration SGD
enumeration TRL

simpleType tt:DealerCode
namespace http://schemas.toyota.cz/Types.xsd
type restriction of xs:string
facets
minLength 3
maxLength 4
pattern ^[A-Za-z0-9]{3,4}$

simpleType tt:DealerWarrCode
namespace http://schemas.toyota.cz/Types.xsd
type restriction of xs:string
facets
minLength 4
maxLength 4
pattern ^0[0-9]{3}$

simpleType tt:Email
namespace http://schemas.toyota.cz/Types.xsd
type restriction of xs:string
facets
pattern ^([\w\-\.]+)@([\w-]+\.)+([a-zA-Z]{2,4})$

simpleType tt:OperationNumber
namespace http://schemas.toyota.cz/Types.xsd
type restriction of xs:string
facets
pattern ^[a-z0-9A-Z]{7}$

simpleType tt:PartNumber
namespace http://schemas.toyota.cz/Types.xsd
type restriction of xs:string
used by
attribute Orders/Order/Line/@pn
facets
pattern ^([a-z0-9A-Z]{5}-[a-z0-9A-Z]{5}-[a-z0-9A-Z]{1,2})|([a-z0-9A-Z]{5}-[a-z0-9A-Z]{1,5})|([a-z0-9A-Z]{3,5})$

simpleType tt:Phone
namespace http://schemas.toyota.cz/Types.xsd
type restriction of xs:string
facets
pattern ^\+?[0-9 -]{3,}$

simpleType tt:String20
namespace http://schemas.toyota.cz/Types.xsd
type restriction of xs:string
used by
attributes Orders/Order/@campaignCode Orders/Order/@invoiceTo Orders/Order/@number Orders/Order/Line/@orderCode Orders/Order/@shipTo Orders/Order/@trade
facets
pattern ([\w]|[-]|[/]|[\s]){1,20}

simpleType tt:String5
namespace http://schemas.toyota.cz/Types.xsd
type restriction of xs:string
facets
pattern ^([\w]|[-]|[/]){1,5}$

simpleType tt:URL
namespace http://schemas.toyota.cz/Types.xsd
type restriction of xs:string
facets
pattern ^(https?://)?(([\w]|[-])+[.])+([a-zA-Z]{2,4}){1}([-]|[_]|[~]|[&]|[=]|[\?]|[\.]|[a-z]|[0-9]|[/])*$

simpleType tt:VDS
namespace http://schemas.toyota.cz/Types.xsd
type restriction of xs:string
used by
attribute tt:VINe/@vds
facets
minLength 5
maxLength 6
pattern ^[0-9A-Za-z]{5,6}$

simpleType tt:VIN
namespace http://schemas.toyota.cz/Types.xsd
type restriction of xs:string
used by
element Orders/Order/Line
facets
minLength 17
maxLength 17
pattern ^[0-9A-Za-z]{17}$

simpleType tt:VIS
namespace http://schemas.toyota.cz/Types.xsd
type restriction of xs:string
used by
attribute tt:VINe/@vis
facets
minLength 8
maxLength 9
pattern ^[0-9A-Za-z]{8,9}$

simpleType tt:WMI
namespace http://schemas.toyota.cz/Types.xsd
type restriction of xs:string
used by
attribute tt:VINe/@wmi
facets
minLength 3
maxLength 3
pattern ^[0-9A-Za-z]{3}$


XML Schema documentation generated with
XMLSPY Schema Editor http://www.altova.com/xmlspy