<

Schema documentation waterBody

Schema Document Properties

Target Namespace
http://www.opengis.net/citygml/waterbody/3.0
Version
3.0.0
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.
Schema Composition
  • This schema imports schema(s) from the following namespace(s):
    • http://www.opengis.net/citygml/3.0 (at ./core.xsd)
    • http://www.opengis.net/gml/3.2 (at http://schemas.opengis.net/gml/3.2.1/gml.xsd)
Documentation

Declared Namespaces:

Prefix
Namespace
Default namespace
http://www.w3.org/2001/XMLSchema
xml
http://www.w3.org/XML/1998/namespace
wtr
http://www.opengis.net/citygml/waterbody/3.0
gml
http://www.opengis.net/gml/3.2
core
http://www.opengis.net/citygml/3.0

Schema Component Representation

<schema elementFormDefault="qualified" targetNamespace="http://www.opengis.net/citygml/waterbody/3.0" version="3.0.0">
   <import namespace="http://www.opengis.net/citygml/3.0" schemaLocation="./core.xsd"/>
   <import namespace="http://www.opengis.net/gml/3.2" schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
...
</schema>

Elements

Element: ADEOfAbstractWaterBoundarySurface

Type hierarchy:

  • This element can be used wherever the following element is referenced:
Type
wtr:ADEOfAbstractWaterBoundarySurfaceType
Abstract
yes
Documentation

XML Instance Representation

<wtr:ADEOfAbstractWaterBoundarySurface/> 

Schema Component Representation

<element name="ADEOfAbstractWaterBoundarySurface" type="wtr:ADEOfAbstractWaterBoundarySurfaceType" abstract="true" substitutionGroup="gml:AbstractObject"/>

Element: ADEOfWaterBody

Type hierarchy:

  • This element can be used wherever the following element is referenced:
Type
wtr:ADEOfWaterBodyType
Abstract
yes
Documentation

XML Instance Representation

<wtr:ADEOfWaterBody/> 

Schema Component Representation

<element name="ADEOfWaterBody" type="wtr:ADEOfWaterBodyType" abstract="true" substitutionGroup="gml:AbstractObject"/>

Element: ADEOfWaterGroundSurface

Type hierarchy:

  • This element can be used wherever the following element is referenced:
Type
wtr:ADEOfWaterGroundSurfaceType
Abstract
yes
Documentation

XML Instance Representation

<wtr:ADEOfWaterGroundSurface/> 

Schema Component Representation

<element name="ADEOfWaterGroundSurface" type="wtr:ADEOfWaterGroundSurfaceType" abstract="true" substitutionGroup="gml:AbstractObject"/>

Element: ADEOfWaterSurface

Type hierarchy:

  • This element can be used wherever the following element is referenced:
Type
wtr:ADEOfWaterSurfaceType
Abstract
yes
Documentation

XML Instance Representation

<wtr:ADEOfWaterSurface/> 

Schema Component Representation

<element name="ADEOfWaterSurface" type="wtr:ADEOfWaterSurfaceType" abstract="true" substitutionGroup="gml:AbstractObject"/>

Element: AbstractWaterBoundarySurface

Type hierarchy:

Type
wtr:AbstractWaterBoundarySurfaceType
Abstract
yes
Documentation

XML Instance Representation

<wtr:AbstractWaterBoundarySurface>
   <!-- 'core:AbstractThematicSurfaceType' super type was not found in this schema. Some elements and attributes may be missing. -->
   <wtr:adeOfAbstractWaterBoundarySurface> wtr:ADEOfAbstractWaterBoundarySurfacePropertyType </wtr:adeOfAbstractWaterBoundarySurface> [0..*] 
</wtr:AbstractWaterBoundarySurface>

Schema Component Representation

<element name="AbstractWaterBoundarySurface" type="wtr:AbstractWaterBoundarySurfaceType" abstract="true" substitutionGroup="core:AbstractThematicSurface"/>

Element: WaterBody

Type hierarchy:

Type
wtr:WaterBodyType
Documentation

XML Instance Representation

<wtr:WaterBody>
   <!-- 'core:AbstractOccupiedSpaceType' super type was not found in this schema. Some elements and attributes may be missing. -->
   <wtr:class> gml:CodeType </wtr:class> [0..1] 
   <wtr:function> gml:CodeType </wtr:function> [0..*] 
   <wtr:usage> gml:CodeType </wtr:usage> [0..*] 
   <wtr:adeOfWaterBody> wtr:ADEOfWaterBodyPropertyType </wtr:adeOfWaterBody> [0..*] 
