temporal

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 includes components from the following schema document(s):
DocumentationSee ISO/DIS 19136 15.2. The GML temporal schemas include components for describing temporal geometry and topology, temporal reference systems, and the temporal characteristics of geographic data. The model underlying the representation constitutes a profile of the conceptual schema described in ISO 19108. The underlying spatiotemporal model strives to accommodate both feature-level and attribute-level time stamping; basic support for tracking moving objects is also included. Time is measured on two types of scales: interval and ordinal. An interval scale offers a basis for measuring duration, an ordinal scale provides information only about relative position in time. Two other ISO standards are relevant to describing temporal objects: ISO 8601 describes encodings for time instants and time periods, as text strings with particular structure and punctuation; ISO 11404 provides a detailed description of time intervals as part of a general discussion of language independent datatypes. The temporal schemas cover two interrelated topics and provide basic schema components for representing temporal instants and periods, temporal topology, and reference systems; more specialized schema components defines components used for dynamic features. Instances of temporal geometric types are used as values for the temporal properties of geographic features.
Application Datatemporal.xsd
More information at: urn:ogc:specification:gml:schema-xsd:temporal:3.2.0.

Declared Namespaces

PrefixNamespace
Default namespacehttp://www.w3.org/2001/XMLSchema
xmlhttp://www.w3.org/XML/1998/namespace
gmlhttp://www.opengis.net/gml
Schema Component Representation
<schema targetNamespace="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.2.0">
<include schemaLocation="gmlBase.xsd"/>
...
</schema>
top

Global Declarations

Element: AbstractTimeComplex

NameAbstractTimeComplex
Typegml:AbstractTimeComplexType
Nillableno
Abstractyes
Documentationgml:AbstractTimeComplex is an aggregation of temporal primitives and acts as the head of a substitution group for temporal complexes.
XML Instance Representation
<gml:AbstractTimeComplex
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:AbstractTimeComplex>
Schema Component Representation
<element name="AbstractTimeComplex" type="gml:AbstractTimeComplexType" abstract="true" substitutionGroup="gml:AbstractTimeObject"/>
top

Element: AbstractTimeGeometricPrimitive

NameAbstractTimeGeometricPrimitive
Typegml:AbstractTimeGeometricPrimitiveType
Nillableno
Abstractyes
Documentationgml:TimeGeometricPrimitive acts as the head of a substitution group for geometric temporal primitives. A temporal geometry shall be associated with a temporal reference system through the frame attribute that provides a URI reference that identifies a description of the reference system. Following ISO 19108, the Gregorian calendar with UTC is the default reference system, but others may also be used. The GPS calendar is an alternative reference systems in common use. The two geometric primitives in the temporal dimension are the instant and the period. GML components are defined to support these as follows.
XML Instance Representation
<gml:AbstractTimeGeometricPrimitive
gml:id="[1]"
frame="anyURI [0..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:relatedTime> gml:RelatedTimeType </gml:relatedTime> [0..*]
</gml:AbstractTimeGeometricPrimitive>
Schema Component Representation
<element name="AbstractTimeGeometricPrimitive" type="gml:AbstractTimeGeometricPrimitiveType" abstract="true" substitutionGroup="gml:AbstractTimePrimitive"/>
top

Element: AbstractTimeObject

NameAbstractTimeObject
Typegml:AbstractTimeObjectType
Nillableno
Abstractyes
Documentationgml:AbstractTimeObject acts as the head of a substitution group for all temporal primitives and complexes.
XML Instance Representation
<gml:AbstractTimeObject
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:AbstractTimeObject>
Schema Component Representation
<element name="AbstractTimeObject" type="gml:AbstractTimeObjectType" abstract="true" substitutionGroup="gml:AbstractGML"/>
top

Element: AbstractTimePrimitive

