XML Schema "observable-property.xsd"
Target Namespace:
Version:
1.0
Defined Components:
elements (10 global + 25 local), complexTypes (21), simpleTypes (1)
Default Namespace-Qualified Form:
Local Elements: qualified; Local Attributes: unqualified
Schema Location:
http://schemas.wmo.int/opm/1.0/observable-property.xsd; see XML source
Imports Schemas (1):
Includes Schemas (1):
Included in Schemas (1):
Annotation
Annotation 1 [src]:
References to WMO and ICAO Technical Regulations within this XML schema shall have no formal status and are for information purposes only. Where there are differences between the Technical Regulations and the schema, the Technical Regulations shall take precedence. Technical Regulations may impose requirements that are not described in this schema.
Annotation 2 [src]:
«Leaf» package for the 'Observable Property Model'
All Element Summary (local elements unified by type)
An 'observable property' is a physical property that can be observed.
Type:
Content:
complex, 1 attribute, 8 elements
Abstract:
(may not be used directly in instance XML documents)
Subst.Gr:
affiliated to substitution group gml:AbstractGML; may be substituted with 3 elements
Defined:
globally; see XML source
Used:
The attribute 'aggregationArea' defines the spatial area over which the statistical function is applied in order to determine the statistical summary.
Type:
Content:
simple, 1 attribute
Defined:
The attribute 'aggregationLength' defines the spatial length over which the statistical function is applied in order to determine the statistical summary.
Type:
Content:
simple, 1 attribute
Defined:
The attribute 'aggregationTimePeriod' defines the temporal duration over which the statistical function is applied in order to determine the statistical summary.
Type:
duration
Content:
simple
Defined:
The attribute 'aggregationVolume' defines the spatial volume over which the statistical function is applied in order to determine the statistical summary.
Type:
Content:
simple, 1 attribute
Defined:
opm:altLabel (type string)
The attribute 'altLabel' provides an alternative human-readable label used to describe the physical property.
Type:
string
Content:
simple
Defined:
Type:
Content:
complex, 10 attributes, 1 element
Defined:
The class 'CategoryConstraint' enables a category-based constraint to be specified.
Type:
Content:
complex, 3 elements
Subst.Gr:
may substitute for elements: opm:Constraint, gml:AbstractObject
Defined:
globally; see XML source
Used:
CompositeObservableProperty provides a single object within which a number of AbstractObservableProperty instances can be aggregated.
Type:
Content:
complex, 2 attributes, 9 elements
Subst.Gr:
Defined:
globally; see XML source
Used:
The class 'Constraint' enables the constraints relating to an observable physical property in a given measurement context to be specified.
Type:
Content:
complex, 2 elements
Subst.Gr:
may substitute for element gml:AbstractObject; may be substituted with 3 elements
Defined:
globally; see XML source
Used:
Type:
Content:
complex, 1 attribute, 1 element
Defined:
Type:
Content:
complex, 10 attributes, 1 element
Defined:
locally within opm:ConstraintType complexType; see XML source
Type:
Content:
complex, 1 attribute, 1 element
Defined:
opm:description (type string)
Type:
string
Content:
simple
Defined:
locally at 2 locations
opm:label (type string)
The attribute 'label' provides the primary human-readable label describing the observable physical property.
Type:
string
Content:
simple
Defined:
The attribute 'notation' provides a notation or code-value that is used to identify the physical property within a given context.
Type:
Content:
simple, 1 attribute
Defined:
An 'observable property' is a physical property that can be observed.
Type:
Content:
complex, 1 attribute, 8 elements
Subst.Gr:
may substitute for elements: opm:AbstractObservableProperty, gml:AbstractGML, gml:AbstractObject; may be substituted with 1 element
Defined:
globally; see XML source
Used:
The attribute 'otherAggregation' defines the any type of aggregation (other than duration, length, area or volume) over which the statistical function is applied in order to determine the statistical summary; e.g. prevailing visibility is [approximately] defined as a mean visibility in each horizontal direction.
Type:
Content:
complex, 10 attributes, elem. wildcard
Defined:
Type:
Content:
complex, 10 attributes, 1 element
Defined:
The class 'QualifiedObservableProperty' describes an observable physical property that is qualified or constrained within a given measurement context.
Type:
Content:
complex, 1 attribute, 12 elements
Subst.Gr:
Defined:
globally; see XML source
Used:
Type:
Content:
complex, 1 attribute, 1 element
Defined:
The class 'RangeBounds' describes the extreme limits of a property value range (also known as a property value interval).
Type:
Content:
complex, 2 attributes, 2 elements
Subst.Gr:
may substitute for element gml:AbstractObject
Defined:
globally; see XML source
Used:
The class 'RangeConstraint' allows an observed physical property to be constrained according to a range of values of the constraining property.
Type:
Content:
complex, 4 elements
Subst.Gr:
may substitute for elements: opm:Constraint, gml:AbstractObject
Defined:
globally; see XML source
Used:
The attribute 'rangeEnd' provides the extreme upper limit of the range or interval.
Type:
double
Content:
simple
Defined:
locally within opm:RangeBoundsType complexType; see XML source
The attribute 'rangeStart' provides the extreme lower limit of the range or interval.
Type:
double
Content:
simple
Defined:
locally within opm:RangeBoundsType complexType; see XML source
The class 'ScalarConstraint' allows an observed physical property to be constrained according to specific values of the constraining property.
Type:
Content:
complex, 1 attribute, 4 elements
Subst.Gr:
may substitute for elements: opm:Constraint, gml:AbstractObject
Defined:
globally; see XML source
Used:
The attribute 'statisticalFunction' defines the type of statistical function that is applied to the base observed property values in order to generate the statistical summary.
Type:
Content:
empty, 10 attributes
Defined:
An observed physical property may be represent a statistical summary with respect to a base property; e.g. maximum UV index over a 3-hour period.
Type:
Content:
complex, 8 elements
Subst.Gr:
may substitute for element gml:AbstractObject
Defined:
globally; see XML source
Used:
Type:
Content:
empty, 1 attribute
Defined:
locally at 3 locations
The attribute 'value' defines the category member that applies to this constraint.
Type:
Content:
simple, 1 attribute
Defined:
The association role 'value' references an instance of the RangeBounds class that specifies the extreme limits of the range that apply to the constraint property.
Type:
Content:
complex, 1 attribute, 1 element
Defined:
The attribute 'value' provides the value of the constraint property.
Type:
double
Content:
simple
Defined:
Complex Type Summary
Content:
complex, 10 attributes, 1 element
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Content:
complex, 1 attribute, 8 elements
Abstract:
(cannot be assigned directly to elements used in instance XML documents)
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
Content:
complex, 1 attribute, 1 element
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
never
Content:
complex, 3 elements
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Content:
complex, 10 attributes, 1 element
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
never
Content:
complex, 2 attributes, 9 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 1 element
Used:
Content:
complex, 1 attribute, 1 element
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Content:
complex, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Content:
complex, 10 attributes, 1 element
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Content:
complex, 1 attribute, 8 elements
Defined:
globally; see XML source
Used:
Content:
complex, 10 attributes, 1 element
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
never
Content:
complex, 1 attribute, 12 elements
Defined:
globally; see XML source
Includes:
definitions of 4 elements
Used:
Content:
complex, 1 attribute, 1 element
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Content:
complex, 2 attributes, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 attributes, 2 elements
Used:
Content:
complex, 1 attribute, 1 element
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
never
Content:
complex, 4 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Content:
complex, 1 attribute, 1 element
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
never
Content:
complex, 1 attribute, 4 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 2 elements
Used:
The «CodeList» class 'StatisticalFunctionCode' specifies the type of statistical function that is applied to the base observable property to define the statistical summary; e.g. maximum air temperature.
Content:
empty, 10 attributes
Defined:
globally; see XML source
Used:
Content:
complex, 1 attribute, 1 element
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Content:
complex, 8 elements
Defined:
globally; see XML source
Includes:
definitions of 8 elements
Used:
Simple Type Summary
«Enumeration» 'ComparisonOperator' defines the set mathematical operators that may be used to compare numerical values; not equal, less than, less than or equal, equal, greater than or equal and greater than.
Defined:
globally; see XML source
Used:
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://def.wmo.int/opm/2013" version="1.0" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:opm="http://def.wmo.int/opm/2013">
<annotation>
<documentation>
References to WMO and ICAO Technical Regulations within this XML schema shall have
no formal status and are for information purposes only. Where there are differences
between the Technical Regulations and the schema, the Technical Regulations shall
take precedence. Technical Regulations may impose requirements that are not described
in this schema.
</documentation>
<documentation>
&#171;Leaf&#187; package for the 'Observable Property Model'
</documentation>
<appinfo>
<sch:title xmlns:sch="http://purl.oclc.org/dsdl/schematron">
Schematron validation
</sch:title>
<sch:ns prefix="opm" uri="http://def.wmo.int/opm/2013" xmlns:sch="http://purl.oclc.org/dsdl/schematron"/>
<sch:ns prefix="sam" uri="http://www.opengis.net/sampling/2.0" xmlns:sch="http://purl.oclc.org/dsdl/schematron"/>
<sch:ns prefix="sams" uri="http://www.opengis.net/samplingSpatial/2.0" xmlns:sch="http://purl.oclc.org/dsdl/schematron"/>
<sch:ns prefix="xlink" uri="http://www.w3.org/1999/xlink" xmlns:sch="http://purl.oclc.org/dsdl/schematron"/>
<sch:ns prefix="om" uri="http://www.opengis.net/om/2.0" xmlns:sch="http://purl.oclc.org/dsdl/schematron"/>
<sch:ns prefix="gml" uri="http://www.opengis.net/gml/3.2" xmlns:sch="http://purl.oclc.org/dsdl/schematron"/>
</appinfo>
</annotation>
<include schemaLocation="opm.xsd"/>
<element abstract="true" name="AbstractObservableProperty" substitutionGroup="gml:AbstractGML" type="opm:AbstractObservablePropertyType">
<annotation>
<documentation>
An 'observable property' is a physical property that can be observed. Typically, this
will be a quantitative property (Quantity [1]) such as 'dew-point temperature'. This
abstract class enables either a single physical property to be specified or a composite
observable property that aggregates a set of physical properties for a given observation
context. In many cases, the observed physical property will be sourced from a controlled
vocabulary, thesaurus or ontology. [1] Quantity: property of a phenomenon, body,
or substance, where the property has a magnitude that can be expressed as a number
and a reference (from the 'International vocabulary of metrology' [http://www.bipm.org/utils/common/documents/jcgm/JCGM_200_2008.pdf])
</documentation>
</annotation>
</element>
<complexType abstract="true" name="AbstractObservablePropertyType">
<complexContent>
<extension base="gml:AbstractGMLType">
<sequence>
<element maxOccurs="1" minOccurs="0" name="label" type="string">
<annotation>
<documentation>
The attribute 'label' provides the primary human-readable label describing the observable
physical property.
</documentation>
</annotation>
</element>
<element maxOccurs="unbounded" minOccurs="0" name="altLabel" type="string">
<annotation>
<documentation>
The attribute 'altLabel' provides an alternative human-readable label used to describe
the physical property.
</documentation>
</annotation>
</element>
<element maxOccurs="unbounded" minOccurs="0" name="notation" type="gml:CodeType">
<annotation>
<documentation>
The attribute 'notation' provides a notation or code-value that is used to identify
the physical property within a given context.
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<sequence minOccurs="0"> </sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>
<annotation>
<documentation>
CompositeObservableProperty provides a single object within which a number of AbstractObservableProperty
instances can be aggregated.
</documentation>
<appinfo>
<sch:pattern id="CompositeObservableProperty1" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="//opm:CompositeObservableProperty">
<sch:assert test="(string(@count) eq string(count(opm:property)))">
CompositeObservableProperty: Attribute 'count' shall specify the number of observed
physical properties (specified via the 'property' association role) aggregated within
this composite observable property.
</sch:assert>
</sch:rule>
</sch:pattern>
</appinfo>
</annotation>
</element>
<complexType name="CompositeObservablePropertyType">
<complexContent>
<extension base="opm:AbstractObservablePropertyType">
<sequence>
<element maxOccurs="unbounded" minOccurs="2" name="property" type="opm:AbstractObservablePropertyPropertyType"/>
</sequence>
<attribute name="count" type="integer" use="required"/>
</extension>
</complexContent>
</complexType>
<sequence minOccurs="0"> </sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>
<annotation>
<documentation>
An 'observable property' is a physical property that can be observed. Typically, this
will be a quantitative property (Quantity [1]) such as 'dew-point temperature'. In
many cases, the observed physical property will be sourced from a controlled vocabulary,
thesaurus or ontology. The definition may be a simple a SKOS Concept or a node in
a well-defined ontology. As such, the attributes of ObservableProperty have been elided;
we simply need to assert that the entity has compatible semantics with the ObservableProperty
class defined herein. [1] Quantity: property of a phenomenon, body, or substance,
where the property has a magnitude that can be expressed as a number and a reference
(from the 'International vocabulary of metrology' [http://www.bipm.org/utils/common/documents/jcgm/JCGM_200_2008.pdf])
</documentation>
</annotation>
</element>
<complexType name="ObservablePropertyType">
<complexContent> </complexContent>
</complexType>
<complexType name="ObservablePropertyPropertyType">
<sequence minOccurs="0">
<element ref="opm:ObservableProperty"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>
<annotation>
<documentation>
The class 'QualifiedObservableProperty' describes an observable physical property
that is qualified or constrained within a given measurement context. Qualification
of the observed physical property may take several forms: - a specific unit of measure;
- a statistical operator (e.g. maximum) plus the aggregation context that the statistical
operator applies to; or - a constraint (e.g. radiance in wavelength band 50nm to 100nm).
</documentation>
<appinfo>
<sch:pattern id="QualifiedObservableProperty1" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="//opm:QualifiedObservableProperty">
<sch:assert test="((: TO BE IMPLEMENTATED WHEN REPOSITORY IS READY :) true())">
QualifiedObservableProperty: unitOfMeasure shall be appropriate for baseProperty
</sch:assert>
</sch:rule>
</sch:pattern>
</appinfo>
</annotation>
</element>
<complexType name="QualifiedObservablePropertyType">
<complexContent>
<extension base="opm:ObservablePropertyType">
<sequence>
<element maxOccurs="1" minOccurs="0" name="unitOfMeasure" type="gml:UnitOfMeasureType">
<annotation>
<documentation>
The attribute 'uom' specifies the unit of measure used in the measurement of this
physical property.
</documentation>
</annotation>
</element>
<element maxOccurs="unbounded" minOccurs="0" name="constraint" type="opm:ConstraintPropertyType"/>
<element maxOccurs="unbounded" minOccurs="0" name="qualifier" type="opm:StatisticalQualifierPropertyType"/>
</sequence>
</extension>
</complexContent>
</complexType>
<sequence minOccurs="0"> </sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>
<element name="ScalarConstraint" substitutionGroup="opm:Constraint" type="opm:ScalarConstraintType">
<annotation>
<documentation>
The class 'ScalarConstraint' allows an observed physical property to be constrained
according to specific values of the constraining property. For example, the base property
'air temperature' may be constrained such that we are concerned only with the air
temperature at 2.0 metres above local ground level (e.g. a screen temperature). In
this example, 'height above local ground level' is the constraint property.
</documentation>
<appinfo>
<sch:pattern id="ScalarConstraint1" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="//opm:ScalarConstraint">
<sch:assert test="((: TO BE IMPLEMENTATED WHEN REPOSITORY IS READY :) true())">
ScalarConstraint: unitOfMeasure shall be appropriate for constraintProperty
</sch:assert>
</sch:rule>
</sch:pattern>
</appinfo>
</annotation>
</element>
<complexType name="ScalarConstraintType">
<complexContent>
<extension base="opm:ConstraintType">
<sequence>
<element maxOccurs="1" minOccurs="0" name="unitOfMeasure" type="gml:UnitOfMeasureType">
<annotation>
<documentation>
The attribute 'uom' specifies the unit of measure used in the specification of the
constraint property value.
</documentation>
</annotation>
</element>
<element maxOccurs="unbounded" minOccurs="1" name="value" type="double">
<annotation>
<documentation>
The attribute 'value' provides the value of the constraint property.
</documentation>
</annotation>
</element>
</sequence>
<attribute name="comparisonOperator" type="opm:ComparisonOperatorType" use="required"/>
</extension>
</complexContent>
</complexType>
<complexType name="ScalarConstraintPropertyType">
<sequence>
<element ref="opm:ScalarConstraint"/>
</sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>
<element name="StatisticalQualifier" substitutionGroup="gml:AbstractObject" type="opm:StatisticalQualifierType">
<annotation>
<documentation>
An observed physical property may be represent a statistical summary with respect
to a base property; e.g. maximum UV index over a 3-hour period. The class 'StatisticalQualifier'
defines the type of statistical function plus the mechanism that is used to aggregate
the base property values to create the statistical summary: length, area, volume,
duration or other. Statistical summary properties may be defined by chaining a set
of statistical operations together. For example: mean daily maximum temperature over
a month period comprises two statistical operations with respect to the base property
'air temperature' - (i) maximum over a 24-hour duration, (ii) mean over a 1-month
duration.
</documentation>
</annotation>
</element>
<complexType name="StatisticalQualifierType">
<sequence>
<element maxOccurs="1" minOccurs="0" name="description" type="string">
<annotation>
<documentation>
The attribute 'description' provides a textual description of the statistical qualification
applied to the base observable physical property.
</documentation>
</annotation>
</element>
<element maxOccurs="1" minOccurs="0" name="aggregationArea" type="gml:AreaType">
<annotation>
<documentation>
The attribute 'aggregationArea' defines the spatial area over which the statistical
function is applied in order to determine the statistical summary.
</documentation>
</annotation>
</element>
<element maxOccurs="1" minOccurs="0" name="aggregationLength" type="gml:LengthType">
<annotation>
<documentation>
The attribute 'aggregationLength' defines the spatial length over which the statistical
function is applied in order to determine the statistical summary.
</documentation>
</annotation>
</element>
<element maxOccurs="1" minOccurs="0" name="aggregationTimePeriod" type="duration">
<annotation>
<documentation>
The attribute 'aggregationTimePeriod' defines the temporal duration over which the
statistical function is applied in order to determine the statistical summary.
</documentation>
</annotation>
</element>
<element maxOccurs="1" minOccurs="0" name="aggregationVolume" type="gml:VolumeType">
<annotation>
<documentation>
The attribute 'aggregationVolume' defines the spatial volume over which the statistical
function is applied in order to determine the statistical summary.
</documentation>
</annotation>
</element>
<element maxOccurs="1" minOccurs="0" name="otherAggregation" type="gml:AssociationRoleType">
<annotation>
<documentation>
The attribute 'otherAggregation' defines the any type of aggregation (other than duration,
length, area or volume) over which the statistical function is applied in order to
determine the statistical summary; e.g. prevailing visibility is [approximately] defined
as a mean visibility in each horizontal direction.
</documentation>
</annotation>
</element>
<annotation>
<documentation>
The attribute 'statisticalFunction' defines the type of statistical function that
is applied to the base observed property values in order to generate the statistical
summary.
</documentation>
</annotation>
</element>
<element maxOccurs="1" minOccurs="0" name="derivedFrom" type="opm:StatisticalQualifierPropertyType"/>
</sequence>
</complexType>
<sequence>
<element ref="opm:StatisticalQualifier"/>
</sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>
<element name="CategoryConstraint" substitutionGroup="opm:Constraint" type="opm:CategoryConstraintType">
<annotation>
<documentation>
The class 'CategoryConstraint' enables a category-based constraint to be specified.
For example, in aviation the only clouds of significance for terminal aerodrome operations
are convective clouds (cumulonimbus, towering cumulus etc.). The observed physical
property 'cloud base [height]' may be constrained such that it is applicable only
to clouds of a given type. In this example, a single instance of CategoryConstraint
would be defined referencing both cloud types (cumulonimbus and towering cumulus);
'cloud type' is the constraint property.
</documentation>
</annotation>
</element>
<complexType name="CategoryConstraintType">
<complexContent>
<extension base="opm:ConstraintType">
<sequence>
<element maxOccurs="unbounded" minOccurs="1" name="value" type="gml:CodeType">
<annotation>
<documentation>
The attribute 'value' defines the category member that applies to this constraint.
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="CategoryConstraintPropertyType">
<sequence>
<element ref="opm:CategoryConstraint"/>
</sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>
<element name="RangeConstraint" substitutionGroup="opm:Constraint" type="opm:RangeConstraintType">
<annotation>
<documentation>
The class 'RangeConstraint' allows an observed physical property to be constrained
according to a range of values of the constraining property. For example, the base
property 'radiance' may be constrained such that we are concerned only with the radiance
between wavelengths of 50nm to 100nm. In this example, 'wavelength' is the constraint
property.
</documentation>
<appinfo>
<sch:pattern id="RangeConstraint1" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="//opm:RangeConstraint">
<sch:assert test="((: TO BE IMPLEMENTATED WHEN REPOSITORY IS READY :) true())">
RangeConstraint: unitOfMeasure shall be appropriate for constraintProperty
</sch:assert>
</sch:rule>
</sch:pattern>
</appinfo>
</annotation>
</element>
<complexType name="RangeConstraintType">
<complexContent>
<extension base="opm:ConstraintType">
<sequence>
<element maxOccurs="1" minOccurs="0" name="unitOfMeasure" type="gml:UnitOfMeasureType">
<annotation>
<documentation>
The attribute 'uom' specifies the unit of measure used in the specification of the
constraint property value.
</documentation>
</annotation>
</element>
<element maxOccurs="unbounded" minOccurs="1" name="value" type="opm:RangeBoundsPropertyType">
<annotation>
<documentation>
The association role 'value' references an instance of the RangeBounds class that
specifies the extreme limits of the range that apply to the constraint property.
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="RangeConstraintPropertyType">
<sequence>
<element ref="opm:RangeConstraint"/>
</sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>
<element name="Constraint" substitutionGroup="gml:AbstractObject" type="opm:ConstraintType">
<annotation>
<documentation>
The class 'Constraint' enables the constraints relating to an observable physical
property in a given measurement context to be specified.
</documentation>
</annotation>
</element>
<complexType name="ConstraintType">
<sequence>
<element maxOccurs="1" minOccurs="0" name="description" type="string">
<annotation>
<documentation>
The attribute 'description' provides a textual description of the constraint applied
to the base observable physical property.
</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="ConstraintPropertyType">
<sequence>
<element ref="opm:Constraint"/>
</sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>
<element name="RangeBounds" substitutionGroup="gml:AbstractObject" type="opm:RangeBoundsType">
<annotation>
<documentation>
The class 'RangeBounds' describes the extreme limits of a property value range (also
known as a property value interval).
</documentation>
<appinfo>
<sch:pattern id="RangeBounds1" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="//opm:RangeBounds">
<sch:assert test="(number( opm:rangeStart/text() ) lt number( opm:rangeEnd/text() ))">
RangeBounds: The extreme lower limit of the range of interval must be less than the
extreme upper limit.
</sch:assert>
</sch:rule>
</sch:pattern>
</appinfo>
</annotation>
</element>
<complexType name="RangeBoundsType">
<sequence>
<element name="rangeStart" type="double">
<annotation>
<documentation>
The attribute 'rangeStart' provides the extreme lower limit of the range or interval.
</documentation>
</annotation>
</element>
<element name="rangeEnd" type="double">
<annotation>
<documentation>
The attribute 'rangeEnd' provides the extreme upper limit of the range or interval.
</documentation>
</annotation>
</element>
</sequence>
<attribute name="startComparison" type="opm:ComparisonOperatorType" use="required"/>
<attribute name="endComparison" type="opm:ComparisonOperatorType" use="required"/>
</complexType>
<complexType name="RangeBoundsPropertyType">
<sequence>
<element ref="opm:RangeBounds"/>
</sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>
<simpleType name="ComparisonOperatorType">
<annotation>
<documentation>
&#171;Enumeration&#187; 'ComparisonOperator' defines the set mathematical operators that may
be used to compare numerical values; not equal, less than, less than or equal, equal,
greater than or equal and greater than.
</documentation>
</annotation>
<restriction base="string">
<enumeration value="ne">
<annotation>
<documentation>Comparison operator: "not equal to"</documentation>
</annotation>
</enumeration>
<enumeration value="lt">
<annotation>
<documentation>Comparison operator: "less than"</documentation>
</annotation>
</enumeration>
<enumeration value="le">
<annotation>
<documentation>Comparison operator: "less than or equal to"</documentation>
</annotation>
</enumeration>
<enumeration value="eq">
<annotation>
<documentation>Comparison operator: "equal to"</documentation>
</annotation>
</enumeration>
<enumeration value="ge">
<annotation>
<documentation>Comparison operator: "greater than or equal to"</documentation>
</annotation>
</enumeration>
<enumeration value="gt">
<annotation>
<documentation>Comparison operator: "greater than"</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
<complexType name="StatisticalFunctionCodeType">
<annotation>
<appinfo>
<vocabulary>http://codes.wmo.int/grib2/codeflag/4.10</vocabulary>
<extensibility>any</extensibility>
</appinfo>
<documentation>
The &#171;CodeList&#187; class 'StatisticalFunctionCode' specifies the type of statistical function
that is applied to the base observable property to define the statistical summary;
e.g. maximum air temperature. Note that WMO provides two code-tables listing statistical
operators: - WMO No. 306 Vol I.2 Part B FM 92 GRIB code-table 4.10 'Type of statistical
processing'; and - WMO No. 306 Vol I.2 Part B FM 94 BUFR code-table 0 08 023 'First-order
statistics' The GRIB2 code-table is defined as the 'recommended' vocabulary for this
&#171;CodeList&#187; class but lacks some of the necessary terms. For example, the GRIB code-table
includes 'Average' but does not include 'Mean', 'Mode' or 'Median' (which can be found
in the BUFR code-table). However, the BUFR code-table is _NOT_ chosen because 'Accumulation'
is entirely missing. Given that 'extensibility' is set to 'any', authors are free
to refer to their preferred 'statistical operator' vocabulary. The GRIB code-table
is only a recommendation.

vocabulary: http://codes.wmo.int/grib2/codeflag/4.10
extensibility: any
</documentation>
</annotation>
<complexContent>
<extension base="gml:ReferenceType"/>
</complexContent>
</complexType>
</schema>

This XML schema documentation has been generated with DocFlex/XML 1.11 using DocFlex/XML XSDDoc 2.8.3 template set.
DocFlex/XML is a tool for programming and running highly sophisticated documentation and reports generators by the data obtained from any kind of XML files. The actual doc-generators are implemented in the form of special templates that are designed visually using a high-quality Template Designer GUI basing on the XML schema (or DTD) files describing the data source XML.
DocFlex/XML XSDDoc is a commercial template application of DocFlex/XML that implements a high-quality XML Schema documentation generator with simultaneous support of framed multi-file HTML, single-file HTML and RTF output formats. (More formats are planned in the future).
A commercial license for "DocFlex/XML XSDDoc" will allow you:
  • To configure the generated documentation so much as you want. Thanks to our template technology, it was possible to support > 400 template parameters, which work the same as "options" of ordinary doc-generators. The parameters are organized in nested groups, which form a parameter tree. Most of them have their default values calculated dynamically from a few primary parameters. So, you'll never need to specify all of them. That will give you swift and effective control over the generated content!
  • To use certain features disabled in the free mode (such as the full documenting of substitution groups).
  • To select only the initial, imported, included, redefined XML schemas to be documented or only those directly specified by name.
  • To include only XML schema components specified by name.
  • To document local element components both globally and locally (similar to attributes).
  • To allow/suppress unification of local elements by type.
  • To enable/disable reproducing of namespace prefixes.
  • To use PlainDoc.tpl main template to generate all the XML schema documentation in a signle-file form as both HTML and incredible quality RTF output.
  • To format your annotations with XHTML tags and reproduce that formatting both in HTML and RTF output.
  • To insert images in your annotations using XHTML <img> tags (supported both in HTML and RTF output).
  • To remove this very advertisement text!
Once having only such a license, you will be able to run the fully-featured XML schema documentation generator both with DocFlex/XML (Full Edition) and with DocFlex/XML RE, which is a reduced free edition containing only the template interpretor / output generator. No other licenses will be required!
But this is not all. In addition to it, a commercial license for "DocFlex/XML SDK" will allow you to modify the XSDDoc templates themselves as much as you want. You will be able to achieve whatever was impossible to do with the template parameters only. And, of course, you could develop any template applications by your own!
Please note that by purchasing a license for this software, you not only acquire a useful tool, you will also make an important investment in its future development, the results of which you could enjoy later by yourself. Every single your purchase matters and makes a difference for us!
To purchase a license, please follow this link: http://www.filigris.com/shop/