<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2011 rel. 3 sp1 (http://www.altova.com) by Tim Buchholz (Minnesota Judicial Branch) -->
<!--
 Copyright © 2009, 2010 by the State of Minnesota
	State Court Administrator’s Office
	All Rights Reserved
-->
<!--This service is used to submit a Criminal Complaint Document Image to the Court Case Management system (MNCIS). 	The document will be attached to the specified case. .
Modification History 
	Date				Version	Rev			Change
	02/07/11		1							Initial Document Creation
-->
<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="5">
	<xs:include schemaLocation="CourtXML_3.xsd"/>
	<xs:attributeGroup name="AddSupplementalComplaintDocumentMessageAttributes">
		<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 messages based on 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="AddSupplementalComplaintDocument">
		<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>Agency responsible for submitting the document.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:choice>
					<xs:element name="CourtFileNumber" type="CourtFileNumberType">
						<xs:annotation>
							<xs:documentation>Court Case the submitted document is to be associated with.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="CorrelationEFileID" type="EFileIDType">
						<xs:annotation>
							<xs:documentation>EfileID from an Efiled Complaint that this message should be associated with.</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:choice>
				<xs:element name="DocumentBinaryObject" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>The base64Binary encoded document.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:simpleContent>
							<xs:extension base="xs:base64Binary">
								<xs:attribute name="binaryObjectType" use="required">
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:enumeration value="application/pdf"/>
											<xs:enumeration value="image/tiff"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
								<xs:attribute name="documentName" use="required">
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:minLength value="1"/>
											<xs:maxLength value="100"/>
											<xs:enumeration value="Complaint-Order for Detention"/>
											<xs:enumeration value="Complaint Summons"/>
											<xs:enumeration value="Complaint Warrant"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
								<xs:attribute name="documentDescription">
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:minLength value="1"/>
											<xs:maxLength value="60"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:extension>
						</xs:simpleContent>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
			<xs:attributeGroup ref="AddSupplementalComplaintDocumentMessageAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="AddSupplementalComplaintDocumentResponse">
		<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>Agency responsible for submitting the document.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:sequence>
					<xs:element name="AcceptedByCourt">
						<xs:complexType>
							<xs:sequence>
								<xs:choice>
									<xs:element name="CourtFileNumber" type="CourtFileNumberType">
										<xs:annotation>
											<xs:documentation>Court Case the submitted document are to be associated with.</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="CorrelationEFileID" type="EFileIDType">
										<xs:annotation>
											<xs:documentation>EfileID from a Efiled Complaint that this message should be associated with. Not used with Batch Citations</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:choice>
								<xs:element name="AcceptedDate" type="xs:date">
									<xs:annotation>
										<xs:documentation>System Date that the document were added to MNCIS.</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
				</xs:sequence>
			</xs:sequence>
			<xs:attributeGroup ref="AddSupplementalComplaintDocumentMessageAttributes"/>
		</xs:complexType>
	</xs:element>
</xs:schema>
