<?xml version="1.0" encoding="UTF-8"?>
<!-- Release 15.2 New Schema -->
<xs:schema
targetNamespace="http://apply.grants.gov/system/GrantsForecastSynopsis-V1.0"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xmime="http://www.w3.org/2005/05/xmlmime"
    xmlns:GrantsCommonTypes="http://apply.grants.gov/system/GrantsCommonTypes-V1.0"
    xmlns:GrantsCommonElements="http://apply.grants.gov/system/GrantsCommonElements-V1.0"
    xmlns:GrantsForecastSynopsis="http://apply.grants.gov/system/GrantsForecastSynopsis-V1.0"
	    
    elementFormDefault="qualified"
    attributeFormDefault="qualified"
    version="1.0">
    
    <!--
    <xs:import namespace="http://apply.grants.gov/system/GrantsCommonTypes-V1.0" schemaLocation="file:///DevGit/REPO/Applications/grants_schemas/Source/schema/commons/GrantsCommonTypes-V1.0.xsd"  />
    <xs:import namespace="http://apply.grants.gov/system/GrantsCommonElements-V1.0" schemaLocation="file:///DevGit/REPO/Applications/grants_schemas/Source/schema/bizobj/GrantsCommonElements-V1.0.xsd" /> 
 	-->  
    
    <xs:import namespace="http://apply.grants.gov/system/GrantsCommonTypes-V1.0" schemaLocation="https://trainingapply.grants.gov/apply/system/schemas/GrantsCommonTypes-V1.0.xsd" />
    <xs:import namespace="http://apply.grants.gov/system/GrantsCommonElements-V1.0" schemaLocation="https://trainingapply.grants.gov/apply/system/schemas/GrantsCommonElements-V1.0.xsd" />
     
    <!-- ================ -->
    <!-- Input Elements-->
    <!-- ================ -->
    <xs:element name="CreateForecast" >
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="GrantsForecastSynopsis:FundingInstrument" minOccurs="1" maxOccurs="unbounded" />
                <xs:element ref="GrantsForecastSynopsis:FundingActivityCategory" minOccurs="1" maxOccurs="unbounded" />
                <xs:element ref="GrantsForecastSynopsis:FundingCategoryExplanation" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:ExpectedNumberOfAwards" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:CostSharingOrMatchingRequirement" minOccurs="1" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:PostingDate" minOccurs="1" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EstimatedSynopsisPostDate" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EstimatedApplicationDueDate" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EstimatedApplicationDueDateExplanation" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EstimatedAwardDate" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EstimatedProjectStartDate" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:FiscalYear" minOccurs="1" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:ArchiveDate" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EstimatedFunding" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:AwardCeiling" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:AwardFloor" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EligibleApplicantType" minOccurs="1" maxOccurs="unbounded" />
                <xs:element ref="GrantsForecastSynopsis:EligibleApplicantExplanation" minOccurs="0"  maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:FundingOpportunityDescription" minOccurs="1" maxOccurs="1"/>
                <xs:element ref="GrantsForecastSynopsis:AdditionalInformation" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:GrantorContact" minOccurs="1" maxOccurs="1" />
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <xs:element name="UpdateForecast" >
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="GrantsForecastSynopsis:FundingInstrument" minOccurs="0" maxOccurs="unbounded" />
                <xs:element ref="GrantsForecastSynopsis:FundingActivityCategory" minOccurs="0" maxOccurs="unbounded" />
                <xs:element ref="GrantsForecastSynopsis:FundingCategoryExplanation" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:ExpectedNumberOfAwards" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:CostSharingOrMatchingRequirement" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:PostingDate" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EstimatedSynopsisPostDate" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EstimatedApplicationDueDate" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EstimatedApplicationDueDateExplanation" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EstimatedAwardDate" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EstimatedProjectStartDate" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:FiscalYear" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:ArchiveDate" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EstimatedFunding" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:AwardCeiling" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:AwardFloor" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EligibleApplicantType" minOccurs="0" maxOccurs="unbounded" />
                <xs:element ref="GrantsForecastSynopsis:EligibleApplicantExplanation" minOccurs="0"  maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:FundingOpportunityDescription" minOccurs="0" maxOccurs="1"/>
                <xs:element ref="GrantsForecastSynopsis:AdditionalInformation" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:GrantorContact" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsCommonElements:SendUpdateNotificationEmail" minOccurs="0" maxOccurs="1"  />
                <xs:element ref="GrantsCommonElements:UpdateComments" minOccurs="1" maxOccurs="1" />
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <xs:element name="DeleteForecast" >
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="GrantsCommonElements:SendDeleteNotificationEmail" minOccurs="0" maxOccurs="1"/>
                <xs:element ref="GrantsCommonElements:DeleteComments" minOccurs="1" maxOccurs="1"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <xs:element name="GrantorContact">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="GrantsForecastSynopsis:Name" minOccurs="1" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:Phone" minOccurs="1" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EmailAddress" minOccurs="1" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EmailDescription" minOccurs="1" maxOccurs="1" />
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <xs:element name="AdditionalInformation">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="GrantsCommonElements:LinkURL" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsCommonElements:LinkDescription" minOccurs="0" maxOccurs="1" />
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <!-- ================ -->
    <!-- Simple TYPE AND ELEMENT DEFINITIONS -->
    <!-- ================ -->
    <xs:element name="ArchiveDate" type="GrantsCommonTypes:MMDDYYYYFwdSlashType" />
    <xs:element name="PostingDate" type="GrantsCommonTypes:MMDDYYYYFwdSlashType" />
    <xs:element name="ClosingDate" type="GrantsCommonTypes:MMDDYYYYFwdSlashType" />
    <xs:element name="EstimatedApplicationDueDateExplanation" type="GrantsCommonTypes:StringMin1Max4000Type" />
    <xs:element name="EstimatedApplicationDueDate" type="GrantsCommonTypes:MMDDYYYYFwdSlashType" />
    <xs:element name="EstimatedSynopsisPostDate" type="GrantsCommonTypes:MMDDYYYYFwdSlashType" />
    <xs:element name="EstimatedAwardDate" type="GrantsCommonTypes:MMDDYYYYFwdSlashType" />
    <xs:element name="EstimatedProjectStartDate" type="GrantsCommonTypes:MMDDYYYYFwdSlashType" />
    <xs:element name="FiscalYear" type="GrantsCommonTypes:YYYYDateType" />
    <xs:element name="FundingCategoryExplanation" type="GrantsCommonTypes:StringMin1Max2500Type" />
    <xs:element name="ExpectedNumberOfAwards" type="GrantsCommonTypes:Number15DigitsType" />
    <xs:element name="EstimatedFunding" type="GrantsCommonTypes:Number15DigitsType" />
    <xs:element name="AwardCeiling" type="GrantsCommonTypes:Number15DigitsType" />
    <xs:element name="AwardFloor" type="GrantsCommonTypes:Number15DigitsType" />
    <xs:element name="FundingOpportunityDescription" type="GrantsCommonTypes:StringMin1Max18000Type" />
    <xs:element name="EligibleApplicantExplanation" type="GrantsCommonTypes:StringMin1Max4000Type" />
    <xs:element name="ClosingDateExplanation" type="GrantsCommonTypes:StringMin1Max4000Type" />
    <xs:element name="CostSharingOrMatchingRequirement" type="GrantsCommonTypes:YesNoType" />
    <xs:element name="Name" type="GrantsCommonTypes:StringMin1Max2500Type" />
    <xs:element name="Phone" type="GrantsCommonTypes:StringMin1Max100Type" />
    <xs:element name="EmailAddress" type="GrantsCommonTypes:StringWithoutNewLine130Type" />
    <xs:element name="EmailDescription" type="GrantsCommonTypes:StringMin1Max102Type" />

    
    <!-- ================ -->
    <!-- Enum Types  -->
    <!-- ================ -->
	    <xs:element name="EligibleApplicantType">
        <xs:simpleType>
            <xs:annotation>
                <xs:documentation>00 - State governments</xs:documentation>
                <xs:documentation>01 - County governments</xs:documentation>
                <xs:documentation>02 - City or township governments</xs:documentation>
                <xs:documentation>04 - Special district governments</xs:documentation>
                <xs:documentation>05 - Independent school districts</xs:documentation>
                <xs:documentation>06 - Public and State controlled institutions of higher education</xs:documentation>
                <xs:documentation>07 - Native American tribal governments (Federally recognized)</xs:documentation>
                <xs:documentation>08 - Public housing authorities/Indian housing authorities</xs:documentation>
                <xs:documentation>11 - Native American tribal organizations (other than Federally recognized tribal governments)</xs:documentation>
                <xs:documentation>12 - Nonprofits having a 501(c)(3) status with the IRS, other than institutions of higher education</xs:documentation>
                <xs:documentation>13 - Nonprofits that do not have a 501(c)(3) status with the IRS, other than institutions of higher education</xs:documentation>
                <xs:documentation>20 - Private institutions of higher education</xs:documentation>
                <xs:documentation>21 - Individuals</xs:documentation>
                <xs:documentation>22 - For profit organizations other than small businesses</xs:documentation>
                <xs:documentation>23 - Small businesses</xs:documentation>
                <xs:documentation>25 - Others (see text field entitled "Additional Information on Eligibility" for clarification)</xs:documentation>
                <xs:documentation>99 - Unrestricted (i.e., open to any type of entity above), subject to any clarification in text field entitled "Additional Information on Eligibility"</xs:documentation>
            </xs:annotation>
            <xs:restriction base="xs:string">
                <xs:enumeration value="00" />
                <xs:enumeration value="01" />
                <xs:enumeration value="02" />
                <xs:enumeration value="04" />
                <xs:enumeration value="05" />
                <xs:enumeration value="06" />
                <xs:enumeration value="07" />
                <xs:enumeration value="08" />
                <xs:enumeration value="11" />
                <xs:enumeration value="12" />
                <xs:enumeration value="13" />
                <xs:enumeration value="20" />
                <xs:enumeration value="21" />
                <xs:enumeration value="22" />
                <xs:enumeration value="23" />
                <xs:enumeration value="25" />
                <xs:enumeration value="99" />
            </xs:restriction>
        </xs:simpleType>
    </xs:element>
    <xs:element name="FundingInstrument">
        <xs:simpleType >
            <xs:annotation>
                <xs:documentation>CA - Cooperative Agreement</xs:documentation>
                <xs:documentation>G - Grant</xs:documentation>
                <xs:documentation>PC - Procurement Contract</xs:documentation>
                <xs:documentation>O - Other</xs:documentation>
            </xs:annotation>
            <xs:restriction base="xs:string">
                <xs:enumeration value="CA" />
                <xs:enumeration value="G" />
                <xs:enumeration value="PC" />
                <xs:enumeration value="O" />
            </xs:restriction>
        </xs:simpleType>
    </xs:element>
    <xs:element name="FundingActivityCategory">
   	<!-- Begin Release 18.2 New Definitions -->
       	<xs:simpleType>
       		<xs:restriction base="xs:string">
            	<xs:minLength value="1"/>
            	<xs:maxLength value="3"/>
            </xs:restriction>
        </xs:simpleType>
    </xs:element>
    <!-- End Release 18.2 New Definitions -->
    <!-- ================ -->
    <!-- Output Elements-->
    <!-- ================ -->
    <xs:element name="ForecastDetails" >
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="GrantsForecastSynopsis:FundingInstrument" minOccurs="0" maxOccurs="unbounded" />
                <xs:element ref="GrantsForecastSynopsis:FundingActivityCategory" minOccurs="0" maxOccurs="unbounded" />
                <xs:element ref="GrantsForecastSynopsis:FundingCategoryExplanation" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:ExpectedNumberOfAwards" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:CostSharingOrMatchingRequirement" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:PostingDate" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EstimatedSynopsisPostDate" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EstimatedApplicationDueDate" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EstimatedApplicationDueDateExplanation" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EstimatedAwardDate" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EstimatedProjectStartDate" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:FiscalYear" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:ArchiveDate" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EstimatedFunding" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:AwardCeiling" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:AwardFloor" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EligibleApplicantType" minOccurs="0" maxOccurs="unbounded" />
                <xs:element ref="GrantsForecastSynopsis:EligibleApplicantExplanation" minOccurs="0"  maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:FundingOpportunityDescription" minOccurs="0" maxOccurs="1"/>
                <xs:element ref="GrantsForecastSynopsis:AdditionalInformationDetails" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:GrantorContactDetails" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsCommonElements:Version" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsCommonElements:LastUpdatedTimestamp" minOccurs="0" maxOccurs="1" />
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <xs:element name="SynopsisDetails">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="GrantsForecastSynopsis:PostingDate" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:FundingInstrument" minOccurs="0" maxOccurs="unbounded" />
                <xs:element ref="GrantsForecastSynopsis:FundingActivityCategory" minOccurs="0" maxOccurs="unbounded" />
                <xs:element ref="GrantsForecastSynopsis:FundingCategoryExplanation" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:ExpectedNumberOfAwards" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EstimatedFunding" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:AwardCeiling" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:AwardFloor" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:ClosingDate" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:ClosingDateExplanation" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:ArchiveDate" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:FundingOpportunityDescription" minOccurs="0" maxOccurs="1"/>
                <xs:element ref="GrantsForecastSynopsis:EligibleApplicantType" minOccurs="0" maxOccurs="unbounded" />
                <xs:element ref="GrantsForecastSynopsis:EligibleApplicantExplanation" minOccurs="0"  maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:CostSharingOrMatchingRequirement" minOccurs="1" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:AdditionalInformationDetails" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:AgencyContactDetails" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsCommonElements:Version" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsCommonElements:LastUpdatedTimestamp" minOccurs="0" maxOccurs="1" />
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <xs:element name="AgencyContactDetails">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="GrantsForecastSynopsis:Name" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EmailAddress" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EmailDescription" minOccurs="0" maxOccurs="1" />
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <xs:element name="GrantorContactDetails">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="GrantsForecastSynopsis:Name" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:Phone" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EmailAddress" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsForecastSynopsis:EmailDescription" minOccurs="0" maxOccurs="1" />
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <xs:element name="AdditionalInformationDetails">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="GrantsCommonElements:LinkURL" minOccurs="0" maxOccurs="1" />
                <xs:element ref="GrantsCommonElements:LinkDescription" minOccurs="0" maxOccurs="1" />
            </xs:sequence>
        </xs:complexType>
    </xs:element>
</xs:schema>