NameAbstractTimePrimitive
Typegml:AbstractTimePrimitiveType
Nillableno
Abstractyes
Documentationgml:AbstractTimePrimitive acts as the head of a substitution group for geometric and topological temporal primitives.
XML Instance Representation
<gml:AbstractTimePrimitive
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:relatedTime> gml:RelatedTimeType </gml:relatedTime> [0..*]
</gml:AbstractTimePrimitive>
Schema Component Representation
<element name="AbstractTimePrimitive" type="gml:AbstractTimePrimitiveType" abstract="true" substitutionGroup="gml:AbstractTimeObject"/>
top

Element: TimeInstant

NameTimeInstant
Typegml:TimeInstantType
Nillableno
Abstractno
Documentationgml:TimeInstant acts as a zero-dimensional geometric primitive that represents an identifiable position in time.
XML Instance Representation
<gml:TimeInstant
gml:id="[1]"
frame="anyURI [0..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:relatedTime> gml:RelatedTimeType </gml:relatedTime> [0..*]
<gml:timePosition> ... </gml:timePosition> [1]
</gml:TimeInstant>
Schema Component Representation
<element name="TimeInstant" type="gml:TimeInstantType" substitutionGroup="gml:AbstractTimeGeometricPrimitive"/>
top

Element: TimePeriod

NameTimePeriod
Typegml:TimePeriodType
Nillableno
Abstractno
Documentationgml:TimePeriod acts as a one-dimensional geometric primitive that represents an identifiable extent in time. The location in of a gml:TimePeriod is described by the temporal positions of the instants at which it begins and ends. The length of the period is equal to the temporal distance between the two bounding temporal positions. Both beginning and end may be described in terms of their direct position using gml:TimePositionType which is an XML Schema simple content type, or by reference to an indentifiable time instant using gml:TimeInstantPropertyType. Alternatively a limit of a gml:TimePeriod may use the conventional GML property model to make a reference to a time instant described elsewhere, or a limit may be indicated as a direct position.
XML Instance Representation
<gml:TimePeriod
gml:id="[1]"
frame="anyURI [0..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:relatedTime> gml:RelatedTimeType </gml:relatedTime> [0..*]
Start Choice [1]
<gml:beginPosition> gml:TimePositionType </gml:beginPosition> [1]
<gml:begin> gml:TimeInstantPropertyType </gml:begin> [1]
End Choice
Start Choice [1]
<gml:endPosition> gml:TimePositionType </gml:endPosition> [1]
<gml:end> gml:TimeInstantPropertyType </gml:end> [1]
End Choice
Start Group: gml:timeLength [0..1]
Start Choice [1]
<gml:duration> ... </gml:duration> [1]
<gml:timeInterval> ... </gml:timeInterval> [1]
End Choice
End Group: gml:timeLength
</gml:TimePeriod>
Schema Component Representation
<element name="TimePeriod" type="gml:TimePeriodType" substitutionGroup="gml:AbstractTimeGeometricPrimitive"/>
top

Element: duration

Nameduration
Typeduration
Nillableno
Abstractno
Documentationgml:duration conforms to the ISO 8601 syntax for temporal length as implemented by the XML Schema duration type.
XML Instance Representation
<gml:duration> duration </gml:duration>
Schema Component Representation
<element name="duration" type="duration"/>
top

Element: timeInterval

NametimeInterval
Typegml:TimeIntervalLengthType
Nillableno
Abstractno
Documentation gml:timeInterval conforms to ISO 11404 which is based on floating point values for temporal length. ISO 11404 syntax specifies the use of a positiveInteger together with appropriate values for radix and factor. The resolution of the time interval is to one radix ^(-factor) of the specified time unit. The value of the unit is either selected from the units for time intervals from ISO 31-1:1992, or is another suitable unit. The encoding is defined for GML in gml:TimeUnitType. The second component of this union type provides a method for indicating time units other than the six standard units given in the enumeration.
XML Instance Representation
<gml:timeInterval
unit="gml:TimeUnitType [1]"
radix="positiveInteger [0..1]"
factor="integer [0..1]">
decimal
</gml:timeInterval>
Schema Component Representation
<element name="timeInterval" type="gml:TimeIntervalLengthType"/>
top

Element: timePosition