</wtr:WaterBody>

Schema Component Representation

<element name="WaterBody" type="wtr:WaterBodyType" substitutionGroup="core:AbstractOccupiedSpace"/>

Element: WaterGroundSurface

Type hierarchy:

Type
wtr:WaterGroundSurfaceType
Documentation

XML Instance Representation

<wtr:WaterGroundSurface>
   <!-- 'core:AbstractThematicSurfaceType' super type was not found in this schema. Some elements and attributes may be missing. -->
   <wtr:adeOfAbstractWaterBoundarySurface> wtr:ADEOfAbstractWaterBoundarySurfacePropertyType </wtr:adeOfAbstractWaterBoundarySurface> [0..*] 
   <wtr:adeOfWaterGroundSurface> wtr:ADEOfWaterGroundSurfacePropertyType </wtr:adeOfWaterGroundSurface> [0..*] 
</wtr:WaterGroundSurface>

Schema Component Representation

<element name="WaterGroundSurface" type="wtr:WaterGroundSurfaceType" substitutionGroup="wtr:AbstractWaterBoundarySurface"/>

Element: WaterSurface

Type hierarchy:

Type
wtr:WaterSurfaceType
Documentation

XML Instance Representation

<wtr:WaterSurface>
   <!-- 'core:AbstractThematicSurfaceType' super type was not found in this schema. Some elements and attributes may be missing. -->
   <wtr:adeOfAbstractWaterBoundarySurface> wtr:ADEOfAbstractWaterBoundarySurfacePropertyType </wtr:adeOfAbstractWaterBoundarySurface> [0..*] 
   <wtr:waterLevel> gml:CodeType </wtr:waterLevel> [0..1] 
   <wtr:adeOfWaterSurface> wtr:ADEOfWaterSurfacePropertyType </wtr:adeOfWaterSurface> [0..*] 
</wtr:WaterSurface>

Schema Component Representation

<element name="WaterSurface" type="wtr:WaterSurfaceType" substitutionGroup="wtr:AbstractWaterBoundarySurface"/>

Complex Types

Complex Type: ADEOfAbstractWaterBoundarySurfacePropertyType

XML Instance Representation

<...>
   <wtr:ADEOfAbstractWaterBoundarySurface> ... </wtr:ADEOfAbstractWaterBoundarySurface> [1]
</...>

Schema Component Representation

<complexType name="ADEOfAbstractWaterBoundarySurfacePropertyType">
   <sequence>
      <element ref="wtr:ADEOfAbstractWaterBoundarySurface"/>
   </sequence>
</complexType>

Complex Type: ADEOfAbstractWaterBoundarySurfaceType

Properties:

Abstract
yes

XML Instance Representation

<.../> 

Schema Component Representation

<complexType name="ADEOfAbstractWaterBoundarySurfaceType" abstract="true">
   <sequence/>
</complexType>

Complex Type: ADEOfWaterBodyPropertyType

XML Instance Representation

<...>
   <wtr:ADEOfWaterBody> ... </wtr:ADEOfWaterBody> [1]
</...>

Schema Component Representation

<complexType name="ADEOfWaterBodyPropertyType">
   <sequence>
      <element ref="wtr:ADEOfWaterBody"/>
   </sequence>
</complexType>

Complex Type: ADEOfWaterBodyType

Properties:

Abstract
yes

XML Instance Representation

<.../> 

Schema Component Representation

<complexType name="ADEOfWaterBodyType" abstract="true">
   <sequence/>
</complexType>

Complex Type: ADEOfWaterGroundSurfacePropertyType

XML Instance Representation

<...>
   <wtr:ADEOfWaterGroundSurface> ... </wtr:ADEOfWaterGroundSurface> [1]
</...>

Schema Component Representation

<complexType name="ADEOfWaterGroundSurfacePropertyType">
   <sequence>
      <element ref="wtr:ADEOfWaterGroundSurface"/>
   </sequence>
</complexType>

Complex Type: ADEOfWaterGroundSurfaceType

Properties:

Abstract
yes

XML Instance Representation

<.../> 

Schema Component Representation

