<?xml version="1.0" encoding="UTF-8"?>

<xsd:schema targetNamespace="U:\Address_Standard\Optimal Source Reqs\SchemasAndStylesheetUsedtoValidate\CensusAddressWindowsSchemas\MetadataReferenceInformation" 
 xmlns:mri="U:\Address_Standard\Optimal Source Reqs\SchemasAndStylesheetUsedtoValidate\CensusAddressWindowsSchemas\MetadataReferenceInformation" 
 xmlns:ci="U:\Address_Standard\Optimal Source Reqs\SchemasAndStylesheetUsedtoValidate\CensusAddressWindowsSchemas\ContactInformation"
 xmlns:mtag="U:\Address_Standard\Optimal Source Reqs\SchemasAndStylesheetUsedtoValidate\CensusAddressWindowsSchemas\MiscTypesAndGroups"
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            xmlns:xdb="http://xmlns.oracle.com/xdb">

 <xsd:import
  namespace="U:\Address_Standard\Optimal Source Reqs\SchemasAndStylesheetUsedtoValidate\CensusAddressWindowsSchemas\ContactInformation"
  schemaLocation="U:\Address_Standard\Optimal Source Reqs\SchemasAndStylesheetUsedtoValidate\CensusAddressWindowsSchemas\ContactInformation.xsd"/>
 <xsd:import
  namespace="U:\Address_Standard\Optimal Source Reqs\SchemasAndStylesheetUsedtoValidate\CensusAddressWindowsSchemas\MiscTypesAndGroups"
  schemaLocation="U:\Address_Standard\Optimal Source Reqs\SchemasAndStylesheetUsedtoValidate\CensusAddressWindowsSchemas\MiscTypesAndGroups.xsd"/>
 
  <xsd:annotation>
    <xsd:documentation xml:lang="en">
      Name:  MetadataReferenceInformation.xsd
      Authors:  James W. Allor, Matthew J. McCready
      Date:  20050311
      Description:  Validating XML Schema for the Metadata Reference
                    Information section. Please reference the Census 
                    Bureau Geospatial Product Metadata Standard (GPMS),
                    Table 1.
      Modification History:
        Initial   Date     Change Request ID   Description
        JWA     20050311    N/A                 Initial Version
        JWA     20051109    N/A                 Updated to reflect current GPMS Table 1.
        JWA     20051201    N/A                 Added types and attributes
                                                 for Oracle XML DB.
        JWA     20051215    N/A                 Changed xsd:string to mtag:vstring
                                                 to validate elements have a value.
        MMC     20071206    N/A                 Modified Metadata_Standard_Name,
                                                 Metadata_Standard_Version and
                                                 Metadata_File_Identifier so that
                                                 they have to have a minimum string
                                                 length of 1 character. 
        MMC     20080618    N/A                 Xpaths modified to mirror the directory
                                                 structure on node104. 
	MMC	20081216    N/A                 The Metadata_Date element was modified so that
	                                         the date string has to have only 8 characters.
						 The pattern was also changed to only accept the
						 YYYYMMDD format.
        MMC    20100624    N/A                  The Metadata_Date element was changed so that it will
                                                 accept a minimium of 4 characters and a maximum of 
                                                 8 characters for all the profile types.   				 
    </xsd:documentation>
  </xsd:annotation>

 


<xsd:complexType name="IncomingAddress_Type">
    <xsd:sequence>
     <xsd:element name="metd">
      <!-- <xsd:simpleType>
                <xsd:restriction base="mtag:vstring">
                        <xsd:minLength value="4" />
                        <xsd:maxLength value="8"/>
                         <xsd:pattern  value="(1|2)[0-9][0-9][0-9].*"/>
                        
                </xsd:restriction>
        </xsd:simpleType> -->
      </xsd:element>
     <xsd:element name="metc" minOccurs="0" type="ci:IncomingAddressSec7_Type"/>

     <xsd:element name="metstdn">
       <!--<xsd:simpleType>
          <xsd:restriction base="mtag:vstring">
        <xsd:minLength value="1"/> 
        </xsd:restriction>
       </xsd:simpleType>-->
      </xsd:element>

     <xsd:element name="metstdv">
       <xsd:simpleType>
        <xsd:restriction base="mtag:vstring">
       <!--  <xsd:minLength value="1"/> -->
        </xsd:restriction>
       </xsd:simpleType>
      </xsd:element>

    </xsd:sequence>
  </xsd:complexType>




 
    


</xsd:schema>
