gmlBase

Table of Contents

top

Schema Document Properties

Target Namespacehttp://www.opengis.net/gml
Version3.2.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):
  • This schema includes components from the following schema document(s):
DocumentationSee ISO/DIS 19136 7.2. The gmlBase schema components establish the GML model and syntax, in particular - a root XML type from which XML types for all GML objects should be derived, - a pattern and components for GML properties, - patterns for collections and arrays, and components for generic collections and arrays, - components for associating metadata with GML objects, - components for constructing definitions and dictionaries.
Application DatagmlBase.xsd
More information at: urn:ogc:specification:gml:schema-xsd:gmlBase:3.2.0.

<sch:title>
Schematron validation
</sch:title>
<sch:ns prefix="gml" uri="http://www.opengis.net/gml"/> <sch:ns prefix="xlink" uri="http://www.w3.org/1999/xlink"/> <sch:pattern name="Check either href or content not both">
<sch:rule abstract="true" id="hrefOrContent">
<sch:report test="@xlink:href and (*|text())">
Property element may not carry both a reference to an object and contain an object.
</sch:report>
<sch:assert test="@xlink:href | (*|text())">
Property element must either carry a reference to an object or contain an object.
</sch:assert>
</sch:rule>
</sch:pattern>

More information at: urn:ogc:specification:gml:schema-xsd:gmlBase:3.2.0.

Declared Namespaces

PrefixNamespace
Default namespacehttp://www.w3.org/2001/XMLSchema
xmlhttp://www.w3.org/XML/1998/namespace
schhttp://www.ascc.net/xml/schematron
xlinkhttp://www.w3.org/1999/xlink
gmlhttp://www.opengis.net/gml
Schema Component Representation
<schema targetNamespace="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.2.0">
<include schemaLocation="basicTypes.xsd"/>
<import namespace="http://www.w3.org/1999/xlink" schemaLocation="../xlink/xlinks.xsd"/>
...
</schema>
top

Global Declarations

Attribute: id

Nameid
TypeID
DocumentationThe attribute gml:id supports provision of a handle for the XML element representing a GML Object. Its use is mandatory for all GML objects. It is of XML type ID, so is constrained to be unique in the XML document within which it occurs.
XML Instance Representation
gml:id="ID"
Schema Component Representation
<attribute name="id" type="ID"/>
top

Attribute: remoteSchema

NameremoteSchema
TypeanyURI
Application Datadeprecated
XML Instance Representation
gml:remoteSchema="anyURI"
Schema Component Representation
<attribute name="remoteSchema" type="anyURI"/>
top

Element: AbstractGML

  • This element can be used wherever the following element is referenced:
  • The following elements can be used wherever this element is referenced:
NameAbstractGML
Typegml:AbstractGMLType
Nillableno
Abstractyes
DocumentationThe abstract element gml:AbstractGML is “any GML object having identity”. It acts as the head of an XML Schema substitution group, which may include any element which is a GML feature, or other object, with identity. This is used as a variable in content models in GML core and application schemas. It is effectively an abstract superclass for all GML objects.
XML Instance Representation
<gml:AbstractGML
gml:id="[1]">
<gml:metaDataProperty> ... </gml:metaDataProperty> [0..*]
<gml:description> ... </gml:description> [0..1]
<gml:descriptionReference> ... </gml:descriptionReference> [0..1]
<gml:identifier> ... </gml:identifier> [0..1]
<gml:name> ... </gml:name> [0..*]
</gml:AbstractGML>
Schema Component Representation
<element name="AbstractGML" type="gml:AbstractGMLType" abstract="true" substitutionGroup="gml:AbstractObject"/>
top

Element: AbstractMetaData

  • This element can be used wherever the following element is referenced:
  • The following elements can be used wherever this element is referenced:
NameAbstractMetaData
Typegml:AbstractMetaDataType
Nillableno
Abstractyes
Application Datadeprecated
XML Instance Representation
<gml:AbstractMetaData
gml:id="[0..1]"/>
Schema Component Representation
<element name="AbstractMetaData" type="gml:AbstractMetaDataType" abstract="true" substitutionGroup="gml:AbstractObject"/>
top

Element: AbstractObject