<complexType name="ADEOfWaterGroundSurfaceType" abstract="true">
   <sequence/>
</complexType>

Complex Type: ADEOfWaterSurfacePropertyType

XML Instance Representation

<...>
   <wtr:ADEOfWaterSurface> ... </wtr:ADEOfWaterSurface> [1]
</...>

Schema Component Representation

<complexType name="ADEOfWaterSurfacePropertyType">
   <sequence>
      <element ref="wtr:ADEOfWaterSurface"/>
   </sequence>
</complexType>

Complex Type: ADEOfWaterSurfaceType

Properties:

Abstract
yes

XML Instance Representation

<.../> 

Schema Component Representation

<complexType name="ADEOfWaterSurfaceType" abstract="true">
   <sequence/>
</complexType>

Complex Type: AbstractWaterBoundarySurfacePropertyType

XML Instance Representation

<...
Attribute group reference (not shown): gml:AssociationAttributeGroup
Attribute group reference (not shown): gml:OwnershipAttributeGroup
> Start Sequence [0..1] <wtr:AbstractWaterBoundarySurface> ... </wtr:AbstractWaterBoundarySurface> [1] End Sequence </...>

Schema Component Representation

<complexType name="AbstractWaterBoundarySurfacePropertyType">
   <sequence minOccurs="0">
      <element ref="wtr:AbstractWaterBoundarySurface"/>
   </sequence>
   <attributeGroup ref="gml:AssociationAttributeGroup"/>
   <attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>

Complex Type: AbstractWaterBoundarySurfaceType

Type hierarchy:

Super-types:
core:AbstractThematicSurfaceType < AbstractWaterBoundarySurfaceType (by extension)
Sub-types:

Properties:

Abstract
yes

XML Instance Representation

<...>
   <!-- 'core:AbstractThematicSurfaceType' super type was not found in this schema. Some elements and attributes may be missing. -->
   <wtr:adeOfAbstractWaterBoundarySurface> wtr:ADEOfAbstractWaterBoundarySurfacePropertyType </wtr:adeOfAbstractWaterBoundarySurface> [0..*] 
</...>

Schema Component Representation

<complexType name="AbstractWaterBoundarySurfaceType" abstract="true">
   <complexContent>
      <extension base="core:AbstractThematicSurfaceType">
         <sequence>
            <element name="adeOfAbstractWaterBoundarySurface" type="wtr:ADEOfAbstractWaterBoundarySurfacePropertyType" maxOccurs="unbounded" minOccurs="0"/>
         </sequence>
      </extension>
   </complexContent>
</complexType>

Complex Type: WaterBodyPropertyType

XML Instance Representation

<...
Attribute group reference (not shown): gml:AssociationAttributeGroup
Attribute group reference (not shown): gml:OwnershipAttributeGroup
> Start Sequence [0..1] <wtr:WaterBody> ... </wtr:WaterBody> [1] End Sequence </...>

Schema Component Representation

<complexType name="WaterBodyPropertyType">
   <sequence minOccurs="0">
      <element ref="wtr:WaterBody"/>
   </sequence>
   <attributeGroup ref="gml:AssociationAttributeGroup"/>
   <attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>

Complex Type: WaterBodyType

Type hierarchy:

Super-types:
core:AbstractOccupiedSpaceType < WaterBodyType (by extension)

XML Instance Representation

<...>
   <!-- 'core:AbstractOccupiedSpaceType' super type was not found in this schema. Some elements and attributes may be missing. -->
   <wtr:class> gml:CodeType </wtr:class> [0..1] 
   <wtr:function> gml:CodeType </wtr:function> [0..*] 
   <wtr:usage> gml:CodeType </wtr:usage> [0..*] 
   <wtr:adeOfWaterBody> wtr:ADEOfWaterBodyPropertyType </wtr:adeOfWaterBody> [0..*] 
</...>

Schema Component Representation

<complexType name="WaterBodyType">
   <complexContent>
      <extension base="core:AbstractOccupiedSpaceType">
         <sequence>
            <element name="class" type="gml:CodeType" minOccurs="0"/>
            <element name="function" type="gml:CodeType" maxOccurs="unbounded" minOccurs="0"/>
            <element name="usage" type="gml:CodeType" maxOccurs="unbounded" minOccurs="0"/>
            <element name="adeOfWaterBody" type="wtr:ADEOfWaterBodyPropertyType" maxOccurs="unbounded" minOccurs="0"/>
         </sequence>
      </extension>
   </complexContent>
