PurchaseOrder Schema
PurchaseOrder Schema / USAddress Complex Type
In This Topic
    USAddress Complex Type
    In This Topic
    Description
    Describes a standard US postal address.
    Namespace (none)
    Diagram
    zip Element state Element city Element street Element name Element Sequence USAddress Complex Type
    Overview
    USAddress
    Describes a standard US postal address.
    country optional xs:NMTOKEN
    The country name.
    Sequence
    name xs:string
    The name of the recipient.
    street xs:string
    The street name and house number.
    city xs:string
    The city name.
    state xs:string
    The state name.
    zip xs:decimal
    The zip code.
    Used By
    Attributes
    NameTypeUseDefaultFixedDescription
    countryxs:NMTOKENoptional USThe country name.
    Source
    <xs:complexType name="USAddress" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:annotation>
        <xs:documentation xml:lang="en">Describes a standard US postal address.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
        <xs:element name="name" type="xs:string">
          <xs:annotation>
            <xs:documentation xml:lang="en">The name of the recipient.</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="street" type="xs:string">
          <xs:annotation>
            <xs:documentation xml:lang="en">The street name and house number.</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="city" type="xs:string">
          <xs:annotation>
            <xs:documentation xml:lang="en">The city name.</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="state" type="xs:string">
          <xs:annotation>
            <xs:documentation xml:lang="en">The state name.</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="zip" type="xs:decimal">
          <xs:annotation>
            <xs:documentation xml:lang="en">The zip code.</xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
      <xs:attribute name="country" type="xs:NMTOKEN" fixed="US">
        <xs:annotation>
          <xs:documentation xml:lang="en">The country name.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
    See Also