Schema ModelCatalog.xsd


schema location:  \\Pegas\HDD01\Inetpub\Schemas\Cars\ModelCatalog.xsd
targetNamespace:  http://schemas.toyota.cz/Cars/ModelCatalog.xsd
 
Elements 
ModelCatalog 


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 ModelCatalog
diagram
namespace http://schemas.toyota.cz/Cars/ModelCatalog.xsd
properties
content complex
children Brand
annotation
documentation 
Číselník modelů TMCZ

element ModelCatalog/Brand
diagram
namespace http://schemas.toyota.cz/Cars/ModelCatalog.xsd
properties
isRef 0
content complex
children ModelName
attributes
Name  Type  Use  Default  Fixed  Annotation
name  tt:String20required      
documentation 
Značka (Toyota, Lexus)
annotation
documentation 
Značka

element ModelCatalog/Brand/ModelName
diagram
namespace http://schemas.toyota.cz/Cars/ModelCatalog.xsd
properties
isRef 0
content complex
children Generation
attributes
Name  Type  Use  Default  Fixed  Annotation
name  tt:String20required      
documentation 
Obecný název modelu
annotation
documentation 
Obecný název modelu

element ModelCatalog/Brand/ModelName/Generation
diagram
namespace http://schemas.toyota.cz/Cars/ModelCatalog.xsd
properties
isRef 0
content complex
children Model
attributes
Name  Type  Use  Default  Fixed  Annotation
name  tt:String20required      
annotation
documentation 
Generace modelu

element ModelCatalog/Brand/ModelName/Generation/Model
diagram
namespace http://schemas.toyota.cz/Cars/ModelCatalog.xsd
properties
isRef 0
content complex
children Sfx
attributes
Name  Type  Use  Default  Fixed  Annotation
kata  tt:String5required      
documentation 
Unikátní identifikátor modelu, nemá žádný jiný význam.
modelCode  tt:String20required      
documentation 
Modelový kód, je unikátní pro danou výrobu. Může se opakovat po několika letech. Jednotlivá písmena mají určitý význam např. motor, řízení apod. Pro každý model je struktura modelového kódu odlišná.
grade  tt:String20optional      
documentation 
Stupeň vybavenosti modelu. Textový popis např. Sol aod.
doors  xs:intrequired      
documentation 
Počet dveří.
body  tt:String5required      
documentation 
Tvar karoserie.
engVol  xs:decimalrequired      
documentation 
Objem motoru
engTu  xs:booleanrequired      
documentation 
Příznak, jestli je motor vybaven turbodmychadlem
engFuel  tt:String5required      
documentation 
Typ paliva
trans  tt:String5required      
documentation 
Typ převodovky
gears  xs:intrequired      
documentation 
Počet rychlostních stupňů
annotation
documentation 
Model. Definuje model do úrovně tvaru karoserie, objemu motoru a základních vlasností modelu.

element ModelCatalog/Brand/ModelName/Generation/Model/Sfx
diagram
namespace http://schemas.toyota.cz/Cars/ModelCatalog.xsd
properties
isRef 0
content complex
children Color Spec
attributes
Name  Type  Use  Default  Fixed  Annotation
code  tt:String5required      
documentation 
Kód výbavy modelu.
annotation
documentation 
Výbava modelu

element ModelCatalog/Brand/ModelName/Generation/Model/Sfx/Color
diagram
namespace http://schemas.toyota.cz/Cars/ModelCatalog.xsd
type extension of xs:string
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
ic  tt:String5required      
documentation 
Kód barvy interiéru
ec  tt:String5required      
documentation 
Kód barvy exteriéru
trim  tt:String5required      
documentation 
Kód čalounění (látka, kůže, barva látky)
annotation
documentation 
Dostupné barevné kombinace pro výbavu modelu

element ModelCatalog/Brand/ModelName/Generation/Model/Sfx/Spec
diagram
namespace http://schemas.toyota.cz/Cars/ModelCatalog.xsd
type extension of xs:string
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
from  xs:gYearMonthrequired      
documentation 
Platnost výbavy od
to  xs:gYearMonthrequired      
documentation 
Platnost výbavy do
annotation
documentation 
Historie výbavy modelu

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
used by
attributes ModelCatalog/Brand/ModelName/Generation/Model/@grade ModelCatalog/Brand/ModelName/Generation/Model/@modelCode ModelCatalog/Brand/ModelName/Generation/@name ModelCatalog/Brand/ModelName/@name ModelCatalog/Brand/@name
facets
pattern ([\w]|[-]|[/]|[\s]){1,20}

simpleType tt:String5
namespace http://schemas.toyota.cz/Types.xsd
type restriction of xs:string
used by
attributes ModelCatalog/Brand/ModelName/Generation/Model/@body ModelCatalog/Brand/ModelName/Generation/Model/Sfx/@code ModelCatalog/Brand/ModelName/Generation/Model/Sfx/Color/@ec ModelCatalog/Brand/ModelName/Generation/Model/@engFuel ModelCatalog/Brand/ModelName/Generation/Model/Sfx/Color/@ic ModelCatalog/Brand/ModelName/Generation/Model/@kata ModelCatalog/Brand/ModelName/Generation/Model/@trans ModelCatalog/Brand/ModelName/Generation/Model/Sfx/Color/@trim
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
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