NametimePosition
Typegml:TimePositionType
Nillableno
Abstractno
DocumentationThis element is used directly as a property of gml:TimeInstant (see 15.2.2.3), and may also be used in application schemas.
XML Instance Representation
<gml:timePosition
frame="anyURI [0..1]"
calendarEraName="string [0..1]"
indeterminatePosition="gml:TimeIndeterminateValueType [0..1]">
gml:TimePositionUnion
</gml:timePosition>
Schema Component Representation
<element name="timePosition" type="gml:TimePositionType"/>
top

Element: validTime

NamevalidTime
Typegml:TimePrimitivePropertyType
Nillableno
Abstractno
Documentationgml:validTime is a convenience property element.
XML Instance Representation
<gml:validTime
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]"
owns="boolean [0..1]">
Start Sequence [0..1]
<gml:AbstractTimePrimitive> ... </gml:AbstractTimePrimitive> [1]
End Sequence
</gml:validTime>
Schema Component Representation
<element name="validTime" type="gml:TimePrimitivePropertyType"/>
top

Global Definitions

Complex Type: AbstractTimeComplexType

Super-types:gml:AbstractGMLType < AbstractTimeObjectType (by extension) < AbstractTimeComplexType (by extension)
Sub-types:None
NameAbstractTimeComplexType
Abstractyes
XML Instance Representation
<...
gml:id="[1]">
<gml:description> ... </gml:description> [0..1]
<gml:identifier> ... </gml:identifier> [0..1]
<gml:name> ... </gml:name> [0..*]
</...>
Schema Component Representation
<complexType name="AbstractTimeComplexType" abstract="true">
<complexContent>
<extension base="gml:AbstractTimeObjectType"/>
</complexContent>
</complexType>
top

Complex Type: AbstractTimeGeometricPrimitiveType

Super-types:gml:AbstractGMLType < AbstractTimeObjectType (by extension) < AbstractTimePrimitiveType (by extension) < AbstractTimeGeometricPrimitiveType (by extension)
Sub-types:
NameAbstractTimeGeometricPrimitiveType
Abstractyes
XML Instance Representation
<...
gml:id="[1]"
frame="anyURI [0..1]">
<gml:description> ... </gml:description> [0..1]
<gml:identifier> ... </gml:identifier> [0..1]
<gml:name> ... </gml:name> [0..*]
<gml:relatedTime> gml:RelatedTimeType </gml:relatedTime> [0..*]
</...>
Schema Component Representation
<complexType name="AbstractTimeGeometricPrimitiveType" abstract="true">
<complexContent>
<extension base="gml:AbstractTimePrimitiveType">
<attribute name="frame" type="anyURI" default="#ISO-8601"/>
</extension>
</complexContent>
</complexType>
top

Complex Type: AbstractTimeObjectType

Super-types:gml:AbstractGMLType < AbstractTimeObjectType (by extension)
Sub-types:
NameAbstractTimeObjectType
Abstractyes
XML Instance Representation
<...
gml:id="[1]">
<gml:description> ... </gml:description> [0..1]
<gml:identifier> ... </gml:identifier> [0..1]
<gml:name> ... </gml:name> [0..*]
</...>
Schema Component Representation
<complexType name="AbstractTimeObjectType" abstract="true">
<complexContent>
<extension base="gml:AbstractGMLType"/>
</complexContent>
</complexType>
top

Complex Type: AbstractTimePrimitiveType

Super-types:gml:AbstractGMLType < AbstractTimeObjectType (by extension) < AbstractTimePrimitiveType (by extension)
Sub-types:
NameAbstractTimePrimitiveType
Abstractyes
XML Instance Representation
<...
gml:id="[1]">
<gml:description> ... </gml:description> [0..1]
<gml:identifier> ... </gml:identifier> [0..1]
<gml:name> ... </gml:name> [0..*]
<gml:relatedTime> gml:RelatedTimeType </gml:relatedTime> [0..*]
</...>
Schema Component Representation
<complexType name="AbstractTimePrimitiveType" abstract="true">
<complexContent>
<extension base="gml:AbstractTimeObjectType">
<sequence>
<element name="relatedTime" type="gml:RelatedTimeType" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: RelatedTimeType