NameAbstractObject
TypeanyType
Nillableno
Abstractyes
DocumentationThis element has no type defined, and is therefore implicitly (according to the rules of W3C XML Schema) an XML Schema anyType. It is used as the head of an XML Schema substitution group which unifies complex content and certain simple content elements used for datatypes in GML, including the gml:AbstractGML substitution group.
XML Instance Representation
<gml:AbstractObject> ... </gml:AbstractObject>
Schema Component Representation
<element name="AbstractObject" abstract="true"/>
top

Element: Array

  • This element can be used wherever the following element is referenced:
NameArray
Typegml:ArrayType
Nillableno
Abstractno
Application Datadeprecated
XML Instance Representation
<gml:Array
gml:id="[1]">
<gml:metaDataProperty> ... </gml:metaDataProperty> [0..*]
<gml:description> ... </gml:description> [0..1]
<gml:descriptionReference> ... </gml:descriptionReference> [0..1]
<gml:identifier> ... </gml:identifier> [0..1]
<gml:name> ... </gml:name> [0..*]
<gml:members> ... </gml:members> [0..1]
</gml:Array>
Schema Component Representation
<element name="Array" type="gml:ArrayType" substitutionGroup="gml:AbstractGML"/>
top

Element: Bag

  • This element can be used wherever the following element is referenced:
NameBag
Typegml:BagType
Nillableno
Abstractno
Application Datadeprecated
XML Instance Representation
<gml:Bag
gml:id="[1]">
<gml:metaDataProperty> ... </gml:metaDataProperty> [0..*]
<gml:description> ... </gml:description> [0..1]
<gml:descriptionReference> ... </gml:descriptionReference> [0..1]
<gml:identifier> ... </gml:identifier> [0..1]
<gml:name> ... </gml:name> [0..*]
<gml:member> ... </gml:member> [0..*]
<gml:members> ... </gml:members> [0..1]
</gml:Bag>
Schema Component Representation
<element name="Bag" type="gml:BagType" substitutionGroup="gml:AbstractGML"/>
top

Element: GenericMetaData

NameGenericMetaData
Typegml:GenericMetaDataType
Nillableno
Abstractno
Application Datadeprecated
XML Instance Representation
<gml:GenericMetaData
gml:id="[0..1]">
<!-- Mixed content -->
Allow any elements from any namespace (lax validation). [0..*]
</gml:GenericMetaData>
Schema Component Representation
<element name="GenericMetaData" type="gml:GenericMetaDataType" substitutionGroup="gml:AbstractMetaData"/>
top

Element: abstractAssociationRole

NameabstractAssociationRole
Typegml:AssociationRoleType
Nillableno
Abstractyes
DocumentationApplying this pattern shall restrict the multiplicity of objects in a property element using this content model to exactly one. An instance of this type shall contain an element representing an object, or serve as a pointer to a remote object. Applying the pattern to define an application schema specific property type allows to restrict - the inline object to specified object types, - the encoding to „by-reference only“ (see 7.2.3.7), - the encoding to „inline only“ (see 7.2.3.8).
XML Instance Representation
<gml:abstractAssociationRole
owns="boolean [0..1]"
xlink:type="simple [0..1]"
xlink:href="[0..1]"
xlink:role="[0..1]"
xlink:arcrole="[0..1]"
xlink:title="[0..1]"
xlink:show="[0..1]"
xlink:actuate="[0..1]"
nilReason="gml:NilReasonType [0..1]"
gml:remoteSchema="[0..1]">
Start Sequence [0..1]
<gml:AbstractObject> ... </gml:AbstractObject> [1]
End Sequence
</gml:abstractAssociationRole>
Schema Component Representation
<element name="abstractAssociationRole" type="gml:AssociationRoleType" abstract="true"/>
top

Element: abstractInlineProperty

NameabstractInlineProperty
Typegml:InlinePropertyType
Nillableno
Abstractyes
Documentationgml:abstractInlineProperty may be used as the head of a subtitution group of more specific elements providing a value inline.
XML Instance Representation
<gml:abstractInlineProperty
owns="boolean [0..1]">
<gml:AbstractObject> ... </gml:AbstractObject> [1]
</gml:abstractInlineProperty>
Schema Component Representation
<element name="abstractInlineProperty" type="gml:InlinePropertyType" abstract="true"/>
top

Element: abstractReference

