<?xml version="1.0" encoding="UTF-8"?>
<!--
OASIS LegalXML Electronic Court Filing 4.0 Specification

OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification, can be obtained from the OASIS Executive Director.
 
Copyright (C) OASIS Open (2008). All Rights Reserved.

This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English. 

The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns. 

This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

-->
<xsd:schema xmlns="urn:oasis:names:tc:legalxml-courtfiling:schema:xsd:CaseQueryMessage-4.0" xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" xmlns:niem-xsd="http://niem.gov/niem/proxy/xsd/2.0" xmlns:i="http://niem.gov/niem/appinfo/2.0" xmlns:s="http://niem.gov/niem/structures/2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xmlns:ecf="urn:oasis:names:tc:legalxml-courtfiling:schema:xsd:CommonTypes-4.0" targetNamespace="urn:oasis:names:tc:legalxml-courtfiling:schema:xsd:CaseQueryMessage-4.0" version="4.0">
	<xsd:annotation>
		<xsd:appinfo>
			<i:ConformantIndicator>true</i:ConformantIndicator>
		</xsd:appinfo>
	</xsd:annotation>
	<xsd:import namespace="http://niem.gov/niem/niem-core/2.0" schemaLocation="../constraint/niem/niem-core/2.0/niem-core.xsd"/>
	<xsd:import namespace="http://niem.gov/niem/structures/2.0" schemaLocation="../constraint/niem/structures/2.0/structures.xsd"/>
	<xsd:import namespace="http://niem.gov/niem/appinfo/2.0" schemaLocation="../constraint/niem/appinfo/2.0/appinfo.xsd"/>
	<xsd:import namespace="http://niem.gov/niem/proxy/xsd/2.0" schemaLocation="../constraint/niem/proxy/xsd/2.0/xsd.xsd"/>
	<xsd:import namespace="http://niem.gov/niem/domains/jxdm/4.0" schemaLocation="../constraint/niem/domains/jxdm/4.0/jxdm.xsd"/>
	<xsd:import namespace="urn:oasis:names:tc:legalxml-courtfiling:schema:xsd:CommonTypes-4.0" schemaLocation="../common/ECF-4.0-CommonTypes.xsd"/>
	<xsd:complexType name="CaseQueryMessageType">
		<xsd:annotation>
			<xsd:documentation>A message requesting a list of cases from a court's case management information system conforming to the parameter or parameters identified in the message.</xsd:documentation>
		</xsd:annotation>
		<xsd:complexContent>
			<xsd:extension base="ecf:QueryMessageType">
				<xsd:sequence>
					<xsd:element ref="nc:CaseTrackingID"/>
					<xsd:element ref="CaseQueryCriteria"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="CaseQueryCriteriaType">
		<xsd:annotation>
			<xsd:documentation>A message requesting a list of cases from a court's case management information system conforming to the parameter or parameters identified in the message.</xsd:documentation>
		</xsd:annotation>
		<xsd:complexContent>
			<xsd:extension base="s:ComplexObjectType">
				<xsd:sequence>
					<xsd:element ref="IncludeParticipantsIndicator"/>
					<xsd:element ref="IncludeDocketEntryIndicator"/>
					<xsd:element ref="IncludeCalendarEventIndicator"/>
					<xsd:element ref="DocketEntryTypeCodeFilterText"/>
					<xsd:element ref="CalendarEventTypeCodeFilterText"/>
					<xsd:element ref="DocketEntryTimeRange" minOccurs="0"/>
					<xsd:element ref="CalendarEventTimeRange" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:element name="CalendarEventTimeRange" type="nc:DateRangeType">
		<xsd:annotation>
			<xsd:documentation>A filter criterion for calendar events. If present, the response should only include calendar events that fall between the from and to dates and times.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="CalendarEventTypeCodeFilterText" type="nc:TextType">
		<xsd:annotation>
			<xsd:documentation>Filter criterion indicating that only calendar entries of a specified type are being requested.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="CaseQueryCriteria" type="CaseQueryCriteriaType">
		<xsd:annotation>
			<xsd:documentation>Criteria limiting the case information to be returned.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="CaseQueryMessage" type="CaseQueryMessageType">
		<xsd:annotation>
			<xsd:documentation>A message requesting a list of cases from a court's case management information system conforming to the parameter or parameters identified in the message.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="DocketEntryTimeRange" type="nc:DateRangeType">
		<xsd:annotation>
			<xsd:documentation>A filter criterion for docket entries. If present, the response should only include docket entries that fall between the from and to dates and times.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="DocketEntryTypeCodeFilterText" type="nc:TextType">
		<xsd:annotation>
			<xsd:documentation>Filter criterion indicating that only docket entries of a specified type are being requested.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="IncludeParticipantsIndicator" type="niem-xsd:boolean">
		<xsd:annotation>
			<xsd:documentation>Indicates whether requester wishes participant information to be included in the response.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="IncludeDocketEntryIndicator" type="niem-xsd:boolean">
		<xsd:annotation>
			<xsd:documentation>Indicates whether requester wishes docket entry information to be included in the response.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="IncludeCalendarEventIndicator" type="niem-xsd:boolean">
		<xsd:annotation>
			<xsd:documentation>Indicates whether requester wishes calendar event information to be included in the response.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
</xsd:schema>

