Schema FlatRate.xsd


schema location:  \\Pegas\HDD01\Inetpub\Schemas\Service\FlatRate.xsd
targetNamespace:  http://schemas.toyota.cz/Service/FlatRate.xsd
 
Elements 
FlatRates 


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 FlatRates
diagram
namespace http://schemas.toyota.cz/Service/FlatRate.xsd
properties
content complex
children FlatRate

element FlatRates/FlatRate
diagram
namespace http://schemas.toyota.cz/Service/FlatRate.xsd
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
f  required      
documentation 
rozlišení Toyota / Lexus
documentation 
franchise (Toyota / Lexus)
wmi  tt:WMIoptional      
documentation 
kód výrobce a země původu
documentation 
world manufacturer identifier
vds  tt:VDSrequired      
documentation 
VDS kód (prostřední část VINu) který do určité míry definuje model
documentation 
Vehicle Description Section
oc  tt:OperationNumberrequired      
documentation 
číslo operace
documentation 
operation number
t  xs:decimaloptional      
documentation 
časová norma pro danou operaci, a model (Toyota/Lexus, WMI, VDS)
documentation 
labour time of specified operation for specifid model (Toyota/Lexus, WMI, VDS)
tp  required      
documentation 
typ operace :
- FR - Flat Rate, standardní operace z Flat Rate manuálu
- TO - TMCZ operation - operace definovaná distributorem
- DO - dealer operation - operace definovaná dealerem
- SO - special operation - speciální operace definované pro recally
- PO - Paint operation - operace týkající se laku
documentation 
operation type :
- FR - standard Flat Rate operation
- TO - TMCZ operation - defined by distributor
- DO - dealer operation - defined by dealer
- SO - special operation - for recalls
- PO - Paint operation 

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
used by
attribute FlatRates/FlatRate/@oc
facets
pattern ^[a-z0-9A-Z]{7}$

simpleType tt:PartNumber
namespace http://schemas.toyota.cz/Types.xsd
type restriction of xs:string
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
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
attributes FlatRates/FlatRate/@vds 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
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
attributes FlatRates/FlatRate/@wmi 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