NameabstractReference
Typegml:ReferenceType
Nillableno
Abstractyes
Documentationgml:abstractReference may be used as the head of a subtitution group of more specific elements providing a value by-reference.
XML Instance Representation
<gml:abstractReference
owns="boolean [0..1]"
xlink:type="simple [0..1]"
xlink:href="[0..1]"
xlink:role="[0..1]"
xlink:arcrole="[0..1]"
xlink:title="[0..1]"
xlink:show="[0..1]"
xlink:actuate="[0..1]"
nilReason="gml:NilReasonType [0..1]"
gml:remoteSchema="[0..1]"/>
Schema Component Representation
<element name="abstractReference" type="gml:ReferenceType" abstract="true"/>
top

Element: abstractStrictAssociationRole

NameabstractStrictAssociationRole
Typegml:AssociationRoleType
Nillableno
Abstractyes
DocumentationThis element shows how an element declaration may include a Schematron constraint to limit the property to act in either inline or by-reference mode, but not both.
Application Data <sch:pattern name="refAndContent co-occurence prohibited">
<sch:rule context="gml:abstractStrictAssociationRole">
<sch:extends rule="hrefOrContent"/>
</sch:rule>
</sch:pattern>
XML Instance Representation
<gml:abstractStrictAssociationRole
owns="boolean [0..1]"
xlink:type="simple [0..1]"
xlink:href="[0..1]"
xlink:role="[0..1]"
xlink:arcrole="[0..1]"
xlink:title="[0..1]"
xlink:show="[0..1]"
xlink:actuate="[0..1]"
nilReason="gml:NilReasonType [0..1]"
gml:remoteSchema="[0..1]">
Start Sequence [0..1]
<gml:AbstractObject> ... </gml:AbstractObject> [1]
End Sequence
</gml:abstractStrictAssociationRole>
Schema Component Representation
<element name="abstractStrictAssociationRole" type="gml:AssociationRoleType" abstract="true"/>
top

Element: associationName

NameassociationName
Typestring
Nillableno
Abstractno
XML Instance Representation
<gml:associationName> string </gml:associationName>
Schema Component Representation
<element name="associationName" type="string"/>
top

Element: defaultCodeSpace

NamedefaultCodeSpace
TypeanyURI
Nillableno
Abstractno
XML Instance Representation
<gml:defaultCodeSpace> anyURI </gml:defaultCodeSpace>
Schema Component Representation
<element name="defaultCodeSpace" type="anyURI"/>
top

Element: description

Namedescription
Typegml:StringOrRefType
Nillableno
Abstractno
DocumentationThe value of this property is a text description of the object. gml:description uses gml:StringOrRefType as its content model, so it may contain a simple text string content, or carry a reference to an external description. The use of gml:description to reference an external description has been deprecated and replaced by the gml:descriptionReference property.
XML Instance Representation
<gml:description
xlink:type="simple [0..1]"
xlink:href="[0..1]"
xlink:role="[0..1]"
xlink:arcrole="[0..1]"
xlink:title="[0..1]"
xlink:show="[0..1]"
xlink:actuate="[0..1]"
nilReason="gml:NilReasonType [0..1]"
gml:remoteSchema="[0..1]">
string
</gml:description>
Schema Component Representation
<element name="description" type="gml:StringOrRefType"/>
top

Element: descriptionReference

NamedescriptionReference
Typegml:ReferenceType
Nillableno
Abstractno
DocumentationThe value of this property is a remote text description of the object. The xlink:href attribute of the gml:descriptionReference property references the external description.
XML Instance Representation
<gml:descriptionReference
owns="boolean [0..1]"
xlink:type="simple [0..1]"
xlink:href="[0..1]"
xlink:role="[0..1]"
xlink:arcrole="[0..1]"
xlink:title="[0..1]"
xlink:show="[0..1]"
xlink:actuate="[0..1]"
nilReason="gml:NilReasonType [0..1]"
gml:remoteSchema="[0..1]"/>
Schema Component Representation
<element name="descriptionReference" type="gml:ReferenceType"/>
top

Element: identifier

Nameidentifier
Typegml:CodeWithAuthorityType
Nillableno
Abstractno
DocumentationOften, a special identifier is assigned to an object by the maintaining authority with the intention that it is used in references to the object For such cases, the codeSpace shall be provided. That identifier is usually unique either globally or within an application domain. gml:identifier is a pre-defined property for such identifiers.
XML Instance Representation
<gml:identifier
codeSpace="anyURI [1]">
gml:CodeType
</gml:identifier>
Schema Component Representation
<element name="identifier" type="gml:CodeWithAuthorityType"/>
top

