<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:npsbmp="http://webservices.chesapeakebay.net/schemas" targetNamespace="http://webservices.chesapeakebay.net/schemas" version="1.0">
	<xsd:include schemaLocation="NPSBMP_Measure_v1.0.xsd"/>
	<xsd:include schemaLocation="NPSBMP_NPSBMPType_v1.0.xsd"/>
	<xsd:include schemaLocation="NPSBMP_NPSBMPName_v1.0.xsd"/>
	<xsd:element name="BMPIdentity" type="npsbmp:BMPIdentityType">
		<xsd:annotation>
			<xsd:documentation>
				Schema Name  : NPSBMP_BMPIdentity_v1.0.xsd
				Schema Identification : 
				Current Version Available At :  http://webservices.chesapeakebay.net/schemas
				Description   :   Compound block describing a BMP	
				Application   :   Non Point Source Best Management Practices (NPS BMP)   Exchange
				Developed by  : 	 Pennsylvania Department of Environmental Protection
				added new tag,  StateUniqueIdentifierComment, 11-1-2010, PA DEP
				Point of Contact :   Jennifer Gumert
				Last Modified by :   Tetra Tech, Inc.
			</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="StateUniqueIdentifier" type="xsd:string"/>
	   <xsd:complexType name="BMPIdentityType">
	 	<xsd:sequence>
			<xsd:element ref="npsbmp:BMPType"/>
			<xsd:element ref="npsbmp:BMPNameData"/>
			<xsd:element ref="npsbmp:NPSMeasure" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="npsbmp:BmpCategory"  minOccurs="0"/>
			<xsd:element ref="npsbmp:PreviousBmp" minOccurs="0"/>
			<xsd:element ref="npsbmp:StateUniqueIdentifier"/>
			<xsd:element ref="npsbmp:StateUniqueIdentifierComment" minOccurs="0"/>
            <xsd:element ref="npsbmp:ImplementationQualifier" minOccurs="0"/>
		</xsd:sequence>
	  </xsd:complexType>

  <xsd:element name="BmpCategory" type="xsd:string"/>
  <xsd:simpleType name="BmpCategory">
    <xsd:annotation>
      <xsd:documentation>this field is new for the SWM BMPs</xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string" >
      <xsd:maxLength value="100"  />
    </xsd:restriction>
  </xsd:simpleType>
  
  <xsd:element name="PreviousBmp" type="xsd:string"/>
  <xsd:simpleType name="PreviousBmp">
    <xsd:annotation>
      <xsd:documentation>this field is new for the SWM BMPs and used along with BmpCategory</xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string" >
      <xsd:maxLength value="100"  />
    </xsd:restriction>
  </xsd:simpleType>
  
	<xsd:element name="StateUniqueIdentifierComment" type="xsd:string"/>
	<xsd:simpleType name="StateUniqueIdentifierComment">
		<xsd:annotation>
			<xsd:documentation>Comment to describe the StateUniqueIdentifier.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string" >
			<xsd:maxLength value="100"  />
		</xsd:restriction>
	</xsd:simpleType>

    <xsd:element name="ImplementationQualifier" type="xsd:string"/>
    <xsd:simpleType name="ImplementationQualifier">
        <xsd:annotation>
            <xsd:documentation>Qualifier to describe the BMP implementation.</xsd:documentation>
        </xsd:annotation>
        <xsd:restriction base="xsd:string" >
            <xsd:maxLength value="100"  />
        </xsd:restriction>
    </xsd:simpleType>

</xsd:schema>





