Documentation for obj_object_profiled_data_schema

Complex Type: cs_generalAddress

[Table of contents]

Super-types: None
Sub-types: None
Name cs_generalAddress
Used by (from the same schema document) Complex Type cs_businessAssociate
Abstract no
Documentation An general address structure. This form is appropriate for most countries.
XML Instance Representation
<...
kind=" witsml:AddressKindEnum [0..1]

'The type of address: mailing, physical, or both.'

"

uid=" witsml:uidString [0..1]

'The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only required to be unique within the context of the nearest recurring parent element.'

"
>
<witsml:name> witsml:nameString </witsml:name> [0..1]

'The Name line of an address. If missing, use the Name of the business associate.'

<witsml:street> witsml:nameString </witsml:street> [1..4]

'The Street is a generic term for the middle lines of an address. They may be a street address, PO Box, Suite number, or any lines that come between the \"name\" and \"city\" lines. This may be repeated for up to four, ordered lines.'

<witsml:city> witsml:nameString </witsml:city> [1]

'The City for the business associate\'s address'

Start Choice [0..1]

'The GeneralAddress allows the choice of a State, Province, or County element. It is assumed that different elements would be appropriate in different countries. A user community should choose which element is appropriate in the various countries.'


<witsml:state> witsml:nameString </witsml:state> [1]
<witsml:province> witsml:nameString </witsml:province> [1]
<witsml:county> witsml:nameString </witsml:county> [1]
End Choice
<witsml:country> witsml:nameString </witsml:country> [0..1]

'The Country may be included. Although this is optional, it is probably required for most uses.'

<witsml:postalCode> witsml:kindString </witsml:postalCode> [0..1]

'A postal code, if appropriate for the country. In the USA this would be the five or nine digit zip code.'

</...>
Diagram
h-269201247 h-269201247 h-269201247 h-269201247 h-269201247 h-269201247 h-269201247 h-399087894 h1328353188 h-1931220815
Schema Component Representation
<xsd:complexType name="cs_generalAddress">
<xsd:sequence>
<xsd:element name="name" type=" witsml:nameString " minOccurs="0" maxOccurs="1"/>
<xsd:element name="street" type=" witsml:nameString " minOccurs="1" maxOccurs="4"/>
<xsd:element name="city" type=" witsml:nameString " minOccurs="1" maxOccurs="1"/>
<xsd:choice minOccurs="0" maxOccurs="1">
<xsd:element name="state" type=" witsml:nameString " minOccurs="1" maxOccurs="1"/>
<xsd:element name="province" type=" witsml:nameString " minOccurs="1" maxOccurs="1"/>
<xsd:element name="county" type=" witsml:nameString " minOccurs="1" maxOccurs="1"/>
</xsd:choice>
<xsd:element name="country" type=" witsml:nameString " minOccurs="0" maxOccurs="1"/>
<xsd:element name="postalCode" type=" witsml:kindString " minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="kind" type=" witsml:AddressKindEnum " use="optional"/>
<xsd:attributeGroup ref=" witsml:attgrp_uid "/>
</xsd:complexType>