1 |
9559
|
tao
|
<?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:14:50 ====== </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="../gml/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="CT_CodelistValue_PropertyType">
|
17 |
|
|
<xs:sequence minOccurs="0">
|
18 |
|
|
<xs:element ref="gmx:CodeDefinition"/>
|
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="CT_Codelist_PropertyType">
|
27 |
|
|
<xs:sequence minOccurs="0">
|
28 |
|
|
<xs:element ref="gmx:CodeListDictionary"/>
|
29 |
|
|
</xs:sequence>
|
30 |
|
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
31 |
|
|
<xs:attribute ref="gco:nilReason"/>
|
32 |
|
|
</xs:complexType>
|
33 |
|
|
<!-- =========================================================================== -->
|
34 |
|
|
<xs:complexType name="CodeDefinition_Type">
|
35 |
|
|
<xs:complexContent>
|
36 |
|
|
<xs:extension base="gml:DefinitionType"/>
|
37 |
|
|
</xs:complexContent>
|
38 |
|
|
</xs:complexType>
|
39 |
|
|
<!-- ........................................................................ -->
|
40 |
|
|
<xs:element name="CodeDefinition" type="gmx:CodeDefinition_Type" substitutionGroup="gml:Definition"/>
|
41 |
|
|
<!-- ........................................................................ -->
|
42 |
|
|
<xs:complexType name="CodeDefinition_PropertyType">
|
43 |
|
|
<xs:sequence minOccurs="0">
|
44 |
|
|
<xs:element ref="gmx:CodeDefinition"/>
|
45 |
|
|
</xs:sequence>
|
46 |
|
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
47 |
|
|
<xs:attribute ref="gco:nilReason"/>
|
48 |
|
|
</xs:complexType>
|
49 |
|
|
<!-- =========================================================================== -->
|
50 |
|
|
<xs:complexType name="CodeListDictionary_Type">
|
51 |
|
|
<xs:annotation>
|
52 |
|
|
<xs:documentation>Constraints: - 1) metadataProperty.card = 0 - 2) dictionaryEntry.card = 0</xs:documentation>
|
53 |
|
|
</xs:annotation>
|
54 |
|
|
<xs:complexContent>
|
55 |
|
|
<xs:extension base="gml:DictionaryType">
|
56 |
|
|
<xs:sequence>
|
57 |
|
|
<xs:element name="codeEntry" type="gmx:CodeDefinition_PropertyType" maxOccurs="unbounded"/>
|
58 |
|
|
</xs:sequence>
|
59 |
|
|
</xs:extension>
|
60 |
|
|
</xs:complexContent>
|
61 |
|
|
</xs:complexType>
|
62 |
|
|
<!-- ........................................................................ -->
|
63 |
|
|
<xs:element name="CodeListDictionary" type="gmx:CodeListDictionary_Type" substitutionGroup="gml:Dictionary"/>
|
64 |
|
|
<!-- ........................................................................ -->
|
65 |
|
|
<xs:complexType name="CodeListDictionary_PropertyType">
|
66 |
|
|
<xs:sequence minOccurs="0">
|
67 |
|
|
<xs:element ref="gmx:CodeListDictionary"/>
|
68 |
|
|
</xs:sequence>
|
69 |
|
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
70 |
|
|
<xs:attribute ref="gco:nilReason"/>
|
71 |
|
|
</xs:complexType>
|
72 |
|
|
<!-- =========================================================================== -->
|
73 |
|
|
<xs:complexType name="ML_CodeDefinition_Type">
|
74 |
|
|
<xs:complexContent>
|
75 |
|
|
<xs:extension base="gmx:CodeDefinition_Type">
|
76 |
|
|
<xs:sequence>
|
77 |
|
|
<xs:element name="alternativeExpression" type="gmx:CodeAlternativeExpression_PropertyType" maxOccurs="unbounded"/>
|
78 |
|
|
</xs:sequence>
|
79 |
|
|
</xs:extension>
|
80 |
|
|
</xs:complexContent>
|
81 |
|
|
</xs:complexType>
|
82 |
|
|
<!-- ........................................................................ -->
|
83 |
|
|
<xs:element name="ML_CodeDefinition" type="gmx:ML_CodeDefinition_Type" substitutionGroup="gmx:CodeDefinition"/>
|
84 |
|
|
<!-- ........................................................................ -->
|
85 |
|
|
<xs:complexType name="ML_CodeDefinition_PropertyType">
|
86 |
|
|
<xs:sequence minOccurs="0">
|
87 |
|
|
<xs:element ref="gmx:ML_CodeDefinition"/>
|
88 |
|
|
</xs:sequence>
|
89 |
|
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
90 |
|
|
<xs:attribute ref="gco:nilReason"/>
|
91 |
|
|
</xs:complexType>
|
92 |
|
|
<!-- =========================================================================== -->
|
93 |
|
|
<xs:complexType name="ML_CodeListDictionary_Type">
|
94 |
|
|
<xs:annotation>
|
95 |
|
|
<xs:documentation>Constraint: codeEntry.type = ML_CodeListDefinition</xs:documentation>
|
96 |
|
|
</xs:annotation>
|
97 |
|
|
<xs:complexContent>
|
98 |
|
|
<xs:extension base="gmx:CodeListDictionary_Type">
|
99 |
|
|
<xs:sequence>
|
100 |
|
|
<xs:element name="alternativeExpression" type="gmx:ClAlternativeExpression_PropertyType" maxOccurs="unbounded"/>
|
101 |
|
|
</xs:sequence>
|
102 |
|
|
</xs:extension>
|
103 |
|
|
</xs:complexContent>
|
104 |
|
|
</xs:complexType>
|
105 |
|
|
<!-- ........................................................................ -->
|
106 |
|
|
<xs:element name="ML_CodeListDictionary" type="gmx:ML_CodeListDictionary_Type" substitutionGroup="gmx:CodeListDictionary"/>
|
107 |
|
|
<!-- ........................................................................ -->
|
108 |
|
|
<xs:complexType name="ML_CodeListDictionary_PropertyType">
|
109 |
|
|
<xs:sequence minOccurs="0">
|
110 |
|
|
<xs:element ref="gmx:ML_CodeListDictionary"/>
|
111 |
|
|
</xs:sequence>
|
112 |
|
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
113 |
|
|
<xs:attribute ref="gco:nilReason"/>
|
114 |
|
|
</xs:complexType>
|
115 |
|
|
<!-- =========================================================================== -->
|
116 |
|
|
<!-- =========================================================================== -->
|
117 |
|
|
<!--===================== Alternative Expresssion type ===============================-->
|
118 |
|
|
<xs:complexType name="ClAlternativeExpression_Type">
|
119 |
|
|
<xs:annotation>
|
120 |
|
|
<xs:documentation>XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory</xs:documentation>
|
121 |
|
|
</xs:annotation>
|
122 |
|
|
<xs:complexContent>
|
123 |
|
|
<xs:extension base="gml:DefinitionType">
|
124 |
|
|
<xs:sequence>
|
125 |
|
|
<xs:element name="locale" type="gmd:PT_Locale_PropertyType"/>
|
126 |
|
|
</xs:sequence>
|
127 |
|
|
<xs:attribute name="codeSpace" type="xs:anyURI" use="required"/>
|
128 |
|
|
</xs:extension>
|
129 |
|
|
</xs:complexContent>
|
130 |
|
|
</xs:complexType>
|
131 |
|
|
<!-- ........................................................................ -->
|
132 |
|
|
<xs:element name="ClAlternativeExpression" type="gmx:ClAlternativeExpression_Type"/>
|
133 |
|
|
<!-- ........................................................................ -->
|
134 |
|
|
<xs:complexType name="ClAlternativeExpression_PropertyType">
|
135 |
|
|
<xs:sequence minOccurs="0">
|
136 |
|
|
<xs:element ref="gmx:ClAlternativeExpression"/>
|
137 |
|
|
</xs:sequence>
|
138 |
|
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
139 |
|
|
<xs:attribute ref="gco:nilReason"/>
|
140 |
|
|
</xs:complexType>
|
141 |
|
|
<!-- =========================================================================== -->
|
142 |
|
|
<!-- =========================================================================== -->
|
143 |
|
|
<xs:complexType name="CodeAlternativeExpression_Type">
|
144 |
|
|
<xs:annotation>
|
145 |
|
|
<xs:documentation>XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory</xs:documentation>
|
146 |
|
|
</xs:annotation>
|
147 |
|
|
<xs:complexContent>
|
148 |
|
|
<xs:extension base="gml:DefinitionType">
|
149 |
|
|
<xs:sequence>
|
150 |
|
|
<xs:element name="locale" type="gmd:PT_Locale_PropertyType" minOccurs="0"/>
|
151 |
|
|
</xs:sequence>
|
152 |
|
|
<xs:attribute name="codeSpace" type="xs:anyURI" use="required"/>
|
153 |
|
|
</xs:extension>
|
154 |
|
|
</xs:complexContent>
|
155 |
|
|
</xs:complexType>
|
156 |
|
|
<!-- ........................................................................ -->
|
157 |
|
|
<xs:element name="CodeAlternativeExpression" type="gmx:CodeAlternativeExpression_Type"/>
|
158 |
|
|
<!-- ........................................................................ -->
|
159 |
|
|
<xs:complexType name="CodeAlternativeExpression_PropertyType">
|
160 |
|
|
<xs:sequence minOccurs="0">
|
161 |
|
|
<xs:element ref="gmx:CodeAlternativeExpression"/>
|
162 |
|
|
</xs:sequence>
|
163 |
|
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
164 |
|
|
<xs:attribute ref="gco:nilReason"/>
|
165 |
|
|
</xs:complexType>
|
166 |
|
|
<!-- =========================================================================== -->
|
167 |
|
|
<!--===End Of File===-->
|
168 |
|
|
</xs:schema>
|