1
|
<?xml version="1.0" encoding="utf-8"?>
|
2
|
<xs:schema targetNamespace="http://www.isotc211.org/2005/gmx" elementFormDefault="qualified" version="0.1" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmx="http://www.isotc211.org/2005/gmx">
|
3
|
<!-- ================================= Annotation ================================ -->
|
4
|
<xs:annotation>
|
5
|
<xs:documentation>This file was generated from ISO TC/211 UML class diagrams == 03-15-2005 09:15:02 ====== </xs:documentation>
|
6
|
</xs:annotation>
|
7
|
<!-- ================================== Imports ================================== -->
|
8
|
<xs:import namespace="http://www.isotc211.org/2005/gco" schemaLocation="../gco/gco.xsd"/>
|
9
|
<xs:import namespace="http://www.opengis.net/gml/3.2" schemaLocation="../gml321/gml.xsd"/>
|
10
|
<xs:import namespace="http://www.isotc211.org/2005/gmd" schemaLocation="../gmd/gmd.xsd"/>
|
11
|
<!-- ########################################################################### -->
|
12
|
<!-- ########################################################################### -->
|
13
|
<!-- ================================== Classes ================================= -->
|
14
|
<!-- ........................................................................ -->
|
15
|
<!-- ........................................................................ -->
|
16
|
<xs:complexType name="UnitDefinition_PropertyType">
|
17
|
<xs:sequence minOccurs="0">
|
18
|
<xs:element ref="gml:UnitDefinition"/>
|
19
|
</xs:sequence>
|
20
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
21
|
<xs:attribute ref="gco:nilReason"/>
|
22
|
</xs:complexType>
|
23
|
<!-- =========================================================================== -->
|
24
|
<!-- ........................................................................ -->
|
25
|
<!-- ........................................................................ -->
|
26
|
<xs:complexType name="BaseUnit_PropertyType">
|
27
|
<xs:sequence minOccurs="0">
|
28
|
<xs:element ref="gml:BaseUnit"/>
|
29
|
</xs:sequence>
|
30
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
31
|
<xs:attribute ref="gco:nilReason"/>
|
32
|
</xs:complexType>
|
33
|
<!-- =========================================================================== -->
|
34
|
<!-- ........................................................................ -->
|
35
|
<!-- ........................................................................ -->
|
36
|
<xs:complexType name="DerivedUnit_PropertyType">
|
37
|
<xs:sequence minOccurs="0">
|
38
|
<xs:element ref="gml:DerivedUnit"/>
|
39
|
</xs:sequence>
|
40
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
41
|
<xs:attribute ref="gco:nilReason"/>
|
42
|
</xs:complexType>
|
43
|
<!-- =========================================================================== -->
|
44
|
<!-- ........................................................................ -->
|
45
|
<!-- ........................................................................ -->
|
46
|
<xs:complexType name="ConventionalUnit_PropertyType">
|
47
|
<xs:sequence minOccurs="0">
|
48
|
<xs:element ref="gml:ConventionalUnit"/>
|
49
|
</xs:sequence>
|
50
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
51
|
<xs:attribute ref="gco:nilReason"/>
|
52
|
</xs:complexType>
|
53
|
<!-- =========================================================================== -->
|
54
|
<xs:complexType name="ML_BaseUnit_Type">
|
55
|
<xs:complexContent>
|
56
|
<xs:extension base="gml:BaseUnitType">
|
57
|
<xs:sequence>
|
58
|
<xs:element name="alternativeExpression" type="gmx:UomAlternativeExpression_PropertyType" maxOccurs="unbounded"/>
|
59
|
</xs:sequence>
|
60
|
</xs:extension>
|
61
|
</xs:complexContent>
|
62
|
</xs:complexType>
|
63
|
<!-- ........................................................................ -->
|
64
|
<xs:element name="ML_BaseUnit" type="gmx:ML_BaseUnit_Type" substitutionGroup="gml:BaseUnit"/>
|
65
|
<!-- ........................................................................ -->
|
66
|
<xs:complexType name="ML_BaseUnit_PropertyType">
|
67
|
<xs:sequence minOccurs="0">
|
68
|
<xs:element ref="gmx:ML_BaseUnit"/>
|
69
|
</xs:sequence>
|
70
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
71
|
<xs:attribute ref="gco:nilReason"/>
|
72
|
</xs:complexType>
|
73
|
<!-- =========================================================================== -->
|
74
|
<xs:complexType name="ML_DerivedUnit_Type">
|
75
|
<xs:complexContent>
|
76
|
<xs:extension base="gml:DerivedUnitType">
|
77
|
<xs:sequence>
|
78
|
<xs:element name="alternativeExpression" type="gmx:UomAlternativeExpression_PropertyType" maxOccurs="unbounded"/>
|
79
|
</xs:sequence>
|
80
|
</xs:extension>
|
81
|
</xs:complexContent>
|
82
|
</xs:complexType>
|
83
|
<!-- ........................................................................ -->
|
84
|
<xs:element name="ML_DerivedUnit" type="gmx:ML_DerivedUnit_Type" substitutionGroup="gml:DerivedUnit"/>
|
85
|
<!-- ........................................................................ -->
|
86
|
<xs:complexType name="ML_DerivedUnit_PropertyType">
|
87
|
<xs:sequence minOccurs="0">
|
88
|
<xs:element ref="gmx:ML_DerivedUnit"/>
|
89
|
</xs:sequence>
|
90
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
91
|
<xs:attribute ref="gco:nilReason"/>
|
92
|
</xs:complexType>
|
93
|
<!-- =========================================================================== -->
|
94
|
<xs:complexType name="ML_ConventionalUnit_Type">
|
95
|
<xs:complexContent>
|
96
|
<xs:extension base="gml:ConventionalUnitType">
|
97
|
<xs:sequence>
|
98
|
<xs:element name="alternativeExpression" type="gmx:UomAlternativeExpression_PropertyType" maxOccurs="unbounded"/>
|
99
|
</xs:sequence>
|
100
|
</xs:extension>
|
101
|
</xs:complexContent>
|
102
|
</xs:complexType>
|
103
|
<!-- ........................................................................ -->
|
104
|
<xs:element name="ML_ConventionalUnit" type="gmx:ML_ConventionalUnit_Type" substitutionGroup="gml:ConventionalUnit"/>
|
105
|
<!-- ........................................................................ -->
|
106
|
<xs:complexType name="ML_ConventionalUnit_PropertyType">
|
107
|
<xs:sequence minOccurs="0">
|
108
|
<xs:element ref="gmx:ML_ConventionalUnit"/>
|
109
|
</xs:sequence>
|
110
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
111
|
<xs:attribute ref="gco:nilReason"/>
|
112
|
</xs:complexType>
|
113
|
<!-- =========================================================================== -->
|
114
|
<xs:complexType name="ML_UnitDefinition_Type">
|
115
|
<xs:complexContent>
|
116
|
<xs:extension base="gml:UnitDefinitionType">
|
117
|
<xs:sequence>
|
118
|
<xs:element name="alternativeExpression" type="gmx:UomAlternativeExpression_PropertyType" maxOccurs="unbounded"/>
|
119
|
</xs:sequence>
|
120
|
</xs:extension>
|
121
|
</xs:complexContent>
|
122
|
</xs:complexType>
|
123
|
<!-- ........................................................................ -->
|
124
|
<xs:element name="ML_UnitDefinition" type="gmx:ML_UnitDefinition_Type" substitutionGroup="gml:UnitDefinition"/>
|
125
|
<!-- ........................................................................ -->
|
126
|
<xs:complexType name="ML_UnitDefinition_PropertyType">
|
127
|
<xs:sequence minOccurs="0">
|
128
|
<xs:element ref="gmx:ML_UnitDefinition"/>
|
129
|
</xs:sequence>
|
130
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
131
|
<xs:attribute ref="gco:nilReason"/>
|
132
|
</xs:complexType>
|
133
|
<!-- =========================================================================== -->
|
134
|
<!-- =========================================================================== -->
|
135
|
<!--===================== Alternative Expresssion type ===============================-->
|
136
|
<xs:complexType name="UomAlternativeExpression_Type">
|
137
|
<xs:annotation>
|
138
|
<xs:documentation>XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory</xs:documentation>
|
139
|
</xs:annotation>
|
140
|
<xs:complexContent>
|
141
|
<xs:extension base="gml:UnitDefinitionType">
|
142
|
<xs:sequence>
|
143
|
<xs:element name="locale" type="gmd:PT_Locale_PropertyType"/>
|
144
|
</xs:sequence>
|
145
|
<xs:attribute name="codeSpace" type="xs:anyURI" use="required"/>
|
146
|
</xs:extension>
|
147
|
</xs:complexContent>
|
148
|
</xs:complexType>
|
149
|
<!-- ........................................................................ -->
|
150
|
<xs:element name="UomAlternativeExpression" type="gmx:UomAlternativeExpression_Type"/>
|
151
|
<!-- ........................................................................ -->
|
152
|
<xs:complexType name="UomAlternativeExpression_PropertyType">
|
153
|
<xs:sequence minOccurs="0">
|
154
|
<xs:element ref="gmx:UomAlternativeExpression"/>
|
155
|
</xs:sequence>
|
156
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
157
|
<xs:attribute ref="gco:nilReason"/>
|
158
|
</xs:complexType>
|
159
|
<!-- =========================================================================== -->
|
160
|
<!-- =========================================================================== -->
|
161
|
<!-- === End of file === -->
|
162
|
</xs:schema>
|