ZVON > References > UDDI Reference
Element address [ v2 ]
Occurs in [ ] - [ ]     (comparison )
Parents contact
Description An address. Use the useType attribute to signify purpose. Use the sortCode attribute to signify associated software make/product/version. Use the tModelKey to signify the context or namespace of keyName/keyValue markeup on individual addressLine elements.
Attributes
sortCode
Used to convey application specific rules. Typically a URN identifying the application manufacturer, application, and version. Ex. "urn:foo-com:foocontactMgr:v-1-0"

tModelKey
A reference to a tModel. Usually used to represent the context to understand the keyName and keyValue values.

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="address">
   <xsd:complexType>
      <xsd:sequence>
         <xsd:element ref="addressLine" minOccurs="0" maxOccurs="unbounded"/>
      </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>

Expanded XML Schema

<xsd:element name="address">
   <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>