<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://niem.gov/niem/external/iso-19139-gmd/draft-0.1/gmx/dhs-gmo/1.0.0"
xmlns:gmx="http://niem.gov/niem/external/iso-19139-gmd/draft-0.1/gmx/dhs-gmo/1.0.0"
xmlns:gmd="http://niem.gov/niem/external/iso-19139-gmd/draft-0.1/gmd/dhs-gmo/1.0.0"
xmlns:gco="http://niem.gov/niem/external/iso-19139-gmd/draft-0.1/gco/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" version="0.1">
<!-- ================================= Annotation ================================ -->
<xs:annotation>
<xs:documentation>This file was generated from ISO TC/211 UML class diagrams == 03-15-2005 09:14:50 ======
ISO DTS 19139 Metadata XML Schema "gmx Geographic Metadata XML Schema"
see ../readme.txt see ../version.txt
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/iso-19139-gmd/draft-0.1/gmx/dhs-gmo/1.0.0
2) gmx namespace http://niem.gov/niem/external/iso-19139-gmd/draft-0.1/gmx/dhs-gmo/1.0.0
3) gmd namespace http://niem.gov/niem/external/iso-19139-gmd/draft-0.1/gmd/dhs-gmo/1.0.0
4) gco namespace http://niem.gov/niem/external/iso-19139-gmd/draft-0.1/gco/dhs-gmo/1.0.0
6) gml namespace
7) xlink namespace http://niem.gov/niem/external/xlink/1.0.0/dhs-gmo/1.0.0
2006-09-19 changes DHS namespaces and schema locations, were
targetNamespace="http://www.isotc211.org/2005/gmx"
xmlns:gmx="http://www.isotc211.org/2005/gmx"
xmlns:gmd="http://www.isotc211.org/2005/gmd"
xmlns:gco="http://www.isotc211.org/2005/gco"
xmlns:gml="http://www.opengis.net/gml"
xmlns:xlink="http://www.w3.org/1999/xlink"
</xs:documentation>
</xs:annotation>
<!-- ================================== Imports ================================== -->
<xs:import namespace="http://niem.gov/niem/external/iso-19139-gmd/draft-0.1/gco/dhs-gmo/1.0.0"
schemaLocation="../../../gco/dhs-gmo/1.0.0/gco.xsd"/>
<xs: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"/>
<xs:import namespace="http://niem.gov/niem/external/iso-19139-gmd/draft-0.1/gmd/dhs-gmo/1.0.0"
schemaLocation="../../../gmd/dhs-gmo/1.0.0/gmd.xsd"/>
<!-- ########################################################################### -->
<!-- ########################################################################### -->
<!-- ================================== Classes ================================= -->
<!-- ........................................................................ -->
<!-- ........................................................................ -->
<xs:complexType name="CT_CodelistValue_PropertyType">
<xs:sequence>
<xs:element ref="gmx:CodeDefinition" minOccurs="0"/>
</xs:sequence>
<xs:attributeGroup ref="gco:ObjectReference"/>
<xs:attribute ref="gco:nilReason"/>
</xs:complexType>
<!-- =========================================================================== -->
<!-- ........................................................................ -->
<!-- ........................................................................ -->
<xs:complexType name="CT_Codelist_PropertyType">
<xs:sequence>
<xs:element ref="gmx:CodeListDictionary" minOccurs="0"/>
</xs:sequence>
<xs:attributeGroup ref="gco:ObjectReference"/>
<xs:attribute ref="gco:nilReason"/>
</xs:complexType>
<!-- =========================================================================== -->
<xs:complexType name="CodeDefinition_Type">
<xs:complexContent>
<xs:extension base="gml:DefinitionType"/>
</xs:complexContent>
</xs:complexType>
<!-- ........................................................................ -->
<xs:element name="CodeDefinition" type="gmx:CodeDefinition_Type" substitutionGroup="gml:Definition"/>
<!-- ........................................................................ -->
<xs:complexType name="CodeDefinition_PropertyType">
<xs:sequence>
<xs:element ref="gmx:CodeDefinition" minOccurs="0"/>
</xs:sequence>
<xs:attributeGroup ref="gco:ObjectReference"/>
<xs:attribute ref="gco:nilReason"/>
</xs:complexType>
<!-- =========================================================================== -->
<xs:complexType name="CodeListDictionary_Type">
<xs:annotation>
<xs:documentation>Constraints: - 1) metadataProperty.card = 0 - 2) dictionaryEntry.card = 0</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="gml:DictionaryType">
<xs:sequence>
<xs:element name="codeEntry" type="gmx:CodeDefinition_PropertyType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- ........................................................................ -->
<xs:element name="CodeListDictionary" type="gmx:CodeListDictionary_Type" substitutionGroup="gml:Dictionary"/>
<!-- ........................................................................ -->
<xs:complexType name="CodeListDictionary_PropertyType">
<xs:sequence>
<xs:element ref="gmx:CodeListDictionary" minOccurs="0"/>
</xs:sequence>
<xs:attributeGroup ref="gco:ObjectReference"/>
<xs:attribute ref="gco:nilReason"/>
</xs:complexType>
<!-- =========================================================================== -->
<xs:complexType name="ML_CodeDefinition_Type">
<xs:complexContent>
<xs:extension base="gmx:CodeDefinition_Type">
<xs:sequence>
<xs:element name="alternativeExpression" type="gmx:CodeAlternativeExpression_PropertyType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- ........................................................................ -->
<xs:element name="ML_CodeDefinition" type="gmx:ML_CodeDefinition_Type" substitutionGroup="gmx:CodeDefinition"/>
<!-- ........................................................................ -->
<xs:complexType name="ML_CodeDefinition_PropertyType">
<xs:sequence>
<xs:element ref="gmx:ML_CodeDefinition" minOccurs="0"/>
</xs:sequence>
<xs:attributeGroup ref="gco:ObjectReference"/>
<xs:attribute ref="gco:nilReason"/>
</xs:complexType>
<!-- =========================================================================== -->
<xs:complexType name="ML_CodeListDictionary_Type">
<xs:annotation>
<xs:documentation>Constraint: codeEntry.type = ML_CodeListDefinition</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="gmx:CodeListDictionary_Type">
<xs:sequence>
<xs:element name="alternativeExpression" type="gmx:ClAlternativeExpression_PropertyType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- ........................................................................ -->
<xs:element name="ML_CodeListDictionary" type="gmx:ML_CodeListDictionary_Type" substitutionGroup="gmx:CodeListDictionary"/>
<!-- ........................................................................ -->
<xs:complexType name="ML_CodeListDictionary_PropertyType">
<xs:sequence>
<xs:element ref="gmx:ML_CodeListDictionary" minOccurs="0"/>
</xs:sequence>
<xs:attributeGroup ref="gco:ObjectReference"/>
<xs:attribute ref="gco:nilReason"/>
</xs:complexType>
<!-- =========================================================================== -->
<!-- =========================================================================== -->
<!--===================== Alternative Expresssion type ===============================-->
<xs:complexType name="ClAlternativeExpression_Type">
<xs:annotation>
<xs:documentation>XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="gml:DefinitionType">
<xs:sequence>
<xs:element name="locale" type="gmd:PT_Locale_PropertyType"/>
</xs:sequence>
<xs:attribute name="codeSpace" type="xs:anyURI" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- ........................................................................ -->
<xs:element name="ClAlternativeExpression" type="gmx:ClAlternativeExpression_Type"/>
<!-- ........................................................................ -->
<xs:complexType name="ClAlternativeExpression_PropertyType">
<xs:sequence>
<xs:element ref="gmx:ClAlternativeExpression" minOccurs="0"/>
</xs:sequence>
<xs:attributeGroup ref="gco:ObjectReference"/>
<xs:attribute ref="gco:nilReason"/>
</xs:complexType>
<!-- =========================================================================== -->
<!-- =========================================================================== -->
<xs:complexType name="CodeAlternativeExpression_Type">
<xs:annotation>
<xs:documentation>XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="gml:DefinitionType">
<xs:sequence>
<xs:element name="locale" type="gmd:PT_Locale_PropertyType"/>
</xs:sequence>
<xs:attribute name="codeSpace" type="xs:anyURI" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- ........................................................................ -->
<xs:element name="CodeAlternativeExpression" type="gmx:CodeAlternativeExpression_Type"/>
<!-- ........................................................................ -->
<xs:complexType name="CodeAlternativeExpression_PropertyType">
<xs:sequence>
<xs:element ref="gmx:CodeAlternativeExpression" minOccurs="0"/>
</xs:sequence>
<xs:attributeGroup ref="gco:ObjectReference"/>
<xs:attribute ref="gco:nilReason"/>
</xs:complexType>
<!-- =========================================================================== -->
<!--===End Of File===-->
</xs:schema>
|