Schema AvaRequest.xsd


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


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 


schema location:  \\Pegas\HDD01\Inetpub\Schemas\Parts\salesordercode.xsd
targetNamespace:  http://schemas.toyota.cz/Parts/SalesOrderCode.xsd
 
Elements  Simple types 
SalesOrderCodes  discountType 


element AvaRequest
diagram
namespace http://schemas.toyota.cz/Parts/AvaRequest.xsd
properties
content complex
children Line
attributes
Name  Type  Use  Default  Fixed  Annotation
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 
Používá se na zjištění dostupnosti náhradních dílů a jejich cen
documentation 
Used to find out parts availibility and prices

element AvaRequest/Line
diagram
namespace http://schemas.toyota.cz/Parts/AvaRequest.xsd
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
refID  xs:integerrequired      
documentation 
Referční identifikátor. Stejné id se objeví v odpovědi AvaResponse
documentation 
Reference ID. Will be the same in AvaResponse.
pn  tt:PartNumberrequired      
documentation 
Požadované číslo náhradního dílu.
documentation 
Requested part number
qty  xs:integerrequired      
documentation 
Počet požadovaných dílů
documentation 
Quantity of requested parts
discountType  required      
documentation 
Objednací kód
documentation 
Order code
annotation
documentation 
Řádka objednávky náhradních dílů
documentation 
Line of spare parts order

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 AvaRequest/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 AvaRequest/@invoiceTo AvaRequest/@shipTo AvaRequest/@trade
facets
pattern ([\w]|[-]|[/]|[\s]){1,20}

simpleType tt:String5
namespace http://schemas.toyota.cz/Types.xsd
type restriction of xs:string
used by
attribute soc:SalesOrderCodes/SalesOrderCode/@code
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}$

element soc:SalesOrderCodes
diagram
namespace http://schemas.toyota.cz/Parts/SalesOrderCode.xsd
properties
content complex
children SalesOrderCode

element soc:SalesOrderCodes/SalesOrderCode
diagram
namespace http://schemas.toyota.cz/Parts/SalesOrderCode.xsd
properties
isRef 0
content complex
children Description
attributes
Name  Type  Use  Default  Fixed  Annotation
code  tt:String5      
discountType  soc:discountType      
dateFrom  xs:daterequired      
dateTo  xs:dateoptional      

element soc:SalesOrderCodes/SalesOrderCode/Description
diagram
namespace http://schemas.toyota.cz/Parts/SalesOrderCode.xsd
type xs:string
properties
isRef 0
content simple

simpleType soc:discountType
namespace http://schemas.toyota.cz/Parts/SalesOrderCode.xsd
type xs:string
used by
element AvaRequest/Line
attribute soc:SalesOrderCodes/SalesOrderCode/@discountType


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