Element: member

Namemember
Typegml:AssociationRoleType
Nillableno
Abstractno
Application Datadeprecated
XML Instance Representation
<gml:member
owns="boolean [0..1]"
xlink:type="simple [0..1]"
xlink:href="[0..1]"
xlink:role="[0..1]"
xlink:arcrole="[0..1]"
xlink:title="[0..1]"
xlink:show="[0..1]"
xlink:actuate="[0..1]"
nilReason="gml:NilReasonType [0..1]"
gml:remoteSchema="[0..1]">
Start Sequence [0..1]
<gml:AbstractObject> ... </gml:AbstractObject> [1]
End Sequence
</gml:member>
Schema Component Representation
<element name="member" type="gml:AssociationRoleType"/>
top

Element: members

Namemembers
Typegml:ArrayAssociationType
Nillableno
Abstractno
Application Datadeprecated
XML Instance Representation
<gml:members
owns="boolean [0..1]">
<gml:AbstractObject> ... </gml:AbstractObject> [0..*]
</gml:members>
Schema Component Representation
<element name="members" type="gml:ArrayAssociationType"/>
top

Element: metaDataProperty

NamemetaDataProperty
Typegml:MetaDataPropertyType
Nillableno
Abstractno
Application Datadeprecated
XML Instance Representation
<gml:metaDataProperty
xlink:type="simple [0..1]"
xlink:href="[0..1]"
xlink:role="[0..1]"
xlink:arcrole="[0..1]"
xlink:title="[0..1]"
xlink:show="[0..1]"
xlink:actuate="[0..1]"
nilReason="gml:NilReasonType [0..1]"
gml:remoteSchema="[0..1]"
about="anyURI [0..1]">
Start Sequence [0..1]
<gml:AbstractMetaData> ... </gml:AbstractMetaData> [1]
End Sequence
</gml:metaDataProperty>
Schema Component Representation
<element name="metaDataProperty" type="gml:MetaDataPropertyType"/>
top

Element: name

Namename
Typegml:CodeType
Nillableno
Abstractno
DocumentationThe gml:name property provides a label or identifier for the object, commonly a descriptive name. An object may have several names, typically assigned by different authorities. gml:name uses the gml:CodeType content model. The authority for a name is indicated by the value of its (optional) codeSpace attribute. The name may or may not be unique, as determined by the rules of the organization responsible for the codeSpace. In common usage there will be one name per authority, so a processing application may select the name from its preferred codeSpace.
XML Instance Representation
<gml:name
codeSpace="anyURI [0..1]">
string
</gml:name>
Schema Component Representation
<element name="name" type="gml:CodeType"/>
top

Element: reversePropertyName

NamereversePropertyName
Typestring
Nillableno
Abstractno
DocumentationIf the value of an object property is another object and that object contains also a property for the association between the two objects, then this name of the reverse property may be encoded in a gml:reversePropertyName element in an appinfo annotation of the property element to document the constraint between the two properties. The value of the element shall contain the qualified name of the property element.
XML Instance Representation
<gml:reversePropertyName> string </gml:reversePropertyName>
Schema Component Representation
<element name="reversePropertyName" type="string"/>
top

Element: targetElement

NametargetElement
Typestring
Nillableno
Abstractno
XML Instance Representation
<gml:targetElement> string </gml:targetElement>
Schema Component Representation
<element name="targetElement" type="string"/>
top

Global Definitions

Attribute Group: AggregationAttributeGroup

NameAggregationAttributeGroup
DocumentationA GML Object Collection is any GML Object with a property element in its content model whose content model is derived by extension from gml:AbstractMemberType. In addition, the complex type describing the content model of the GML Object Collection may also include a reference to the attribute group gml:AggregationAttributeGroup to provide additional information about the semantics of the object collection. This information may be used by applications to group GML objects, and optionally to order and index them. The allowed values for the aggregationType attribute are defined by gml:AggregationType. See 8.4 of ISO/IEC 11404:1996 for the meaning of the values in the enumeration.
XML Instance Representation
aggregationType="gml:AggregationType [0..1]"
Schema Component Representation
<attributeGroup name="AggregationAttributeGroup">
<attribute name="aggregationType" type="gml:AggregationType"/>
</attributeGroup>
top

