<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by Richard Rowan (Minnesota Judicial Branch) -->
<!--W3C Schema generated by XMLSpy v2006 sp2 U (http://www.altova.com)-->
<!--
 Copyright © 2006, 2007, 2008, 2009 by the State of Minnesota
	State Court Administrator’s Office
	All Rights Reserved
-->
<!-- Modification History 
	Date				Version	Rev		Change
	10/2/2006		1.0.0		1			Initial Draft Schema
	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			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.
	02/01/2008	3:1			7			Added elements for Pull/Release processing.
														Restricted the "New" status type to only those that can be submitted by an agency.
	02/22/2008	3:1			8			Increased ReasonText elements to 300 characters.
														Add a code attribute to the ReasonText elements.
	07/23/2008	3.1			9			Add new warrant status text and code - "Warrant cleared by warrant office."
	01/28/2009	3:1			10		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="10">
	<xs:include schemaLocation="CourtXML_3.xsd"/>
	<xs:attributeGroup name="WarrantStatusMessageAttributes">
		<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>
	<xs:simpleType name="NewWarrantStatusType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Warrant Cleared by Arrest"/>
			<xs:enumeration value="Warrant Cleared by Wt Office"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="NewWarrantStatusCodeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="IBARCLR"/>
			<xs:enumeration value="IBWOCLR"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:element name="UpdateWarrantStatus">
		<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  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="WarrantNumber" type="WarrantNumberType">
						<xs:annotation>
							<xs:documentation>Warrant number for the warrant that the status update should be applied to. Usually the case file number + a sequential number.  Can be either manually or auto-assigned. 
</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="CurrentWarrantStatus">
					<xs:annotation>
						<xs:documentation>This has to match the status that is currently on the selected warrant.   If it differs this submission will be rejected.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="WarrantStatusTypeText" nillable="true">
								<xs:annotation>
									<xs:documentation>Text description of the status.</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:simpleContent>
										<xs:restriction base="WarrantStatusTypeCodeTextType">
											<xs:attribute name="code">
												<xs:simpleType>
													<xs:restriction base="WarrantStatusTypeCodeType"/>
												</xs:simpleType>
											</xs:attribute>
										</xs:restriction>
									</xs:simpleContent>
								</xs:complexType>
							</xs:element>
							<xs:element name="WarrantStatusDate" type="xs:date">
								<xs:annotation>
									<xs:documentation>Date the status took effect.</xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="NewWarrantStatus">
					<xs:annotation>
						<xs:documentation>New status values to be applied to the warrant.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="WarrantStatusTypeText" nillable="true">
								<xs:annotation>
									<xs:documentation>Text description of the new status.</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:simpleContent>
										<xs:extension base="NewWarrantStatusType">
											<xs:attribute name="code" type="NewWarrantStatusCodeType"/>
										</xs:extension>
									</xs:simpleContent>
								</xs:complexType>
							</xs:element>
							<xs:element name="WarrantStatusDate" type="xs:date">
								<xs:annotation>
									<xs:documentation>Date the new status took effect.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="WarrantStatusTime" type="xs:time">
								<xs:annotation>
									<xs:documentation>Time the new status took effect.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="WarrantStatusComment" type="CommentType" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Comment assocated with the warrant status.</xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
			<xs:attributeGroup ref="WarrantStatusMessageAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="UpdateWarrantStatusResponse">
		<xs:annotation>
			<xs:documentation>Response message resulting from an attempt to update a warrant status.</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:element name="WarrantNumber" type="WarrantNumberType">
									<xs:annotation>
										<xs:documentation>Warrant number for the warrant that the status update was applied to.</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:complexType>
					</xs:element>
					<xs:element name="PendingCourtReview">
						<xs:complexType>
							<xs:sequence>
								<xs:element name="ReasonText" type="ReasonCodeTextType"/>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
					<xs:element name="Rejected">
						<xs:complexType>
							<xs:sequence>
								<xs:element name="ReasonText" type="ReasonCodeTextType" maxOccurs="unbounded"/>
								<xs:element name="CommentText" type="xs:string" minOccurs="0"/>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
				</xs:choice>
			</xs:sequence>
			<xs:attributeGroup ref="WarrantStatusMessageAttributes"/>
		</xs:complexType>
	</xs:element>
</xs:schema>
