<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2010 rel. 3 (http://www.altova.com) by Richard Rowan (MN SUPREME COURT-INFO TECH DIV) -->
<!--
 Copyright © 2006, 2007, 2009, 2010, 2012 by the State of Minnesota
	State Court Administrator’s Office
	All Rights Reserved
-->
<!-- Modification History 
	Date				Version	Rev			Change
	9/20/2006		1.0.0		2				Update with input provided by Hennepin and CriMNet
															Child ID elements
															Person Name
															Change some simple type includes
	10/6/2006		1.0.0		3				Made Community of Offense required.  
															Deleted Drivers License IDExpirationDate – Odyssey does not store it. 
															If Person Race or Ethnicity is entered, made the text element required.  They are optional if Race or Ethnicity is not entered.  
															Changed Reason and Comment elements in response to end with Text.
															Changed ScheduledHearingTrialSetting in accepted response to contain elements rather than attributes.
															In Warrant changed Note and Narrative to have Text suffix, BondType to have Text suffix.
															In Charge added Text suffix to OffenseLocation and StatuteType (for supplemental statutes)
															Added Extradition ComplaintType value.
	10/26/2006	1.0.0		4				Set length of ID for CaseCrossReference to be from 1 to 30 characters
															Set length of ID for PersonOtherID to be from 1 to 20 characters
															Remove choice between Location and SessionType.  Either or both can now be included.
															Split PersonStateID/ID into 2 elements (ID containing the number and IDJurisdiction containing the state that issued the ID)
															Added VehicleLicencePlate element to charge.
															ScheduleHearingTrialSetting corrected to not be unbounded on TabCharge
															Removed VehicleLicensePlate/PlateExpiryYear and PlateExpiryMonth because they are not accepted by MNCIS and there are no plans to change MNCIS to accept them.
															Changed CriminalComplaintDocument/Filing/OtherAgencyCrossReference to optional (it had incorrectly been made a required element.)
	11/1/2006		1.0.0		5				Moved EFileID out of Filing to be a child of TabChargeDocument and CriminalComplaintDocument to be consistent with other submissions.
															Renamed FilingAgencyORI in TabChargeDocument/Filing to be SubmittingAgencyORI and to be a child of TabChargeDocument.
															Added SubmittingAgencyORI to CriminalComplaintDocument.
	11/27/2006	1.0.0		6				Removed PersonBirthData element.  Moved date and address elements up to be children of Defendant.
															Renamed PartyPhoneNumber to be PartyTelephoneNumber to be consistent with other CourtXML.
															The element OtherAgencyCrossReference was removed from Filing and OtherAgencyNumber was bumped up to be a child of Filing.
															Set length of report and arrest control numbers to be 8.
	12/8/2006		3:1			7				Tied into courtXML version 3.
															If Arrest is included then the control number and agency are required.
															Changed all IDJurisdiction elements to be named IDJurisdicitonCode.
															All IDTypeDescriptionText elements were renamed to IDTypeText
															Added required IDTypeCodeText to PersonOtherID
															Removed ScheduleHearing and Warrant.
	02/08/2007	3:1			8				Made marrital status, foreign language and citizenship nillable.
															Made StatuteOrdinanceRuleCite required for Rules
															Changed PlateState to use StateCodeType rather than DriversLicenseState
															Fixed the nillable setting on physical details elements.
															Use ChargeInType from CourtXML Schema rather than local copy.  (should be no changes to the message format as a result of this change)
															Use types for PersonAssignedIDDetails and PersonPhysicalDetails from CourtXML.  (should not result in any changes to message format)
															Removed BirthLocation
															Removed current attribute from BirthDate, Telephone and all PersonAssignedIDDetail elements.
	03/30/2007	3:1			9				Added pattern on SSN for 999-99-9999 format.
															Eliminated the use of restrictions of complex types.   This should not change any existing messages.
	12/07/2007	3:1			10			Removed fixed value for schemaVersion because it causes problems with web services.	
	02/01/2008	3:1			11			Added elements for Pull/Release processing.
	05/27/2008	3:1			12			Added annotation to Prosecutor element.
	12/15/2008	3:1			13			Pulled the Pull/Release elemetns out to be placed in their own schema
	12/13/2011	3:2			1				Added VehicleIDType (VIN)	complex type.
														Added VehicleType complex type. VehicleType includes several elements that are required when a vehicle related charge is submitted.
														Added ChargeLocalType and used this in place of CourtXML ChargeInType. ChargeLocalType includes the Vehicle complex type in CriminalComplaint and TabCharge.
	12/27/2011	3:2			2				Changed VehicleType complex type. If vehicle information is submitted, all elements are optional except VehicleLicensePlate. 
-->
<xs:schema 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" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://schemas.xmlsoap.org/ws/2004/08/addressing" targetNamespace="http://www.courts.state.mn.us/CourtXML/3" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2">
	<xs:include schemaLocation="CourtXML_3.xsd"/>
	<xs:attributeGroup name="ComplaintMessageAttributes">
		<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:complexType name="ChargeLocalType">
		<xs:sequence>
			<xs:element name="ChargeSequenceID" type="ChargeSequenceIDType">
				<xs:annotation>
					<xs:documentation>Denotes a sequential ordering of charges to a case, e.g., Count Number.  A charge can be renumbered, i.e., resequenced relative to other counts during the pendancy of the case.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Offense" type="OffenseType"/>
			<xs:element name="Arrest" type="ArrestInType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Formerly called Booking</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Report" type="ReportInType" minOccurs="0"/>
			<xs:element name="ChargeStatuteOrdinanceRule" type="ChargeStatuteOrdinanceRuleInType"/>
			<xs:element name="ChargeStatuteSupplemental" minOccurs="0" maxOccurs="unbounded">
				<xs:complexType>
					<xs:complexContent>
						<xs:extension base="ChargeSupplementalStatuteOrdinanceRuleInType">
							<xs:sequence>
								<xs:element name="SeverityLevelText" type="OffenseSeverityLevelTypeCodeTextType" nillable="true" minOccurs="0">
									<xs:annotation>
										<xs:documentation>This element is required on inbound messages, such as complaints and citations,  where there are multiple degree levels associated with the accompanying statute.  </xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:sequence>
						</xs:extension>
					</xs:complexContent>
				</xs:complexType>
			</xs:element>
			<xs:element name="CommunityOfOffenseText" type="CommunityOfOffenseCodeTextType" nillable="true"/>
			<xs:element name="Vehicle" type="VehicleType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Details of the vehicle license plate.   </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AccidentDamageText" type="CitationAccidentTypeCodeTextType" nillable="true" minOccurs="0"/>
			<xs:element name="Speeding" type="SpeedingType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Details about the speed of the vehicle involved in the incident.  Required for speeding offenses.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AnimalsOverLimitCount" type="xs:positiveInteger" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Number of animals over the limit. Certain DNR violations involve a violation of the number of animals allowed to be taken. Used to determine the fine amount.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="VehicleOverweightMeasure" type="VehicleOverweightMeasureType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>The number of pounds overweight in a vehicle weight violation.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="BloodAlcoholConcentration" type="BloodAlcoholConcentrationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Required for DWI violations. </xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DefendantType">
		<xs:sequence>
			<xs:element name="PartyKey" type="IntegrationIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>The party integration ID. If provided will skip all other party matching logic and select the party with this id.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PartyName" type="PartyNameBaseType">
				<xs:annotation>
					<xs:documentation>PartyName is the name the case will be filed under.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PartyAlternateName" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>PartyAltenateName allows the filing agency to submit aliases, former names, etc.  These names will be searchable on MNCIS.</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:complexContent>
						<xs:extension base="PartyNameBaseType">
							<xs:attribute name="nameTypeText" type="CaseNameTypeCodeType" use="required">
								<xs:annotation>
									<xs:documentation>AKA denotes an Alias</xs:documentation>
								</xs:annotation>
							</xs:attribute>
						</xs:extension>
					</xs:complexContent>
				</xs:complexType>
			</xs:element>
			<xs:element name="PartyAddress" type="PartyAddressBaseType" minOccurs="0"/>
			<xs:element name="PartyTelephoneNumber" type="TelephoneNumberBaseType" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="PartyEmail" type="PartyEmailType" minOccurs="0"/>
			<xs:element name="PersonBirthDate" type="xs:date" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="PersonCitizenshipText" type="CountryTypeCodeTextType" nillable="true" minOccurs="0"/>
			<xs:element name="MaritalStatusText" type="MaritalStatusCodeTextType" nillable="true" minOccurs="0"/>
			<xs:element name="ForeignLanguageText" type="ForeignLanguageTextType" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="InterpreterNeededIndicator" type="xs:boolean" minOccurs="0"/>
			<xs:element name="PersonAssignedIDDetails" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="PersonID" type="PersonIDType" minOccurs="0"/>
						<xs:element name="PersonSSNID" minOccurs="0" maxOccurs="unbounded">
							<xs:complexType>
								<xs:complexContent>
									<xs:extension base="PersonSSNIDType"/>
								</xs:complexContent>
							</xs:complexType>
						</xs:element>
						<xs:element name="PersonDriverLicenseID" minOccurs="0" maxOccurs="unbounded">
							<xs:complexType>
								<xs:complexContent>
									<xs:extension base="PersonDriverLicenseIDType"/>
								</xs:complexContent>
							</xs:complexType>
						</xs:element>
						<xs:element name="PersonFBIID" minOccurs="0" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>A number issued by the FBI&apos;s Automated Fingerprint Identification System (AFIS) based on submitted fingerprints.</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:complexContent>
									<xs:extension base="PersonFBIIDType"/>
								</xs:complexContent>
							</xs:complexType>
						</xs:element>
						<xs:element name="PersonStateID" minOccurs="0" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>A number issued by a state Automated Fingerprint Identification System (AFIS) based on submitted fingerprints. Sometimes referred to as a State ID number or a SID.</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:complexContent>
									<xs:extension base="PersonStateIDType"/>
								</xs:complexContent>
							</xs:complexType>
						</xs:element>
						<xs:element name="PersonOtherID" type="PersonOtherIDType" minOccurs="0" maxOccurs="unbounded"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="PersonPhysicalDetails" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="PersonHeightMeasure" type="PersonHeightMeasureType" minOccurs="0"/>
						<xs:element name="PersonWeightMeasure" type="PersonWeightMeasureType" minOccurs="0"/>
						<xs:element name="PersonEyeColorText" type="EyeColorTypeCodeTextType" nillable="true" minOccurs="0"/>
						<xs:element name="PersonHairColorText" type="HairColorTypeCodeTextType" nillable="true" minOccurs="0"/>
						<xs:element name="PersonSexText" type="GenderTypeCodeTextType" nillable="true" minOccurs="0"/>
						<xs:element name="PersonEthnicity" nillable="true" minOccurs="0">
							<xs:complexType>
								<xs:sequence>
									<xs:element name="LawEnforcementObservedEthnicityText" type="EthnicTypeCodeTextType" nillable="true" minOccurs="0"/>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="PersonRace" nillable="true" minOccurs="0">
							<xs:complexType>
								<xs:sequence>
									<xs:element name="LawEnforcementObservedRaceText" type="RaceTypeCodeTextType" nillable="true" minOccurs="0" maxOccurs="unbounded">
										<xs:annotation>
											<xs:documentation>MNCIS stores this race data with the case</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="PersonPhysicalFeature" type="PersonPhysicalFeatureType" minOccurs="0" maxOccurs="unbounded"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="VehicleIDType">
		<xs:sequence>
			<xs:element name="ID">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="17"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="VehicleType">
		<xs:sequence>
			<xs:element name="VehicleTypeText" type="VehicleTypeCodeTextType" nillable="true" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Type of vehicle involved in the incident.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="VehicleMakeText" type="VehicleMakeCodeTextType" nillable="true" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Manufacturer of the vehicle involved in the incident.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="VehicleModelText" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Name assigned by the manufacturuer that identifies the specific vehicle. </xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="VehicleModelTextType"/>
				</xs:simpleType>
			</xs:element>
			<xs:element name="VehicleYear" type="xs:gYear" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Vehicle model year assigned by the manufacturer.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="VehicleColorText" type="VehicleColorCodeTextType" nillable="true" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Primary color of the vehicle.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="VehicleLicensePlate">
				<xs:annotation>
					<xs:documentation>Details of the vehicle license plate.</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:complexContent>
						<xs:extension base="VehicleLicensePlateType">
							<xs:sequence>
								<xs:element name="PlateExpiration" minOccurs="0">
									<xs:annotation>
										<xs:documentation>Month and Year the license plate registration expires.</xs:documentation>
									</xs:annotation>
									<xs:complexType>
										<xs:sequence>
											<xs:element name="PlateExpirationMonth" minOccurs="0">
												<xs:simpleType>
													<xs:restriction base="xs:int">
														<xs:minInclusive value="1"/>
														<xs:maxInclusive value="12"/>
													</xs:restriction>
												</xs:simpleType>
											</xs:element>
											<xs:element name="PlateExpirationYear" type="xs:gYear"/>
										</xs:sequence>
									</xs:complexType>
								</xs:element>
							</xs:sequence>
						</xs:extension>
					</xs:complexContent>
				</xs:complexType>
			</xs:element>
			<xs:element name="CommercialVehicleIndicator" minOccurs="0">
				<xs:annotation>
					<xs:documentation>If true, indicates the vehicle is registered as a commercial vehicle. </xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:boolean"/>
				</xs:simpleType>
			</xs:element>
			<xs:element name="HazardousMaterialsIndicator" minOccurs="0">
				<xs:annotation>
					<xs:documentation>If true, indicates hazardous materials were involved in the incident.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:boolean"/>
				</xs:simpleType>
			</xs:element>
			<xs:element name="VehicleID" type="VehicleIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>A unique combination of alphanumeric characters that identifies a specific vehicle. A vehicle identification number is normally imprinted by the manufacturer and attached to the vehicle in specific locations, but is occasionally assigned by titling or registration agencies. Sometimes referred to as a VIN, VIN number.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!--Below are the elements that define the Complaint/TabCharge messages.-->
	<xs:element name="CriminalComplaintDocument">
		<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 an efiling. If two documents share the same values, filings subsequent to the intial filing will be rejected as duplicate filings.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="SubmittingAgencyORI" type="SubmittingAgencyORIType">
					<xs:annotation>
						<xs:documentation>Agency responsible for the submitting the complaint.   In most instances this will be the same as the Filing/ProsecutingAgencyORI.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Filing">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="ProsecutingAgencyORI" type="ProsecutingAgencyORIType">
								<xs:annotation>
									<xs:documentation>Agency responsible for filing and prosecuting the case.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="ComplaintTypeText">
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:enumeration value="Complaint--Summons"/>
										<xs:enumeration value="Complaint--Warrant"/>
										<xs:enumeration value="Complaint--Order For Detention"/>
										<xs:enumeration value="Extradition"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
							<xs:element name="CourtJurisdictionORI" type="CourtJurisdictionORIType"/>
							<xs:element name="OtherAgencyNumber" type="OtherAgencyNumberType" minOccurs="0" maxOccurs="unbounded"/>
							<xs:element name="FingerPrintedIndicator" type="xs:boolean">
								<xs:annotation>
									<xs:documentation>If true, indicates the defendant has been fingerprinted for this case. </xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="FingerprintsNeededIndicator" type="xs:boolean">
								<xs:annotation>
									<xs:documentation>If true, indicates fingerprinting is required. </xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="Defendant" type="DefendantType"/>
				<xs:element name="Charge" type="ChargeLocalType" maxOccurs="unbounded"/>
				<xs:element name="Prosecutor" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Assign a prosecutor to the case. </xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="AttorneyBarNumber" type="AttorneyBarNumberType"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="ProbableCauseText" type="CommentType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Currently this does not get stored in MNCIS.</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
			<xs:attributeGroup ref="ComplaintMessageAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="CriminalComplaintDocumentResponse">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="EFileID" type="EFileIDType">
					<xs:annotation>
						<xs:documentation>EFileID submitted with complaint or tab charge</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="SubmittingAgencyORI" type="SubmittingAgencyORIType">
					<xs:annotation>
						<xs:documentation>The identifier for the agency that submitted the complaint or tab charge. </xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="OtherAgencyNumber" type="OtherAgencyNumberType" minOccurs="0" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>This element will hold case numbers issued by other agencies, e.g., Prosecutor File Number or Jail Booking Number.   These will be included if they were submitted with the original complaint/tabcharge message.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:choice>
					<xs:element name="AcceptedByCourt">
						<xs:complexType>
							<xs:sequence>
								<xs:element name="CourtFileNumber" type="CourtFileNumberType"/>
								<xs:element name="CaseFiledDate" type="xs:date"/>
							</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="ComplaintMessageAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="TabChargeDocument">
		<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 an efiling.  If two documents share the same values, filings subsequent to the intial filing will be rejected as duplicate filings.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="SubmittingAgencyORI" type="SubmittingAgencyORIType">
					<xs:annotation>
						<xs:documentation>Agency responsible for the submitting the tab charge.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Filing">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="ProsecutingAgencyORI" type="ProsecutingAgencyORIType" minOccurs="0">
								<xs:annotation>
									<xs:documentation>ORI of the agency resposible for prosecuting the case.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="CourtJurisdictionORI" type="CourtJurisdictionORIType">
								<xs:annotation>
									<xs:appinfo source="Use the ORI to lookup the Node ID for the court and map to /EFile/Case/Court@NodeID and /EFile/Case/Court@CourtNCIC">Specifies the court and division where appropriate to which the complaint is submitted.  Requires pre-approval and configuration.  We write the ORI to /Efile/Case/Court@CourtNCIC to aid in debugging.</xs:appinfo>
									<xs:documentation>The ORI of the Court to which you are filing the document.  Larger courts may have multiple filing locations and this value controls the court division/satellite receiving the filing.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="OtherAgencyNumber" type="OtherAgencyNumberType" minOccurs="0" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>This element will hold case numbers issued by other agencies, e.g., Prosecutor File Number or Jail Booking Number. </xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="FingerPrintedIndicator" type="xs:boolean">
								<xs:annotation>
									<xs:documentation>If true, indicates the defendant has been fingerprinted for this case. </xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="FingerprintsNeededIndicator" type="xs:boolean">
								<xs:annotation>
									<xs:documentation>If true, indicates fingerprinting is required. </xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="Defendant" type="DefendantType"/>
				<xs:element name="Charge" type="ChargeLocalType" maxOccurs="unbounded"/>
				<xs:element name="ProbableCauseText" type="CommentType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Currently this does not get stored in MNCIS.</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
			<xs:attributeGroup ref="ComplaintMessageAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="TabChargeDocumentResponse">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="EFileID" type="EFileIDType">
					<xs:annotation>
						<xs:documentation>EFileID submitted with complaint or tab charge</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="SubmittingAgencyORI" type="SubmittingAgencyORIType">
					<xs:annotation>
						<xs:documentation>The identifier for the agency that submitted the complaint or tab charge. </xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="OtherAgencyNumber" type="OtherAgencyNumberType" minOccurs="0" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>This element will hold case numbers issued by other agencies, e.g., Prosecutor File Number or Jail Booking Number.   These will be included if they were submitted with the original complaint/tabcharge message.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:choice>
					<xs:element name="AcceptedByCourt">
						<xs:complexType>
							<xs:sequence>
								<xs:element name="CourtFileNumber" type="CourtFileNumberType"/>
								<xs:element name="CaseFiledDate" type="xs:date"/>
							</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="ComplaintMessageAttributes"/>
		</xs:complexType>
	</xs:element>
</xs:schema>