Attribute Group: AssociationAttributeGroup

NameAssociationAttributeGroup
DocumentationXLink components are the standard method to support hypertext referencing in XML. An XML Schema attribute group, gml:AssociationAttributeGroup, is provided to support the use of Xlinks as the method for indicating the value of a property by reference in a uniform manner in GML.
XML Instance Representation

xlink:type="simple [0..1]"
xlink:href="[0..1]"
xlink:role="[0..1]"
xlink:arcrole="[0..1]"
xlink:title="[0..1]"
xlink:show="[0..1]"
xlink:actuate="[0..1]"
nilReason="gml:NilReasonType [0..1]"
gml:remoteSchema="[0..1]"
Schema Component Representation
<attributeGroup name="AssociationAttributeGroup">
<attributeGroup ref="xlink:simpleLink"/>
<attribute name="nilReason" type="gml:NilReasonType"/>
<attribute ref="gml:remoteSchema"/>
</attributeGroup>
top

Attribute Group: OwnershipAttributeGroup

NameOwnershipAttributeGroup
DocumentationEncoding a GML property inline vs. by-reference shall not imply anything about the “ownership” of the contained or referenced GML Object, i.e. the encoding style shall not imply any “deep-copy” or “deep-delete” semantics. To express ownership over the contained or referenced GML Object, the gml:OwnershipAttributeGroup attribute group may be added to object-valued property elements. If the attribute group is not part of the content model of such a property element, then the value may not be “owned”. When the value of the owns attribute is "true", the existence of inline or referenced object(s) depends upon the existence of the parent object.
XML Instance Representation
owns="boolean [0..1]"
Schema Component Representation
<attributeGroup name="OwnershipAttributeGroup">
<attribute name="owns" type="boolean" default="false"/>
</attributeGroup>
top

Complex Type: AbstractGMLType

Super-types:None
Sub-types:
NameAbstractGMLType
Abstractyes
XML Instance Representation
<...
gml:id="[1]">
<gml:metaDataProperty> ... </gml:metaDataProperty> [0..*]
<gml:description> ... </gml:description> [0..1]
<gml:descriptionReference> ... </gml:descriptionReference> [0..1]
<gml:identifier> ... </gml:identifier> [0..1]
<gml:name> ... </gml:name> [0..*]
</...>
Schema Component Representation
<complexType name="AbstractGMLType" abstract="true">
<sequence>
<group ref="gml:StandardObjectProperties"/>
</sequence>
<attribute ref="gml:id" use="required"/>
</complexType>
top

Complex Type: AbstractMemberType

Super-types:None
Sub-types:None
NameAbstractMemberType
Abstractyes
DocumentationTo create a collection of GML Objects that are not all features, a property type shall be derived by extension from gml:AbstractMemberType. This abstract property type is intended to be used only in object types where software shall be able to identify that an instance of such an object type is to be interpreted as a collection of objects. By default, this abstract property type does not imply any ownership of the objects in the collection. The owns attribute of gml:OwnershipAttributeGroup may be used on a property element instance to assert ownership of an object in the collection. A collection shall not own an object already owned by another object.
XML Instance Representation
<...
owns="boolean [0..1]"/>
Schema Component Representation
<complexType name="AbstractMemberType" abstract="true">
<sequence/>
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>
top

Complex Type: AbstractMetaDataType

Super-types:None
Sub-types:
NameAbstractMetaDataType
Abstractyes
Application Datadeprecated
XML Instance Representation
<...
gml:id="[0..1]"/>
Schema Component Representation
<complexType name="AbstractMetaDataType" abstract="true" mixed="true">
<sequence/>
<attribute ref="gml:id"/>
</complexType>
top

Complex Type: AbstractMetadataPropertyType

