<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2012 rel. 2 (http://www.altova.com) by Richard Rowan (MN SUPREME COURT-INFO TECH DIV) -->
<!--W3C Schema generated by XMLSpy v2006 sp2 U (http://www.altova.com)-->
<!-- standalone="yes" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" 
 Copyright © 2006, 2007, 2008, 2009 by the State of Minnesota
	State Court Administrator’s Office
	All Rights Reserved
-->
<!-- Modification History 
	Date				Version	Rev		Change
	9/26/2006		1.0.0		1			Initial Draft Schema
	10/2/2006		1.0.0		2			Change to use "Note" rather than CaseEvent.
														Changed Reason and Comment elements in response to end with Text.
														Added annotation to response element indicating that the service doesn't curently return any responses.
							1.0.0		3			Removed annotation indicating that this is a one way message.  Response messages will now be produced.
	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.
	01/28/2009		3:1			8		Removed Pull/Release elements since they only apply to submissions through web services and are defined in the WSDL separate from the schema.
	07/31/2012		3:2			1		Make CourtFileNumber unbounded to allow multiple cases to be specified. This accommodates requirements for the Court of Appeals (MACS) to MNCIS project. 

-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.courts.state.mn.us/CourtXML/3" targetNamespace="http://www.courts.state.mn.us/CourtXML/3" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1">
	<xs:include schemaLocation="CourtXML_3.xsd"/>
	<xs:include schemaLocation="SimpleTypes/OtherAgencyNoteTypeType.xsd"/>
	<xs:attributeGroup name="OtherAgencyNoteMessageAttributes">
		<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:2.</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:complexType name="OtherAgencyNoteType">
		<xs:sequence>
			<xs:element name="NoteTypeText" type="OtherAgencyNoteTypeCodeTextType" nillable="true"/>
			<xs:element name="NoteDateTime" type="xs:dateTime"/>
			<xs:element name="NoteCommentText" type="CommentType" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="AddOtherAgencyNote">
		<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="CourtFileNumber" type="CourtFileNumberType" maxOccurs="unbounded">
						<xs:annotation>
							<xs:documentation>Case number for the court case that the case event is being added to.</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="OtherAgencyNote" type="OtherAgencyNoteType"/>
			</xs:sequence>
			<xs:attributeGroup ref="OtherAgencyNoteMessageAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="AddOtherAgencyNoteResponse">
		<xs:annotation>
			<xs:documentation>Response message resulting from an attempt to add  "Other Agency" notes to an existing case.</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:sequence>
					<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" maxOccurs="unbounded">
									<xs:annotation>
										<xs:documentation>Case number for the court case that the cross reference number was added 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:sequence>
			</xs:sequence>
			<xs:attributeGroup ref="OtherAgencyNoteMessageAttributes"/>
		</xs:complexType>
	</xs:element>
</xs:schema>
