<schema
xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://niem.gov/niem/external/ogc-observation/draft-0.14.5/swe/dhs-gmo/1.0.0"
xmlns:swe="http://niem.gov/niem/external/ogc-observation/draft-0.14.5/swe/dhs-gmo/1.0.0"
xmlns:gml="http://niem.gov/niem/external/ogc-gml/3.1.1/dhs-gmo/1.0.0"
xmlns:xlink="http://niem.gov/niem/external/w3c-xlink/1.0/dhs-gmo/1.0.0"
elementFormDefault="qualified" attributeFormDefault="unqualified" version="pre-release">
<annotation>
<documentation>
temporalAggregates.xsd
time geometric complex, time aggregates and time grids
Copyright (c) 2006 CSIRO - see https://www.seegrid.csiro.au/twiki/bin/view/Xmml/LegalNotices#Software_Notice
OGC 05-087r4 page 102 © OGC 2006 – All rights reserved
DHS Changes:
2006-09-28 Changed namespaces and schema location
ns old http://niem.gov/niem/external/gml/3.1.1/dhs-gmo/1.0.0
ns new http://niem.gov/niem/external/ogc-gml/3.1.1/dhs-gmo/1.0.0
from ../../../../../gml/3.1.1/dhs-gmo/1.0.0/gml.xsd
to ../../../../../ogc-gml/3.1.1/dhs-gmo/1.0.0/gml.xsd
ns old http://niem.gov/niem/external/xlink/1.0.0/dhs-gmo/1.0.0
ns new http://niem.gov/niem/external/w3c-xlink/1.0/dhs-gmo/1.0.0
2006-09-22 Changed namespaces following NIEM conventions
1) targetnamespace http://niem.gov/niem/external/ogc-observation/draft-0.14.5/swe/dhs-gmo/1.0.0
2) gml namespace http://niem.gov/niem/external/gml/3.1.1/dhs-gmo/1.0.0
3) xlink namespace http://niem.gov/niem/external/xlink/1.0.0/dhs-gmo/1.0.0
2006-09-18 versioned namespace, versioned XLinks namespace,
versioned GML namespace, GML schemaLocation,
</documentation>
</annotation>
<!-- ====================================================================== -->
<!-- bring in other schemas -->
<!-- <import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/gml.xsd"/> -->
<import namespace="http://niem.gov/niem/external/ogc-gml/3.1.1/dhs-gmo/1.0.0"
schemaLocation="../../../../../ogc-gml/3.1.1/dhs-gmo/1.0.0/gml.xsd"/>
<!-- ================================================================== -->
<!-- =========================================================== -->
<!-- ============================================================== -->
<simpleType name="TimeValueList">
<list itemType="gml:TimePositionUnion"/>
</simpleType>
<!-- ====================================================================== -->
<complexType name="TimePositionListType">
<annotation>
<documentation>TimePositionList instances hold a sequence of time positions within the same
frame.</documentation>
</annotation>
<simpleContent>
<extension base="swe:TimeValueList">
<attribute name="frame" type="anyURI" use="optional" default="#ISO-8601"/>
<attribute name="calendarEraName" type="string" use="optional"/>
<attribute name="indeterminatePosition" type="gml:TimeIndeterminateValueType" use="optional"/>
<attribute name="count" type="positiveInteger" use="optional">
<annotation>
<documentation>"count" allows to specify the number of direct positions in the list.
</documentation>
</annotation>
</attribute>
</extension>
</simpleContent>
</complexType>
<!-- ============================================================== -->
<!-- ===== Time geometric complexes ====== -->
<!-- ================================================================== -->
<complexType name="TimeGeometricComplexType">
<complexContent>
<extension base="gml:AbstractTimeComplexType">
<sequence>
<element name="primitive" type="gml:TimeGeometricPrimitivePropertyType" maxOccurs="unbounded">
<annotation>
<documentation>Reference to an identified time
primitive</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- ......................... -->
<element name="TimeGeometricComplex" type="swe:TimeGeometricComplexType" substitutionGroup="gml:_TimeComplex">
<annotation>
<documentation>a self-consistent set of TimeInstants and TimePeriods</documentation>
</annotation>
</element>
<!-- ......................... -->
<complexType name="TimeGeometricComplexPropertyType">
<sequence minOccurs="0">
<element ref="swe:TimeGeometricComplex"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
</complexType>
<!-- ===================================== -->
<!-- ===== Time aggregates ====== -->
<!-- ================================================================== -->
<!-- ===== Explicit time aggregates ====== -->
<!-- ================================================================== -->
<complexType name="TimeObjectPropertyType">
<sequence minOccurs="0">
<element ref="gml:_TimeObject"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
</complexType>
<!-- ================================================================== -->
<complexType name="TimeAggregateType">
<complexContent>
<extension base="gml:AbstractTimeObjectType">
<sequence>
<element name="member" type="swe:TimeObjectPropertyType" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- ......................... -->
<element name="TimeAggregate" type="swe:TimeAggregateType" substitutionGroup="gml:_TimeObject">
<annotation>
<documentation>a set of TimeObjects, often TimeInstants and TimePeriods</documentation>
</annotation>
</element>
<!-- ......................... -->
<complexType name="TimeAggregatePropertyType">
<sequence minOccurs="0">
<element ref="swe:TimeAggregate"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
</complexType>
<!-- ===================================== -->
<!-- ===== Implicit time aggregates ====== -->
<!-- ================================================================== -->
<complexType name="TimeGridType">
<annotation>
<documentation>Regular "grid" of time-points.
Follow pattern of (ISO 19123) spatial grids:
these have (dimension,axisName,extent(,origin,offsetVector))
For temporal case, dimension is fixed (1), axisName is fixed ("time")</documentation>
</annotation>
<complexContent>
<extension base="gml:AbstractTimeComplexType">
<sequence>
<element name="extent" type="swe:TimeGridExtentType"/>
<choice>
<element name="originPos" type="gml:TimePositionType">
<annotation>
<documentation>Simple-content time position</documentation>
</annotation>
</element>
<element name="origin" type="gml:TimeInstantPropertyType">
<annotation>
<documentation>Reference to an identified time instant</documentation>
</annotation>
</element>
</choice>
<choice>
<element name="offsetDuration" type="duration">
<annotation>
<documentation>XML Schema built-in simple type for duration: e.g.
P1Y (1 year)
P1M (1 month)
P1DT12H (1 day 12 hours)
PT5M (5 minutes)
PT0.007S (7 milliseconds)</documentation>
</annotation>
</element>
<element name="offsetInterval" type="gml:TimeIntervalLengthType">
<annotation>
<documentation>representation of the ISO 11404 model of a time interval
length: e.g.
value=1, unit="year"
value=1, unit="other:month" (or see next)
value=1, unit="year" radix="12" factor="1" (1/12 year)
value=1.5, unit="day"
value=36, unit="hour"
value=5, unit="minute"
value=7, unit="second" radix="10" factor="3" (7 milliseconds)</documentation>
</annotation>
</element>
</choice>
<element name="duration" type="duration" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- ......................... -->
<element name="TimeGrid" type="swe:TimeGridType" abstract="true" substitutionGroup="gml:_TimeComplex">
<annotation>
<documentation>A set of uniformly spaced time instants described using an implicit
notation</documentation>
</annotation>
</element>
<!-- ......................... -->
<complexType name="TimeGridPropertyType">
<sequence minOccurs="0">
<element ref="swe:TimeInstantGrid"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
</complexType>
<!-- =========================================================== -->
<complexType name="TimeGridExtentType">
<sequence>
<element name="SeriesEnvelope">
<annotation>
<documentation>Grid extent specified in grid coordinates - i.e. 2 integers</documentation>
</annotation>
<complexType>
<sequence>
<element name="low" type="integer"/>
<element name="high" type="integer"/>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
<!-- ================================================================== -->
<complexType name="TimeInstantGridType">
<annotation>
<documentation>Extend time instant grid with window size property</documentation>
</annotation>
<complexContent>
<extension base="swe:TimeGridType">
</extension>
</complexContent>
</complexType>
<!-- ......................... -->
<element name="TimeInstantGrid" type="swe:TimeInstantGridType" substitutionGroup="swe:TimeGrid">
<annotation>
<documentation>A set of uniformly spaced time instants described using an implicit
notation</documentation>
</annotation>
</element>
<!-- ......................... -->
<complexType name="TimeInstantGridPropertyType">
<sequence minOccurs="0">
<element ref="swe:TimeInstantGrid"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
</complexType>
<!-- ================================================================== -->
<complexType name="TimeIntervalGridType">
<annotation>
<documentation>Extend time instant grid with window size property</documentation>
</annotation>
<complexContent>
<extension base="swe:TimeGridType">
<sequence>
<choice>
<element name="windowDuration" type="duration">
<annotation>
<documentation>XML Schema built-in simple type for
duration</documentation>
</annotation>
</element>
<element name="windowInterval" type="gml:TimeIntervalLengthType">
<annotation>
<documentation>representation of the ISO 11404 model of a time interval
length</documentation>
</annotation>
</element>
</choice>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- ......................... -->
<element name="TimeIntervalGrid" type="swe:TimeIntervalGridType" substitutionGroup="swe:TimeGrid">
<annotation>
<documentation>A set of uniformly spaced time intervals described using an implicit
notation</documentation>
</annotation>
</element>
<!-- ......................... -->
<complexType name="TimeIntervalGridPropertyType">
<sequence minOccurs="0">
<element ref="swe:TimeIntervalGrid"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
</complexType>
<!-- ================================================================== -->
</schema>
|