<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by Tim Buchholz (Minnesota Judicial Branch) -->
<!--
 Copyright © 2006, 2007, 2008, 2009 by the State of Minnesota
	State Court Administrator’s Office
	All Rights Reserved
-->
<!--W3C Schema generated by XMLSpy v2006 sp2 U (http://www.altova.com)-->
<!-- Modification History 
	Date				Version	Rev			Change
	9/20/2006		1.0.0		2				Update to use consistent representation of ID elements
															Change Hearing and Setting Key values to be elements rather than attributes.
															Added SubmittingAgencyORI to response.
	10/3/2006		1.0.0		3				Changed Reason and Comment elements in response to end with Text.
															Changed ScheduledHearingTrialSetting in accepted response to contain elements rather than attributes.
	12/12/2006	3:1			4				Migrated to courtxml version 3 
															No structural changes
															New CourtXML namespace
															New schema version attribute on root element.
	03/09/2007	3:1			5				Updated the annotation for CourtJurisdictionORI
															Renamed CaseSubmissionEFileID to CorrelationEFileID
	03/30/2007	3:1			6				Eliminated the use of restrictions of complex types.   This should not change any existing messages.
															Added Reset and Cancel messages.  This should not change any existing messages.
	04/20/2007	3:1			7				Renamed CancelReason to CancelReasonText
	02/01/2008	3:1			8				Added elements for Pull/Release processing.
	01/28/2009	3:1			9				Removed Pull/Release elements since they only apply to submissions through web services and are defined in the WSDL separate from the schema.

-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.courts.state.mn.us/CourtXML/3" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" targetNamespace="http://www.courts.state.mn.us/CourtXML/3" elementFormDefault="qualified" attributeFormDefault="unqualified" version="9">
	<xs:include schemaLocation="CourtXML_3.xsd"/>
	<xs:attributeGroup name="ScheduleHearingMessageAttributes">
		<xs:attribute name="schemaVersion" type="xs:string" use="required">
			<xs:annotation>
				<xs:documentation>Specifies the version of the schema that this message should be validated against.  For this schema the value should be 3:1.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="messageProducedDateTime" type="xs:dateTime">
			<xs:annotation>
				<xs:documentation>Date and time when this message was produced.  This value is included on all outbound messages and not required on inbound messages.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:attributeGroup>
	<!--Root Elements Begin-->
	<xs:element name="ScheduleHearingTrialSetting">
		<xs:annotation>
			<xs:documentation>ScheduleRequest to Schedule a new hearing</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="EFileID" type="EFileIDType">
					<xs:annotation>
						<xs:documentation>Value which when combined with the SubmittingAgencyORI uniquely identifies a specific instance of a schedule hearing submission.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="SubmittingAgencyORI" type="SubmittingAgencyORIType">
					<xs:annotation>
						<xs:documentation>ORI number for agency submitting this message.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:choice>
					<xs:element name="CourtFileNumber" type="CourtFileNumberType">
						<xs:annotation>
							<xs:documentation>Case number for the court case that the hearing is being scheduled on.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="CorrelationEFileID" type="EFileIDType">
						<xs:annotation>
							<xs:documentation>EfileID from a previous message that this message should be matched up with.</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:choice>
				<xs:element name="CourtJurisdictionORI" type="CourtJurisdictionORIType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>ORI for the court that the hearing is being scheduled in.  Defaults to the cases filing ORI. 
Submitter need only specify if appearance will be before a different court/division and the calendar for that court/division is not available at the same node as the case.
</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="ScheduleFor">
					<xs:complexType>
						<xs:choice>
							<xs:element name="ScheduledDateTime" type="xs:dateTime">
								<xs:annotation>
									<xs:documentation>This element is used to schedule a hearing on a specific date and time.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="NextAvailableDate" type="xs:date">
								<xs:annotation>
									<xs:documentation>This element is used to schedule a hearing at the next available time on or after the provided date.</xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:choice>
					</xs:complexType>
				</xs:element>
				<xs:element name="HearingTypeText" type="HearingTypeCodeTextType" nillable="true"/>
				<xs:element name="CourtCalendarNameText" type="CourtCalendarNameCodeTextType" nillable="true">
					<xs:annotation>
						<xs:documentation>Identifes a specific court calendar. Fill the value for the code in the attribute.  Must choose a value that applies to the court that the citation is being submitted to.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="HearingLocationText" type="HearingLocationCodeTextType" nillable="true" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Schedule only within this  specific Courtroom.  Must choose a value that applies to the court that the citation is being submitted to.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="HearingSessionTypeText" type="HearingSessionTypeCodeTextType" nillable="true" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Schedule only whithin this specific type of  session.  Must choose a value that applies to the court that the citation is being submitted to.</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
			<xs:attributeGroup ref="ScheduleHearingMessageAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="ScheduleHearingTrialSettingResponse">
		<xs:annotation>
			<xs:documentation>Response message resulting from an attempt to schedule a new hearing.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="EFileID" type="EFileIDType">
					<xs:annotation>
						<xs:documentation>Passed in with submission.  Used to correlate response with submission.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="SubmittingAgencyORI" type="SubmittingAgencyORIType">
					<xs:annotation>
						<xs:documentation>ORI number for agency that submitted the message that this response message resulted from.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:choice>
					<xs:element name="AcceptedByCourt">
						<xs:complexType>
							<xs:sequence>
								<xs:choice>
									<xs:annotation>
										<xs:documentation>Value returned dpends on which was included in submission message.</xs:documentation>
									</xs:annotation>
									<xs:element name="CourtFileNumber" type="CourtFileNumberType">
										<xs:annotation>
											<xs:documentation>Case number for the court case that the hearing was schedule on.</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="CorrelationEFileID" type="EFileIDType">
										<xs:annotation>
											<xs:documentation>EfileID from a prior message that this responses submission message was matched up with.</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:choice>
								<xs:element name="ScheduledHearingTrialSetting">
									<xs:annotation>
										<xs:documentation>Used for subsequent updates to the hearing that was scheduled.</xs:documentation>
									</xs:annotation>
									<xs:complexType>
										<xs:sequence>
											<xs:element name="HearingKey">
												<xs:annotation>
													<xs:documentation>Reference to the hearing that was scheduled.</xs:documentation>
												</xs:annotation>
												<xs:complexType>
													<xs:sequence>
														<xs:element name="ID" type="xs:positiveInteger"/>
													</xs:sequence>
												</xs:complexType>
											</xs:element>
											<xs:element name="SettingKey">
												<xs:annotation>
													<xs:documentation>Reference to the setting that was scheduled.</xs:documentation>
												</xs:annotation>
												<xs:complexType>
													<xs:sequence>
														<xs:element name="ID" type="xs:positiveInteger"/>
													</xs:sequence>
												</xs:complexType>
											</xs:element>
										</xs:sequence>
									</xs:complexType>
								</xs:element>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
					<xs:element name="PendingCourtReview">
						<xs:complexType>
							<xs:sequence>
								<xs:element name="ReasonText">
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:minLength value="1"/>
											<xs:maxLength value="100"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:element>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
					<xs:element name="Rejected">
						<xs:complexType>
							<xs:sequence>
								<xs:element name="ReasonText">
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:minLength value="1"/>
											<xs:maxLength value="100"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:element>
								<xs:element name="CommentText" type="xs:string" minOccurs="0"/>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
				</xs:choice>
			</xs:sequence>
			<xs:attributeGroup ref="ScheduleHearingMessageAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="ResetHearingTrialSetting">
		<xs:annotation>
			<xs:documentation>Request to Reset an existing hearing</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="EFileID" type="EFileIDType">
					<xs:annotation>
						<xs:documentation>Value which when combined with the SubmittingAgencyORI uniquely identifies a specific instance of a schedule hearing submission.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="SubmittingAgencyORI" type="SubmittingAgencyORIType">
					<xs:annotation>
						<xs:documentation>ORI number for agency submitting this message.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:choice>
					<xs:sequence>
						<xs:element name="CourtFileNumber" type="CourtFileNumberType">
							<xs:annotation>
								<xs:documentation>Case number for the court case that the hearing is being reset on.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="HearingKey">
							<xs:annotation>
								<xs:documentation>Reference to the hearing that is to be reset.</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="ID" type="xs:positiveInteger"/>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="SettingKey">
							<xs:annotation>
								<xs:documentation>Reference to the setting that is to be reset.</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="ID" type="xs:positiveInteger"/>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
					<xs:element name="CorrelationEFileID" type="EFileIDType">
						<xs:annotation>
							<xs:documentation>EfileID from the message that scheduled the hearing to be reset.</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:choice>
				<xs:element name="ResetReasonText" type="SettingRescheduledReasonCodeTextType"/>
				<xs:element name="ResetComment" type="CommentType" minOccurs="0"/>
				<xs:element name="CourtJurisdictionORI" type="CourtJurisdictionORIType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>ORI for the court that the hearing is being scheduled in.  Defaults to the cases filing ORI. 
Submitter need only specify if appearance will be before a different court/division and the calendar for that court/division is not available at the same node as the case.
</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="ScheduleFor">
					<xs:complexType>
						<xs:choice>
							<xs:element name="ScheduledDateTime" type="xs:dateTime">
								<xs:annotation>
									<xs:documentation>This element is used to schedule a hearing on a specific date and time.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="NextAvailableDate" type="xs:date">
								<xs:annotation>
									<xs:documentation>This element is used to schedule a hearing at the next available time on or after the provided date.</xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:choice>
					</xs:complexType>
				</xs:element>
				<xs:element name="HearingTypeText" type="HearingTypeCodeTextType" nillable="true"/>
				<xs:element name="CourtCalendarNameText" type="CourtCalendarNameCodeTextType" nillable="true">
					<xs:annotation>
						<xs:documentation>Identifes a specific court calendar. Fill the value for the code in the attribute.  Must choose a value that applies to the court that the citation is being submitted to.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="HearingLocationText" type="HearingLocationCodeTextType" nillable="true" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Schedule only within this  specific Courtroom.  Must choose a value that applies to the court that the citation is being submitted to.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="HearingSessionTypeText" type="HearingSessionTypeCodeTextType" nillable="true" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Schedule only whithin this specific type of  session.  Must choose a value that applies to the court that the citation is being submitted to.</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
			<xs:attributeGroup ref="ScheduleHearingMessageAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="ResetHearingTrialSettingResponse">
		<xs:annotation>
			<xs:documentation>Response message resulting from an attempt to reset an existing hearing.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="EFileID" type="EFileIDType">
					<xs:annotation>
						<xs:documentation>Passed in with submission.  Used to correlate response with submission.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="SubmittingAgencyORI" type="SubmittingAgencyORIType">
					<xs:annotation>
						<xs:documentation>ORI number for agency that submitted the message that this response message resulted from.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:choice>
					<xs:element name="AcceptedByCourt">
						<xs:complexType>
							<xs:sequence>
								<xs:choice>
									<xs:annotation>
										<xs:documentation>Value returned dpends on which was included in submission message.</xs:documentation>
									</xs:annotation>
									<xs:element name="CourtFileNumber" type="CourtFileNumberType">
										<xs:annotation>
											<xs:documentation>Case number for the court case that the hearing was schedule on.</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="CorrelationEFileID" type="EFileIDType">
										<xs:annotation>
											<xs:documentation>EfileID from a prior message that this responses submission message was matched up with.</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:choice>
								<xs:element name="ScheduledHearingTrialSetting">
									<xs:annotation>
										<xs:documentation>Used for subsequent updates to the hearing that was scheduled.</xs:documentation>
									</xs:annotation>
									<xs:complexType>
										<xs:sequence>
											<xs:element name="HearingKey">
												<xs:annotation>
													<xs:documentation>Reference to the hearing that was scheduled.</xs:documentation>
												</xs:annotation>
												<xs:complexType>
													<xs:sequence>
														<xs:element name="ID" type="xs:positiveInteger"/>
													</xs:sequence>
												</xs:complexType>
											</xs:element>
											<xs:element name="SettingKey">
												<xs:annotation>
													<xs:documentation>Reference to the setting that was scheduled.</xs:documentation>
												</xs:annotation>
												<xs:complexType>
													<xs:sequence>
														<xs:element name="ID" type="xs:positiveInteger"/>
													</xs:sequence>
												</xs:complexType>
											</xs:element>
										</xs:sequence>
									</xs:complexType>
								</xs:element>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
					<xs:element name="PendingCourtReview">
						<xs:complexType>
							<xs:sequence>
								<xs:element name="ReasonText">
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:minLength value="1"/>
											<xs:maxLength value="100"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:element>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
					<xs:element name="Rejected">
						<xs:complexType>
							<xs:sequence>
								<xs:element name="ReasonText">
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:minLength value="1"/>
											<xs:maxLength value="100"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:element>
								<xs:element name="CommentText" type="xs:string" minOccurs="0"/>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
				</xs:choice>
			</xs:sequence>
			<xs:attributeGroup ref="ScheduleHearingMessageAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="CancelHearingTrialSetting">
		<xs:annotation>
			<xs:documentation>Request to Cancel an existing hearing</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="EFileID" type="EFileIDType">
					<xs:annotation>
						<xs:documentation>Value which when combined with the SubmittingAgencyORI uniquely identifies a specific instance of a schedule hearing submission.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="SubmittingAgencyORI" type="SubmittingAgencyORIType">
					<xs:annotation>
						<xs:documentation>ORI number for agency submitting this message.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:choice>
					<xs:sequence>
						<xs:element name="CourtFileNumber" type="CourtFileNumberType">
							<xs:annotation>
								<xs:documentation>Case number for the court case that the hearing is being rescheduled on.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="HearingKey">
							<xs:annotation>
								<xs:documentation>Reference to the hearing that is to be cancelled.</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="ID" type="xs:positiveInteger"/>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="SettingKey">
							<xs:annotation>
								<xs:documentation>Reference to the setting that is to be cancelled</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="ID" type="xs:positiveInteger"/>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
					<xs:element name="CorrelationEFileID" type="EFileIDType">
						<xs:annotation>
							<xs:documentation>EfileID from the message that scheduled the hearing to be cancelled.</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:choice>
				<xs:element name="CancelReasonText" type="HearingSettingCancellationReasonCodeTextType"/>
				<xs:element name="CancelCommentText" type="CommentType" minOccurs="0"/>
			</xs:sequence>
			<xs:attributeGroup ref="ScheduleHearingMessageAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="CancelHearingTrialSettingResponse">
		<xs:annotation>
			<xs:documentation>Response message resulting from an attempt to cancel an existing hearing.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="EFileID" type="EFileIDType">
					<xs:annotation>
						<xs:documentation>Passed in with submission.  Used to correlate response with submission.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="SubmittingAgencyORI" type="SubmittingAgencyORIType">
					<xs:annotation>
						<xs:documentation>ORI number for agency that submitted the message that this response message resulted from.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:choice>
					<xs:element name="AcceptedByCourt">
						<xs:complexType>
							<xs:choice>
								<xs:annotation>
									<xs:documentation>Value returned dpends on which was included in submission message.</xs:documentation>
								</xs:annotation>
								<xs:element name="CourtFileNumber" type="CourtFileNumberType">
									<xs:annotation>
										<xs:documentation>Case number for the court case that the hearing Cancelled on.</xs:documentation>
									</xs:annotation>
								</xs:element>
								<xs:element name="CorrelationEFileID" type="EFileIDType">
									<xs:annotation>
										<xs:documentation>EFileID that corresponds to the hearing/setting that was cancelled.</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:choice>
						</xs:complexType>
					</xs:element>
					<xs:element name="PendingCourtReview">
						<xs:complexType>
							<xs:sequence>
								<xs:element name="ReasonText">
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:minLength value="1"/>
											<xs:maxLength value="100"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:element>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
					<xs:element name="Rejected">
						<xs:complexType>
							<xs:sequence>
								<xs:element name="ReasonText">
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:minLength value="1"/>
											<xs:maxLength value="100"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:element>
								<xs:element name="CommentText" type="xs:string" minOccurs="0"/>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
				</xs:choice>
			</xs:sequence>
			<xs:attributeGroup ref="ScheduleHearingMessageAttributes"/>
		</xs:complexType>
	</xs:element>
</xs:schema>
