<?xml version="1.0"?>
<schema targetNamespace="http://dcis.psc.gov/DCIS" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:DCIS="http://dcis.psc.gov/DCIS" elementFormDefault="qualified" version="1.0">
	<!-- History
	* Corrected length of agencyContractIDType to 25			06/12/2003
	* Added contract summary Type								06/12/2003
	-->
	<!-- import the required  xsds -->
	<include schemaLocation="https://dcis03.psc.gov/dcis/schema/common/1.0/Common.xsd"/>
	<include schemaLocation="https://dcis03.psc.gov/dcis/schema/DataCollection/locations/1.0/Country.xsd"/>
	<include schemaLocation="https://dcis03.psc.gov/dcis/schema/DataCollection/locations/1.0/Place.xsd"/>
	<include schemaLocation="https://dcis03.psc.gov/dcis/schema/DataCollection/ServiceClassifications/1.0/NAICS.xsd"/>
	<include schemaLocation="https://dcis03.psc.gov/dcis/schema/DataCollection/ServiceClassifications/1.0/PSC.xsd"/>
	<include schemaLocation="https://dcis03.psc.gov/dcis/schema/DataCollection/organizations/1.0/Agency.xsd"/>
	<include schemaLocation="https://dcis03.psc.gov/dcis/schema/DataCollection/organizations/1.0/GovernmentOffice.xsd"/>
	<include schemaLocation="https://dcis03.psc.gov/dcis/schema/DataCollection/vendors/1.0/Vendor.xsd"/>
	<!-- simple types for contracts -->
	<simpleType name="agencyContractIDType">
		<restriction base="string">
			<maxLength value="25"/>
		</restriction>
	</simpleType>
	<simpleType name="contingencyHumanitarianPeacekeepingOperationType">
		<restriction base="string">
			<maxLength value="1"/>
		</restriction>
	</simpleType>
	<simpleType name="performanceBasedServiceContractFlagType">
		<restriction base="string">
			<maxLength value="1"/>
		</restriction>
	</simpleType>
	<simpleType name="reasonForModificationType">
		<restriction base="string">
			<maxLength value="1"/>
		</restriction>
	</simpleType>
	<simpleType name="placeOfManufactureType">
		<restriction base="string">
			<maxLength value="1"/>
		</restriction>
	</simpleType>
	<simpleType name="EPADesignationType">
		<restriction base="string">
			<maxLength value="1"/>
		</restriction>
	</simpleType>
	<simpleType name="recoveredMaterialClausesType">
		<restriction base="string">
			<maxLength value="1"/>
		</restriction>
	</simpleType>
	<simpleType name="seaTransportationType">
		<restriction base="string">
			<maxLength value="1"/>
		</restriction>
	</simpleType>
	<simpleType name="extentCompetedType">
		<restriction base="string">
			<maxLength value="1"/>
		</restriction>
	</simpleType>
	<simpleType name="subcontractPlanType">
		<restriction base="string">
			<maxLength value="1"/>
		</restriction>
	</simpleType>
	<simpleType name="contractingOfficerBusinessSizeDeterminationType">
		<restriction base="string">
			<maxLength value="1"/>
		</restriction>
	</simpleType>
	<simpleType name="reasonNotCompetedType">
		<restriction base="string">
			<maxLength value="3"/>
		</restriction>
	</simpleType>
	<simpleType name="competitiveProceduresType">
		<restriction base="string">
			<maxLength value="3"/>
		</restriction>
	</simpleType>
	<simpleType name="systemEquipmentCodeType">
		<restriction base="string">
			<maxLength value="4"/>
		</restriction>
	</simpleType>
	<simpleType name="majorProgramCodeType">
		<restriction base="string">
			<maxLength value="100"/>
		</restriction>
	</simpleType>
	<simpleType name="financingType">
		<restriction base="string">
			<maxLength value="1"/>
		</restriction>
	</simpleType>
	<simpleType name="pricingDataType">
		<restriction base="string">
			<maxLength value="1"/>
		</restriction>
	</simpleType>
	<simpleType name="typeOfContractType">
		<restriction base="string">
			<maxLength value="1"/>
		</restriction>
	</simpleType>
	<simpleType name="procurementMethodType">
		<restriction base="string"/>
		<!-- Tariff or Regulated Acquisitions -->
		<!-- Contract for Foreign Government or International Organization -->
		<!-- Purchases Using Simplified Acquisition Procedures -->
		<!-- Orders - GSA Schedules only -->
		<!-- Orders - Other Federal  Schedules -->
		<!-- All other Orders -->
		<!-- Other Procurement Methods -->
	</simpleType>
	<simpleType name="InstrumentCodeType">
		<restriction base="string"/>
		<!-- Agreements (Excludes Subsistence BPAs for EDF supply Fund 82) -->
		<!-- Contracts which require Contract Officer's approval for payment -->
		<!-- Indefinite Delivery Type Contracts which require Contract Officer's approval for payment -->
		<!-- Delivery Orders Placed With OGA, GSA, CG (Except GPO and UNICOR) -->
		<!-- Lease Agreement -->
		<!-- Construction or service purchase orders 25K or less which require Contract Officer approval for payments -->
		<!-- Purchase Orders (Excluding Purchase Orders for Document Types 17, 24, 26, 28, and 37) -->
		<!-- Sales Contract -->
		<!-- Purchase Orders for Transportation Services 25K or Less -->
		<!-- Purchase Orders/BPAs  : Supply Fund 82 (Covers all Subsistence for CGDF) -->
		<!-- Purchase Orders : UNICOR -->
		<!-- MIPRS -->
		<!-- Purchase Orders :  Government Printing Office -->
	</simpleType>
	<simpleType name="reasonNotAwardedType">
		<restriction base="string">
			<maxLength value="1"/>
		</restriction>
	</simpleType>
	<simpleType name="purchaseReasonType">
		<restriction base="string">
			<maxLength value="1"/>
		</restriction>
	</simpleType>
	<simpleType name="clauseType">
		<restriction base="string">
			<maxLength value="4000"/>
		</restriction>
	</simpleType>
	<simpleType name="contractDescriptionType">
		<restriction base="string">
			<maxLength value="1000"/>
		</restriction>
	</simpleType>
	<simpleType name="contractBundlingType">
		<restriction base="string">
			<maxLength value="1"/>
		</restriction>
	</simpleType>
	<simpleType name="infoTechCategoryType">
		<restriction base="string">
			<maxLength value="1"/>
		</restriction>
	</simpleType>
	<simpleType name="categoryType">
		<restriction base="string">
			<maxLength value="6"/>
		</restriction>
	</simpleType>
	<simpleType name="orderingProcedureType">
		<restriction base="string">
			<maxLength value="1000"/>
		</restriction>
	</simpleType>
	<simpleType name="contractActionTypeType">
		<restriction base="string">
			<maxLength value="1"/>
			<enumeration value="A"/>
			<enumeration value="B"/>
			<enumeration value="C"/>
			<enumeration value="D"/>
			<enumeration value="E"/>
			<enumeration value="F"/>
		</restriction>
	</simpleType>
	<simpleType name="modNumberType">
		<restriction base="string">
			<maxLength value="25"/>
		</restriction>
	</simpleType>
	<simpleType name="claimantProgramCodeType">
		<restriction base="string">
			<maxLength value="3"/>
		</restriction>
	</simpleType>
	<simpleType name="otherStatutoryAuthorityType">
		<restriction base="string">
			<maxLength value="1000"/>
		</restriction>
	</simpleType>
	<simpleType name="numberOfOffersReceivedType">
		<restriction base="nonNegativeInteger">
			<maxInclusive value="999"/>
		</restriction>
	</simpleType>
	<simpleType name="documentStatusType">
		<restriction base="string">
			<maxLength value="1"/>
		</restriction>
	</simpleType>
	<simpleType name="statusType">
		<restriction base="string">
			<maxLength value="1"/>
		</restriction>
	</simpleType>
	<simpleType name="statusNameType">
		<restriction base="string">
			<maxLength value="100"/>
		</restriction>
	</simpleType>
	<simpleType name="contractTypeType">
		<restriction base="string">
			<maxLength value="35"/>
		</restriction>
	</simpleType>
	<!-- complex types -->
	<complexType name="contractIDType">
		<sequence>
			<element name="agencyID" type="DCIS:agencyIDType"/>
			<element name="PIID" type="DCIS:agencyContractIDType"/>
			<element name="modNumber" type="DCIS:modNumberType" default="0" minOccurs="0"/>
		</sequence>
	</complexType>
	<complexType name="referencedIDVIDType">
		<sequence>
			<element name="agencyID" type="DCIS:agencyIDType" nillable="true"/>
			<element name="PIID" type="DCIS:agencyContractIDType" nillable="true"/>
			<element name="modNumber" type="DCIS:modNumberType" default="0" minOccurs="0"/>
		</sequence>
	</complexType>
	<complexType name="relevantContractDatesType">
		<sequence>
			<element name="signedDate" type="DCIS:FPDSDateType" nillable="true" minOccurs="0"/>
			<element name="effectiveDate" type="DCIS:FPDSDateType" nillable="true" minOccurs="0"/>
		</sequence>
	</complexType>
	<complexType name="purchaserInformationType">
		<sequence>
			<element name="contractingOfficeAgencyID" type="DCIS:agencyIDType" nillable="true" minOccurs="0"/>
			<element name="contractingOfficeID" type="DCIS:officeIDType" nillable="true" minOccurs="0"/>
		</sequence>
	</complexType>
	<complexType name="contractDataType">
		<sequence>
			<element name="contractActionType" type="DCIS:contractActionTypeType"/>
			<element name="typeOfContractPricing" type="DCIS:typeOfContractType" nillable="true" minOccurs="0"/>
			<element name="reasonForModification" type="DCIS:reasonForModificationType" nillable="true" minOccurs="0"/>
			<element name="majorProgramCode" type="DCIS:majorProgramCodeType" nillable="true" minOccurs="0"/>
			<element name="costOrPricingData" type="DCIS:pricingDataType" nillable="true" minOccurs="0"/>
			<element name="solicitationID" type="string" nillable="true" minOccurs="0"/>
			<element name="costAccountingStandardsClause" type="boolean" minOccurs="0"/>
			<element name="descriptionOfContractRequirement" type="DCIS:contractDescriptionType" nillable="true" minOccurs="0"/>
			<element name="GFE-GFP" type="boolean" minOccurs="0"/>
			<element name="seaTransportation" type="DCIS:seaTransportationType" nillable="true" minOccurs="0"/>
		</sequence>
	</complexType>
	<complexType name="legislativeMandatesType">
		<sequence>
			<element name="WalshHealyAct" type="boolean" minOccurs="0"/>
			<element name="serviceContractAct" type="boolean" minOccurs="0"/>
			<element name="DavisBaconAct" type="boolean" minOccurs="0"/>
		</sequence>
	</complexType>
	<complexType name="productOrServiceInformationType">
		<sequence>
			<element name="productOrServiceCode" type="DCIS:PSCCodeType" nillable="true" minOccurs="0"/>
			<element name="contractBundling" type="DCIS:contractBundlingType" nillable="true" minOccurs="0"/>
			<element name="claimantProgramCode" type="DCIS:claimantProgramCodeType" nillable="true" minOccurs="0"/>
			<element name="principalNAICSCode" type="DCIS:NAICSCodeType" nillable="true" minOccurs="0"/>
			<element name="recoveredMaterialClauses" type="DCIS:recoveredMaterialClausesType" nillable="true" minOccurs="0"/>
			<!--
			<element name="bundledContractException" type="DCIS:bundledContractExceptionType" minOccurs="0"/>
			-->
		</sequence>
	</complexType>
	<complexType name="contractVendorType">
		<complexContent>
			<extension base="DCIS:vendorInstanceType">
				<sequence>
					<element name="contractorName" type="DCIS:contractorNameType" nillable="true" minOccurs="0"/>
					<element name="contractingOfficerBusinessSizeDetermination" type="DCIS:contractingOfficerBusinessSizeDeterminationType" nillable="true" minOccurs="0"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="competitionType">
		<sequence>
			<element name="extentCompeted" type="DCIS:extentCompetedType" nillable="true" minOccurs="0"/>
			<element name="competitiveProcedures" type="DCIS:competitiveProceduresType" nillable="true" minOccurs="0"/>
			<element name="reasonNotCompeted" type="DCIS:reasonNotCompetedType" nillable="true" minOccurs="0"/>
			<element name="numberOfOffersReceived" type="DCIS:numberOfOffersReceivedType" nillable="true" minOccurs="0"/>
			<element name="commercialItemAcquisitionProcedures" type="boolean" minOccurs="0"/>
			<element name="commercialItemTestProgram" type="boolean" minOccurs="0"/>
			<element name="smallBusinessCompetitivenessDemonstrationProgram" type="boolean" minOccurs="0"/>
		</sequence>
	</complexType>
	<complexType name="preferenceProgramsType">
		<sequence>
			<element name="subcontractPlan" type="DCIS:subcontractPlanType" nillable="true" minOccurs="0"/>
		</sequence>
	</complexType>
	<complexType name="transactionInformationType">
		<complexContent>
			<extension base="DCIS:auditInformationType">
				<sequence>
					<element name="status" type="DCIS:documentStatusType" nillable="true" minOccurs="0"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>

    <!-- Search Criteria for Contracts (Awards/IDVs) -->
	<complexType name="contractSearchCriteriaType">
		<sequence>
			<element name="agencyID" type="DCIS:agencyIDType" nillable="true" minOccurs="0"/>
			<element name="PIID" type="DCIS:agencyContractIDType" nillable="true" minOccurs="0"/>
			<element name="referencedPIID" type="DCIS:agencyContractIDType" nillable="true" minOccurs="0"/>
			<element name="userID" type="DCIS:userIDType" nillable="true" minOccurs="0"/>
			<element name="agencyName" type="DCIS:agencyNameType" nillable="true" minOccurs="0"/>
			<element name="officeName" type="DCIS:unitNameType" nillable="true" minOccurs="0"/>
			<element name="status" type="DCIS:documentStatusType" nillable="true" minOccurs="0"/>
			<element name="vendorName" type="DCIS:vendorNameType" nillable="true" minOccurs="0"/>
			<element name="NAICSCode" type="DCIS:NAICSCodeType" nillable="true" minOccurs="0"/>
			<element name="signedDateFrom" type="DCIS:FPDSDateType" nillable="true" minOccurs="0"/>
			<element name="signedDateTo" type="DCIS:FPDSDateType" nillable="true" minOccurs="0"/>
			<element name="baseAndAllOptionsValueFrom" type="DCIS:amountType" minOccurs="0"/>
			<element name="baseAndAllOptionsValueTo" type="DCIS:amountType" minOccurs="0"/>
			<element name="startRow" type="integer" nillable="true" minOccurs="0"/>
			<element name="numberOfRows" type="integer" nillable="true" minOccurs="0"/>
		</sequence>
	</complexType>

	


    <!-- Summary of a Contract (Award/IDV) -->
	<complexType name="contractSummaryType">
	<sequence>
        <element name="contractType" type="DCIS:contractTypeType" nillable="true" minOccurs="0"/>
        <element name="contractID" type="DCIS:contractIDType" nillable="true" minOccurs="0"/>
         <element name="referencedIDVID" type="DCIS:referencedIDVIDType" nillable="true" minOccurs="0"/>
        <element name="agencyName" type="DCIS:agencyNameType" nillable="true" minOccurs="0"/>
        <element name="officeName" type="DCIS:unitNameType" nillable="true" minOccurs="0"/>
        <element name="vendorName" type="DCIS:vendorNameType" nillable="true" minOccurs="0"/>
        <element name="NAICSCode" type="DCIS:NAICSCodeType" nillable="true" minOccurs="0"/>
        <element name="signedDate" type="DCIS:FPDSDateType" nillable="true" minOccurs="0"/>
        <element name="baseAndAllOptionsValue" type="DCIS:amountType" minOccurs="0"/>
        <element name="transactionInformation" type="DCIS:transactionInformationType" minOccurs="0"/>
        </sequence>
     	</complexType>
	
    <!-- List of Contract Summaries Type -->
    <complexType name="listOfContractSummariesType">
		<complexContent>
			<extension base="DCIS:listOfSearchResults">
				<sequence>
					<element name="contractSummary" type="DCIS:contractSummaryType" minOccurs="0" maxOccurs="unbounded"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<element name="listOfContractSummaries" type="DCIS:listOfContractSummariesType"/>
</schema>