Super-types:TimePrimitivePropertyType < RelatedTimeType (by extension)
Sub-types:None
NameRelatedTimeType
Abstractno
Documentationgml:RelatedTimeType provides a content model for indicating the relative position of an arbitrary member of the substitution group whose head is gml:AbstractTimePrimitive. It extends the generic gml:TimePrimitivePropertyType with an XML attribute relativePosition, whose value is selected from the set of 13 temporal relationships identified by Allen (1983)
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]"
owns="boolean [0..1]"
relativePosition="string (value comes from list: {'Before'|'After'|'Begins'|'Ends'|'During'|'Equals'|'Contains'|'Overlaps'|'Meets'|'OverlappedBy'|'MetBy'|'BegunBy'|'EndedBy'}) [0..1]">
Start Sequence [0..1]
End Sequence
</...>
Schema Component Representation
<complexType name="RelatedTimeType">
<complexContent>
<extension base="gml:TimePrimitivePropertyType">
<attribute name="relativePosition">
<simpleType>
<restriction base="string">
<enumeration value="Before"/>
<enumeration value="After"/>
<enumeration value="Begins"/>
<enumeration value="Ends"/>
<enumeration value="During"/>
<enumeration value="Equals"/>
<enumeration value="Contains"/>
<enumeration value="Overlaps"/>
<enumeration value="Meets"/>
<enumeration value="OverlappedBy"/>
<enumeration value="MetBy"/>
<enumeration value="BegunBy"/>
<enumeration value="EndedBy"/>
</restriction>
</simpleType>
</attribute>
</extension>
</complexContent>
</complexType>
top

Complex Type: TimeInstantPropertyType

Super-types:None
Sub-types:None
NameTimeInstantPropertyType
Abstractno
Documentationgml:TimeInstantPropertyType provides for associating a gml:TimeInstant with an object.
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]"
owns="boolean [0..1]">
Start Sequence [0..1]
<gml:TimeInstant> ... </gml:TimeInstant> [1]
End Sequence
</...>
Schema Component Representation
<complexType name="TimeInstantPropertyType">
<sequence minOccurs="0">
<element ref="gml:TimeInstant"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>
top

Complex Type: TimeInstantType

Super-types:gml:AbstractGMLType < AbstractTimeObjectType (by extension) < AbstractTimePrimitiveType (by extension) < AbstractTimeGeometricPrimitiveType (by extension) < TimeInstantType (by extension)
Sub-types:None
NameTimeInstantType
Abstractno
Prohibited Derivationsrestriction, extension
XML Instance Representation
<...
gml:id="[1]"
frame="anyURI [0..1]">
<gml:description> ... </gml:description> [0..1]
<gml:identifier> ... </gml:identifier> [0..1]
<gml:name> ... </gml:name> [0..*]
<gml:relatedTime> gml:RelatedTimeType </gml:relatedTime> [0..*]
</...>
Schema Component Representation
<complexType name="TimeInstantType" final="#all">
<complexContent>
<extension base="gml:AbstractTimeGeometricPrimitiveType">
<sequence>
<element ref="gml:timePosition"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: TimeIntervalLengthType

Super-types:decimal < TimeIntervalLengthType (by extension)
Sub-types:None
NameTimeIntervalLengthType
Abstractno
Prohibited Derivationsrestriction, extension
XML Instance Representation
<...
unit="gml:TimeUnitType [1]"
radix="positiveInteger [0..1]"
factor="integer [0..1]">
decimal
</...>
Schema Component Representation
<complexType name="TimeIntervalLengthType" final="#all">
<simpleContent>
<extension base="decimal">
<attribute name="unit" type="gml:TimeUnitType" use="required"/>
<attribute name="radix" type="positiveInteger"/>
<attribute name="factor" type="integer"/>
</extension>
</simpleContent>
</complexType>
top

Complex Type: TimePeriodPropertyType

