Documentation for CityGML

Element: PostOffice

[Table of contents]

Name PostOffice
Used by (from the same schema document) Complex Type DependentLocalityType , Element Locality , Element AdministrativeArea , Element AdministrativeArea
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Specification of a post office. Examples are a rural post office where post is delivered and a post office containing post office boxes.
Logical Diagram
h1885024549 h-625423704 h453828251
XML Instance Representation
<PostOffice
Type="anySimpleType [0..1]

'Could be a Mobile Postoffice Van as in Isreal'

"

Indicator="anySimpleType [0..1]

'eg. Kottivakkam (P.O) here (P.O) is the Indicator'

"
Allow any attributes from a namespace other than this schema's namespace (strict validation).
>
<AddressLine> ... </AddressLine> [0..*]
Start Choice [1]
<PostOfficeName
Type="anySimpleType [0..1]"
Code="anySimpleType [0..1]

'Used by postal services to encode the name of the element.'

"
Allow any attributes from a namespace other than this schema's namespace (strict validation).
/> [0..*]

'Specification of the name of the post office. This can be a rural postoffice where post is delivered or a post office containing post office boxes.'

<PostOfficeNumber
Indicator="anySimpleType [0..1]

'MS in MS 62, # in MS # 12, etc.'

"

IndicatorOccurrence=" xs:NMTOKEN (value comes from list: {'Before'|'After'}) [0..1]

'MS occurs before 62 in MS 62'

"

Code="anySimpleType [0..1]

'Used by postal services to encode the name of the element.'

"
Allow any attributes from a namespace other than this schema's namespace (strict validation).
/> [0..1]

'Specification of the number of the postoffice. Common in rural postoffices'

End Choice
<PostalRoute> PostalRouteType </PostalRoute> [0..1]

'A Postal van is specific for a route as in Is`rael, Rural route'

<PostBox> ... </PostBox> [0..1]
<PostalCode> ... </PostalCode> [0..1]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</PostOffice>
Diagram
h1885024549 h447686930 h447686930 h-625423704 h453828251
Schema Component Representation
<xs:element name="PostOffice">
<xs:complexType>
<xs:sequence>
<xs:element ref=" AddressLine " minOccurs="0" maxOccurs="unbounded"/>
<xs:choice>
<xs:element name="PostOfficeName" minOccurs="0" maxOccurs="unbounded">
<xs:complexType mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref=" grPostal "/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:element name="PostOfficeNumber" minOccurs="0">
<xs:complexType mixed="true">
<xs:attribute name="Indicator"/>
<xs:attribute name="IndicatorOccurrence">
<xs:simpleType>
<xs:restriction base=" xs:NMTOKEN ">
<xs:enumeration value="Before"/>
<xs:enumeration value="After"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attributeGroup ref=" grPostal "/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
</xs:choice>
<xs:element name="PostalRoute" type=" PostalRouteType " minOccurs="0"/>
<xs:element ref=" PostBox " minOccurs="0"/>
<xs:element ref=" PostalCode " minOccurs="0"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Type"/>
<xs:attribute name="Indicator"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>