<xs:complexType name="Endereco">
<xs:annotation>
<xs:documentation>Endereço define o conjunto de elementos que compõem um endereço.</xs:documentation>
<xs:appinfo>
<hj:entity xmlns:hj="http://hyperjaxb3.jvnet.org/ejb/schemas/customizations">
<orm:sequence-generator name="Generator_ENDERECO" sequence-name="SEQ_ENDERECO" xmlns:orm="http://java.sun.com/xml/ns/persistence/orm" />
</hj:entity>
</xs:appinfo>
</xs:annotation>
<xs:sequence>
<xs:element name="tipoEndereco" type="xs:int" minOccurs="0">
<xs:annotation>
<xs:documentation>Código do tipo de endereço, conforme tabela padronizada 3.23.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="descricaoLogradouro" type="nsS:string255">
<xs:annotation>
<xs:documentation>Descrição do logradouro.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="numero" type="nsS:string255">
<xs:annotation>
<xs:documentation>Número do endereço.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="bairro" type="nsS:string255">
<xs:annotation>
<xs:documentation>Bairro do endereço.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="complemento" type="nsS:string255" minOccurs="0">
<xs:annotation>
<xs:documentation>Complemento do endereço.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice>
<xs:sequence>
<xs:annotation>
<xs:documentation>Endereço no Brasil.</xs:documentation>
</xs:annotation>
<xs:element name="cidade" type="xs:int">
<xs:annotation>
<xs:documentation>Código da cidade, conforme tabela padronizada 3.15.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="uf" type="nsS:UF">
<xs:annotation>
<xs:documentation>Sigla da Unidade da Federação.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cep" type="nsS:string255">
<xs:annotation>
<xs:documentation>Código de endereçamento postal do endereço.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:sequence>
<xs:annotation>
<xs:documentation>Endereço no exterior.</xs:documentation>
</xs:annotation>
<xs:element name="cidadeExterior" type="nsS:string255" />
<xs:element name="pais" type="xs:int">
<xs:annotation>
<xs:documentation>Código do país, conforme tabela padronizada 3.16.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:choice>
</xs:sequence>
</xs:complexType>
|