Super-types:None
Sub-types:None
NameAbstractMetadataPropertyType
Abstractyes
DocumentationTo associate metadata described by any XML Schema with a GML object, a property element shall be defined whose content model is derived by extension from gml:AbstractMetadataPropertyType. The value of such a property shall be metadata. The content model of such a property type, i.e. the metadata application schema shall be specified by the GML Application Schema. By default, this abstract property type does not imply any ownership of the metadata. The owns attribute of gml:OwnershipAttributeGroup may be used on a metadata property element instance to assert ownership of the metadata. If metadata following the conceptual model of ISO 19115 is to be encoded in a GML document, the corresponding Implementation Specification specified in ISO/TS 19139 shall be used to encode the metadata information.
XML Instance Representation
<...
owns="boolean [0..1]"/>
Schema Component Representation
<complexType name="AbstractMetadataPropertyType" abstract="true">
<sequence/>
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>
top

Complex Type: ArrayAssociationType

Super-types:None
Sub-types:None
NameArrayAssociationType
Abstractno
Application Datadeprecated
XML Instance Representation
<...
owns="boolean [0..1]">
<gml:AbstractObject> ... </gml:AbstractObject> [0..*]
</...>
Schema Component Representation
<complexType name="ArrayAssociationType">
<sequence>
<element ref="gml:AbstractObject" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>
top

Complex Type: ArrayType

Super-types:AbstractGMLType < ArrayType (by extension)
Sub-types:None
NameArrayType
Abstractno
Application Datadeprecated
XML Instance Representation
<...
gml:id="[1]">
<gml:description> ... </gml:description> [0..1]
<gml:identifier> ... </gml:identifier> [0..1]
<gml:name> ... </gml:name> [0..*]
<gml:members> ... </gml:members> [0..1]
</...>
Schema Component Representation
<complexType name="ArrayType">
<complexContent>
<extension base="gml:AbstractGMLType">
<sequence>
<element ref="gml:members" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: AssociationRoleType

Super-types:None
Sub-types:None
NameAssociationRoleType
Abstractno
XML Instance Representation
<...
owns="boolean [0..1]"
xlink:type="simple [0..1]"
xlink:href="[0..1]"
xlink:role="[0..1]"
xlink:arcrole="[0..1]"
xlink:title="[0..1]"
xlink:show="[0..1]"
xlink:actuate="[0..1]"
nilReason="gml:NilReasonType [0..1]"
gml:remoteSchema="[0..1]">
Start Sequence [0..1]
<gml:AbstractObject> ... </gml:AbstractObject> [1]
End Sequence
</...>
Schema Component Representation
<complexType name="AssociationRoleType">
<sequence minOccurs="0">
<element ref="gml:AbstractObject"/>
</sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
</complexType>
top

Complex Type: BagType

Super-types:AbstractGMLType < BagType (by extension)
Sub-types:None
NameBagType
Abstractno
Application Datadeprecated
XML Instance Representation
<...
gml:id="[1]">
<gml:description> ... </gml:description> [0..1]
<gml:identifier> ... </gml:identifier> [0..1]
<gml:name> ... </gml:name> [0..*]
<gml:member> ... </gml:member> [0..*]
<gml:members> ... </gml:members> [0..1]
</...>
Schema Component Representation
<complexType name="BagType">
<complexContent>
<extension base="gml:AbstractGMLType">
<sequence>
<element ref="gml:member" minOccurs="0" maxOccurs="unbounded"/>
<element ref="gml:members" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: GenericMetaDataType

Super-types:AbstractMetaDataType < GenericMetaDataType (by extension)
Sub-types:None
NameGenericMetaDataType
Abstractno
Application Datadeprecated
XML Instance Representation
<...
gml:id="[0..1]">
<!-- Mixed content -->
Allow any elements from any namespace (lax validation). [0..*]
</...>
Schema Component Representation
<complexType name="GenericMetaDataType" mixed="true">
<complexContent mixed="true">
<extension base="gml:AbstractMetaDataType">
<sequence>
<any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: InlinePropertyType

Super-types:None
Sub-types:None
NameInlinePropertyType
Abstractno
XML Instance Representation
<...
owns="boolean [0..1]">
<gml:AbstractObject> ... </gml:AbstractObject> [1]
</...>
Schema Component Representation
<complexType name="InlinePropertyType">
<sequence>
<element ref="gml:AbstractObject"/>
</sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>
top

Complex Type: MetaDataPropertyType