Super-types:None
Sub-types:None
NameTimePeriodPropertyType
Abstractno
Documentationgml:TimePeriodPropertyType provides for associating a gml:TimePeriod with an object.
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]"
owns="boolean [0..1]">
Start Sequence [0..1]
<gml:TimePeriod> ... </gml:TimePeriod> [1]
End Sequence
</...>
Schema Component Representation
<complexType name="TimePeriodPropertyType">
<sequence minOccurs="0">
<element ref="gml:TimePeriod"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>
top

Complex Type: TimePeriodType

Super-types:gml:AbstractGMLType < AbstractTimeObjectType (by extension) < AbstractTimePrimitiveType (by extension) < AbstractTimeGeometricPrimitiveType (by extension) < TimePeriodType (by extension)
Sub-types:None
NameTimePeriodType
Abstractno
XML Instance Representation
<...
gml:id="[1]"
frame="anyURI [0..1]">
<gml:description> ... </gml:description> [0..1]
<gml:identifier> ... </gml:identifier> [0..1]
<gml:name> ... </gml:name> [0..*]
<gml:relatedTime> gml:RelatedTimeType </gml:relatedTime> [0..*]
Start Choice [1]
<gml:beginPosition> gml:TimePositionType </gml:beginPosition> [1]
<gml:begin> gml:TimeInstantPropertyType </gml:begin> [1]
End Choice
Start Choice [1]
<gml:endPosition> gml:TimePositionType </gml:endPosition> [1]
End Choice
Start Group: gml:timeLength [0..1]
Start Choice [1]
<gml:duration> ... </gml:duration> [1]
End Choice
End Group: gml:timeLength
</...>
Schema Component Representation
<complexType name="TimePeriodType">
<complexContent>
<extension base="gml:AbstractTimeGeometricPrimitiveType">
<sequence>
<choice>
<element name="beginPosition" type="gml:TimePositionType"/>
<element name="begin" type="gml:TimeInstantPropertyType"/>
</choice>
<choice>
<element name="endPosition" type="gml:TimePositionType"/>
<element name="end" type="gml:TimeInstantPropertyType"/>
</choice>
<group ref="gml:timeLength" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: TimePositionType

Super-types:TimePositionUnion (by restriction) < TimePositionType (by extension)
Sub-types:None
NameTimePositionType
Abstractno
Prohibited Derivationsrestriction, extension
DocumentationThe method for identifying a temporal position is specific to each temporal reference system. gml:TimePositionType supports the description of temporal position according to the subtypes described in ISO 19108. Values based on calendars and clocks use lexical formats that are based on ISO 8601, as described in XML Schema Part 2:2001. A decimal value may be used with coordinate systems such as GPS time or UNIX time. A URI may be used to provide a reference to some era in an ordinal reference system . In common with many of the components modelled as data types in the ISO 19100 series of International Standards, the corresponding GML component has simple content. However, the content model gml:TimePositionType is defined in several steps. Three XML attributes appear on gml:TimePositionType: A time value shall be associated with a temporal reference system through the frame attribute that provides a URI reference that identifies a description of the reference system. Following ISO 19108, the Gregorian calendar with UTC is the default reference system, but others may also be used. Components for describing temporal reference systems are described in 14.4, but it is not required that the reference system be described in this, as the reference may refer to anything that may be indentified with a URI. For time values using a calendar containing more than one era, the (optional) calendarEraName attribute provides the name of the calendar era. Inexact temporal positions may be expressed using the optional indeterminatePosition attribute. This takes a value from an enumeration.
XML Instance Representation
<...
frame="anyURI [0..1]"
calendarEraName="string [0..1]"
indeterminatePosition="gml:TimeIndeterminateValueType [0..1]">
gml:TimePositionUnion
</...>
Schema Component Representation
<complexType name="TimePositionType" final="#all">
<simpleContent>
<extension base="gml:TimePositionUnion">
<attribute name="frame" type="anyURI" default="#ISO-8601"/>
<attribute name="calendarEraName" type="string"/>
<attribute name="indeterminatePosition" type="gml:TimeIndeterminateValueType"/>
</extension>
</simpleContent>
</complexType>
top

