<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by Tim Buchholz (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
	9/26/2006		1.0.0		1			Initial Draft Schema
	10/3/2006		1.0.0		2			Changed Reason and Comment elements in response to end with Text.
	10/11/2006	1.0.0		3			Set length of ID for PersonOtherID to be from 1 to 20 characters
	12/12/2006	3:1			4			Migrated to courtxml version 3 
														No structural changes
														New CourtXML namespace
														New schema version attribute on root element.
														Added required IDTypeCodeText element to PersonOtherID
	03/30/2007	3:1			5			Eliminated the use of restrictions of complex types.   This should not change any existing messages.
	05/25/2007	3.1			6			Set PersonOtherID to a max occurs of 1.
														Added code attribute to ReasonText for rejected responses. Made ReasonText unbounded. 
														Removed AddPersonOtherIDResponse/PendingCourtReview because it is not used.
														Removed AddPersonOtherIDResponse/Rejected/CommentText because it is not used.
	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.

-->
<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="8">
	<xs:include schemaLocation="CourtXML_3.xsd"/>
	<xs:attributeGroup name="PersonOtherIDMessageAttributes">
		<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:element name="AddPersonOtherID">
		<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="PersonID" type="PersonIDType">
						<xs:annotation>
							<xs:documentation>MNCIS Person ID for the party that the other should be added to.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="PartyKey" type="IntegrationIDType">
						<xs:annotation>
							<xs:documentation>Integration ID for the party that the other id should be added to.</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:choice>
				<xs:element name="PersonOtherID" type="PersonOtherIDType"/>
			</xs:sequence>
			<xs:attributeGroup ref="PersonOtherIDMessageAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="AddPersonOtherIDResponse">
		<xs:annotation>
			<xs:documentation>Response message resulting from an attempt to add "Other" identifiers to an existing MNCIS party.</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="PersonID" type="PersonIDType">
									<xs:annotation>
										<xs:documentation>MNCIS Person ID for the party that the other should be added to.</xs:documentation>
									</xs:annotation>
								</xs:element>
								<xs:element name="PartyKey">
									<xs:annotation>
										<xs:documentation>Integration ID for the party that the other id should be added to.</xs:documentation>
									</xs:annotation>
									<xs:complexType>
										<xs:sequence>
											<xs:element name="ID" type="xs:positiveInteger"/>
										</xs:sequence>
									</xs:complexType>
								</xs:element>
							</xs:choice>
						</xs:complexType>
					</xs:element>
					<xs:element name="Rejected">
						<xs:complexType>
							<xs:sequence>
								<xs:element name="ReasonText" maxOccurs="unbounded">
									<xs:complexType>
										<xs:simpleContent>
											<xs:extension base="Text1to100Type">
												<xs:attribute name="code" type="xs:string">
													<xs:annotation>
														<xs:documentation>For future use to hold a unique identifier for rejection reason.</xs:documentation>
													</xs:annotation>
												</xs:attribute>
											</xs:extension>
										</xs:simpleContent>
									</xs:complexType>
								</xs:element>
								<xs:element name="CommentText" type="CommentType" minOccurs="0"/>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
				</xs:choice>
			</xs:sequence>
			<xs:attributeGroup ref="PersonOtherIDMessageAttributes"/>
		</xs:complexType>
	</xs:element>
</xs:schema>