Super-types:None
Sub-types:None
NameMetaDataPropertyType
Abstractno
Application Datadeprecated
XML Instance Representation
<...
xlink:type="simple [0..1]"
xlink:href="[0..1]"
xlink:role="[0..1]"
xlink:arcrole="[0..1]"
xlink:title="[0..1]"
xlink:show="[0..1]"
xlink:actuate="[0..1]"
nilReason="gml:NilReasonType [0..1]"
gml:remoteSchema="[0..1]"
about="anyURI [0..1]">
Start Sequence [0..1]
<gml:AbstractMetaData> ... </gml:AbstractMetaData> [1]
End Sequence
</...>
Schema Component Representation
<complexType name="MetaDataPropertyType">
<sequence minOccurs="0">
<element ref="gml:AbstractMetaData"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
<attribute name="about" type="anyURI"/>
</complexType>
top

Complex Type: ReferenceType

Super-types:None
Sub-types:None
NameReferenceType
Abstractno
Documentationgml:ReferenceType is intended to be used in application schemas directly, if a property element shall use a “by-reference only” encoding.
XML Instance Representation
<...
owns="boolean [0..1]"
xlink:type="simple [0..1]"
xlink:href="[0..1]"
xlink:role="[0..1]"
xlink:arcrole="[0..1]"
xlink:title="[0..1]"
xlink:show="[0..1]"
xlink:actuate="[0..1]"
nilReason="gml:NilReasonType [0..1]"
gml:remoteSchema="[0..1]"/>
Schema Component Representation
<complexType name="ReferenceType">
<sequence/>
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
</complexType>
top

Complex Type: StringOrRefType

Super-types:string < StringOrRefType (by extension)
Sub-types:None
NameStringOrRefType
Abstractno
Application Datadeprecated
XML Instance Representation
<...
xlink:type="simple [0..1]"
xlink:href="[0..1]"
xlink:role="[0..1]"
xlink:arcrole="[0..1]"
xlink:title="[0..1]"
xlink:show="[0..1]"
xlink:actuate="[0..1]"
nilReason="gml:NilReasonType [0..1]"
gml:remoteSchema="[0..1]">
string
</...>
Schema Component Representation
<complexType name="StringOrRefType">
<simpleContent>
<extension base="string">
<attributeGroup ref="gml:AssociationAttributeGroup"/>
</extension>
</simpleContent>
</complexType>
top

Model Group: StandardObjectProperties

NameStandardObjectProperties
XML Instance Representation
<gml:metaDataProperty> ... </gml:metaDataProperty> [0..*]
<gml:description> ... </gml:description> [0..1]
<gml:descriptionReference> ... </gml:descriptionReference> [0..1]
<gml:identifier> ... </gml:identifier> [0..1]
<gml:name> ... </gml:name> [0..*]
Schema Component Representation
<group name="StandardObjectProperties">
<sequence>
<element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
<element ref="gml:description" minOccurs="0"/>
<element ref="gml:descriptionReference" minOccurs="0"/>
<element ref="gml:identifier" minOccurs="0"/>
<element ref="gml:name" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</group>
top

Simple Type: AggregationType

Super-types:string < AggregationType (by restriction)
Sub-types:None
NameAggregationType
Content
  • Base XSD Type: string
  • value comes from list: {'set'|'bag'|'sequence'|'array'|'record'|'table'}
Prohibited Derivationsrestriction, list, union
Schema Component Representation
<simpleType name="AggregationType" final="#all">
<restriction base="string">
<enumeration value="set"/>
<enumeration value="bag"/>
<enumeration value="sequence"/>
<enumeration value="array"/>
<enumeration value="record"/>
<enumeration value="table"/>
</restriction>
</simpleType>
top

Legend

Complex Type:

Schema Component Type

AusAddress

Schema Component Name
Super-types:Address < AusAddress (by extension)
Sub-types:
  • QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
NameAusAddress
Abstractno
The table above displays the properties of this schema component.
XML Instance Representation
<... country="Australia">
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice[1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1]?
</...>

The XML Instance Representation table above shows the schema component's content as an XML instance.

Schema Component Representation
<complexTypename="AusAddress">
<complexContent>
<extensionbase="Address">
<sequence>
<elementname="state" type="AusStates"/>
<elementname="postcode">
<simpleType>
<restrictionbase="string">
<patternvalue="[1-9][0-9]{3}"/>
</restriction>
</simpleType>
</element>
</sequence>
<attributename="country" type="string" fixed="Australia"/>
</extension>
</complexContent>
</complexType>
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
top

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.

top