Files
cms_thermo_active/Thermo.Active.Config/Config/customerContactConfigValidator.xsd
T
2020-04-09 13:15:01 +02:00

31 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="ContactInfo">
<xs:complexType>
<xs:all>
<xs:element name="MainOffice" type="contactType"></xs:element>
<xs:element name="AuxOffice1" type="auxContactType"></xs:element>
<xs:element name="AuxOffice2" type="auxContactType"></xs:element>
</xs:all>
</xs:complexType>
</xs:element>
<!-- Contact Type -->
<xs:complexType name="contactType">
<xs:all>
<xs:element name="company" minOccurs='1' maxOccurs='1'/>
<xs:element name="email" minOccurs='1' maxOccurs='1'/>
<xs:element name="phoneNumber" minOccurs='1' maxOccurs='1'/>
<xs:element name="moreInfoUrl" minOccurs='1' maxOccurs='1'/>
</xs:all>
</xs:complexType>
<xs:complexType name="auxContactType">
<xs:all>
<xs:element name="visible" minOccurs='1' maxOccurs='1'/>
<xs:element name="name" minOccurs='1' maxOccurs='1'/>
<xs:element name="email" minOccurs='1' maxOccurs='1'/>
<xs:element name="phoneNumber" minOccurs='1' maxOccurs='1'/>
</xs:all>
</xs:complexType>
</xs:schema>