Complex Type: TimePrimitivePropertyType

Super-types:None
Sub-types:
NameTimePrimitivePropertyType
Abstractno
Documentationgml:TimePrimitivePropertyType provides a standard content model for associations between an arbitrary member of the substitution group whose head is gml:AbstractTimePrimitive and another object.
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]"
owns="boolean [0..1]">
Start Sequence [0..1]
<gml:AbstractTimePrimitive> ... </gml:AbstractTimePrimitive> [1]
End Sequence
</...>
Schema Component Representation
<complexType name="TimePrimitivePropertyType">
<sequence minOccurs="0">
<element ref="gml:AbstractTimePrimitive"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>
top

Model Group: timeLength

NametimeLength
DocumentationThe length of a time period.
XML Instance Representation
Start Choice [1]
<gml:duration> ... </gml:duration> [1]
<gml:timeInterval> ... </gml:timeInterval> [1]
End Choice
Schema Component Representation
<group name="timeLength">
<choice>
<element ref="gml:duration"/>
<element ref="gml:timeInterval"/>
</choice>
</group>
top

Simple Type: CalDate

Super-types:None
Sub-types:None
NameCalDate
Content
  • Union of following types:
    • date
    • gYearMonth
    • gYear
Schema Component Representation
<simpleType name="CalDate">
<union memberTypes="date gYearMonth gYear"/>
</simpleType>
top

Simple Type: TimeIndeterminateValueType

Super-types:string < TimeIndeterminateValueType (by restriction)
Sub-types:None
NameTimeIndeterminateValueType
Content
  • Base XSD Type: string
  • value comes from list: {'after'|'before'|'now'|'unknown'}
DocumentationThese values are interpreted as follows: - “unknown” indicates that no specific value for temporal position is provided. - “now” indicates that the specified value shall be replaced with the current temporal position whenever the value is accessed. - “before” indicates that the actual temporal position is unknown, but it is known to be before the specified value. - “after” indicates that the actual temporal position is unknown, but it is known to be after the specified value. A value for indeterminatePosition may - be used either alone, or - qualify a specific value for temporal position.
Schema Component Representation
<simpleType name="TimeIndeterminateValueType">
<restriction base="string">
<enumeration value="after"/>
<enumeration value="before"/>
<enumeration value="now"/>
<enumeration value="unknown"/>
</restriction>
</simpleType>
top

Simple Type: TimePositionUnion

Super-types:None
Sub-types:
NameTimePositionUnion
Content
  • Union of following types:
DocumentationThe simple type gml:TimePositionUnion is a union of XML Schema simple types which instantiate the subtypes for temporal position described in ISO 19108. An ordinal era may be referenced via URI. A decimal value may be used to indicate the distance from the scale origin . time is used for a position that recurs daily (see ISO 19108:2002 5.4.4.2). Finally, calendar and clock forms that support the representation of time in systems based on years, months, days, hours, minutes and seconds, in a notation following ISO 8601, are assembled by gml:CalDate
Schema Component Representation
<simpleType name="TimePositionUnion">
<union memberTypes="gml:CalDate time dateTime anyURI decimal"/>
</simpleType>
top

Simple Type: TimeUnitType

Super-types:None
Sub-types:None
NameTimeUnitType
Content
  • Union of following types:
    • Locally defined type:
      • Base XSD Type: string
      • value comes from list: {'year'|'month'|'day'|'hour'|'minute'|'second'}
    • Locally defined type:
      • Base XSD Type: string
      • pattern = other:\w{2,}
Schema Component Representation
<simpleType name="TimeUnitType">
<union>
<simpleType>
<restriction base="string">
<enumeration value="year"/>
<enumeration value="month"/>
<enumeration value="day"/>
<enumeration value="hour"/>
<enumeration value="minute"/>
<enumeration value="second"/>
</restriction>
</simpleType>
<simpleType>
<restriction base="string">
<pattern value="other:\w{2,}"/>
</restriction>
</simpleType>
</union>
</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