Schema VehicleHistory.xsd


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


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

element VehiclesHistory/VehicleHistory
diagram
namespace http://schemas.toyota.cz/Service/VehicleHistory.xsd
properties
isRef 0
content complex
children WarrantyClaims RepairOrders TechnicalReports DiagForms HotLineRecords OwnerChanges
attributes
Name  Type  Use  Default  Fixed  Annotation
vin  tt:VIN      
historyDate  xs:date      

element VehiclesHistory/VehicleHistory/WarrantyClaims
diagram
namespace http://schemas.toyota.cz/Service/VehicleHistory.xsd
properties
isRef 0
content complex

element VehiclesHistory/VehicleHistory/RepairOrders
diagram
namespace http://schemas.toyota.cz/Service/VehicleHistory.xsd
properties
isRef 0
content complex

element VehiclesHistory/VehicleHistory/TechnicalReports
diagram
namespace http://schemas.toyota.cz/Service/VehicleHistory.xsd
properties
isRef 0
content complex

element VehiclesHistory/VehicleHistory/DiagForms
diagram
namespace http://schemas.toyota.cz/Service/VehicleHistory.xsd
properties
isRef 0
content complex

element VehiclesHistory/VehicleHistory/HotLineRecords
diagram
namespace http://schemas.toyota.cz/Service/VehicleHistory.xsd
properties
isRef 0
content complex

element VehiclesHistory/VehicleHistory/OwnerChanges
diagram
namespace http://schemas.toyota.cz/Service/VehicleHistory.xsd
properties
isRef 0
content complex

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
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
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
attribute VehiclesHistory/VehicleHistory/@vin
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