ZVON > References > UDDI Reference
Element contact [ v2 ]
Occurs in [ ] - [ ]     (comparison )
Parents contacts
Description Data: a contact
Attributes
useType
Descriptive attribute. Used to convey the intended use. Suggested values are URN identifying the intended use. Ex. "urn:contact:technical"



XML Schema

<xsd:element name="contact">
   <xsd:complexType>
      <xsd:sequence>
         <xsd:element ref="description" minOccurs="0" maxOccurs="unbounded"/>
         <xsd:element ref="personName"/>
         <xsd:element ref="phone" minOccurs="0" maxOccurs="unbounded"/>
         <xsd:element ref="email" minOccurs="0" maxOccurs="unbounded"/>
         <xsd:element ref="address" minOccurs="0" maxOccurs="unbounded"/>
      </xsd:sequence>
      <xsd:attribute name="useType" type="xsd:string"/>
   </xsd:complexType>
</xsd:element>

Expanded XML Schema

<xsd:element name="contact">
   <xsd:complexType>
      <xsd:sequence>
         <xsd:element name="description" maxOccurs="unbounded" minOccurs="0" type="xsd:string"/>
         <xsd:element name="personName" type="xsd:string"/>
         <xsd:element name="phone" maxOccurs="unbounded" minOccurs="0">
            <xsd:complexType>
               <xsd:simpleContent>
                  <xsd:extension base="xsd:string">
                     <xsd:attribute name="useType" type="xsd:string"/>
                  </xsd:extension>
               </xsd:simpleContent>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="email" maxOccurs="unbounded" minOccurs="0">
            <xsd:complexType>
               <xsd:simpleContent>
                  <xsd:extension base="xsd:string">
                     <xsd:attribute name="useType" type="xsd:string"/>
                  </xsd:extension>
               </xsd:simpleContent>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="address" maxOccurs="unbounded" minOccurs="0">
            <xsd:complexType>
               <xsd:sequence>
                  <xsd:element name="addressLine" maxOccurs="unbounded" minOccurs="0">
                     <xsd:complexType>
                        <xsd:simpleContent>
                           <xsd:extension base="xsd:string">
                              <xsd:attribute name="keyName" type="xsd:string"/>
                              <xsd:attribute name="keyValue" type="xsd:string"/>
                           </xsd:extension>
                        </xsd:simpleContent>
                     </xsd:complexType>
                  </xsd:element>
               </xsd:sequence>
               <xsd:attribute name="useType" type="xsd:string"/>
               <xsd:attribute name="sortCode" type="xsd:string"/>
               <xsd:attribute name="tModelKey" type="xsd:string"/>
            </xsd:complexType>
         </xsd:element>
      </xsd:sequence>
      <xsd:attribute name="useType" type="xsd:string"/>
   </xsd:complexType>
</xsd:element>