</complexType>

Complex Type: WaterGroundSurfacePropertyType

XML Instance Representation

<...
Attribute group reference (not shown): gml:AssociationAttributeGroup
Attribute group reference (not shown): gml:OwnershipAttributeGroup
> Start Sequence [0..1] <wtr:WaterGroundSurface> ... </wtr:WaterGroundSurface> [1] End Sequence </...>

Schema Component Representation

<complexType name="WaterGroundSurfacePropertyType">
   <sequence minOccurs="0">
      <element ref="wtr:WaterGroundSurface"/>
   </sequence>
   <attributeGroup ref="gml:AssociationAttributeGroup"/>
   <attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>

Complex Type: WaterGroundSurfaceType

Type hierarchy:

Super-types:
core:AbstractThematicSurfaceType < AbstractWaterBoundarySurfaceType (by extension) < WaterGroundSurfaceType (by extension)

XML Instance Representation

<...>
   <!-- 'core:AbstractThematicSurfaceType' super type was not found in this schema. Some elements and attributes may be missing. -->
   <wtr:adeOfAbstractWaterBoundarySurface> wtr:ADEOfAbstractWaterBoundarySurfacePropertyType </wtr:adeOfAbstractWaterBoundarySurface> [0..*] 
   <wtr:adeOfWaterGroundSurface> wtr:ADEOfWaterGroundSurfacePropertyType </wtr:adeOfWaterGroundSurface> [0..*] 
</...>

Schema Component Representation

<complexType name="WaterGroundSurfaceType">
   <complexContent>
      <extension base="wtr:AbstractWaterBoundarySurfaceType">
         <sequence>
            <element name="adeOfWaterGroundSurface" type="wtr:ADEOfWaterGroundSurfacePropertyType" maxOccurs="unbounded" minOccurs="0"/>
         </sequence>
      </extension>
   </complexContent>
</complexType>

Complex Type: WaterSurfacePropertyType

XML Instance Representation

<...
Attribute group reference (not shown): gml:AssociationAttributeGroup
Attribute group reference (not shown): gml:OwnershipAttributeGroup
> Start Sequence [0..1] <wtr:WaterSurface> ... </wtr:WaterSurface> [1] End Sequence </...>

Schema Component Representation

<complexType name="WaterSurfacePropertyType">
   <sequence minOccurs="0">
      <element ref="wtr:WaterSurface"/>
   </sequence>
   <attributeGroup ref="gml:AssociationAttributeGroup"/>
   <attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>

Complex Type: WaterSurfaceType

Type hierarchy:

Super-types:
core:AbstractThematicSurfaceType < AbstractWaterBoundarySurfaceType (by extension) < WaterSurfaceType (by extension)

XML Instance Representation

<...>
   <!-- 'core:AbstractThematicSurfaceType' super type was not found in this schema. Some elements and attributes may be missing. -->
   <wtr:adeOfAbstractWaterBoundarySurface> wtr:ADEOfAbstractWaterBoundarySurfacePropertyType </wtr:adeOfAbstractWaterBoundarySurface> [0..*] 
   <wtr:waterLevel> gml:CodeType </wtr:waterLevel> [0..1] 
   <wtr:adeOfWaterSurface> wtr:ADEOfWaterSurfacePropertyType </wtr:adeOfWaterSurface> [0..*] 
</...>

Schema Component Representation

<complexType name="WaterSurfaceType">
   <complexContent>
      <extension base="wtr:AbstractWaterBoundarySurfaceType">
         <sequence>
            <element name="waterLevel" type="gml:CodeType" minOccurs="0"/>
            <element name="adeOfWaterSurface" type="wtr:ADEOfWaterSurfacePropertyType" maxOccurs="unbounded" minOccurs="0"/>
         </sequence>
      </extension>
   </complexContent>
</complexType>

Glossary

Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.

All Model Group Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all.

Choice Model Group Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice.

Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.

Disallowed Substitutions (Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods, e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type attribute.

Key Constraint Like Uniqueness Constraint, but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups.

Nillable (Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil attribute. The xsi:nil attribute is the boolean attribute, nil, from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil attribute set to true, it can be left empty, even though its element declaration may have required content.

Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations.

Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.

Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.

Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.

Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).

Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence.

Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.

Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.

Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.

Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.