<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:include schemaLocation="http://stepmom.wicourts.gov/xsd/dotcitation0_10_DA.xsd"/>
	<xs:include schemaLocation="http://stepmom.wicourts.gov/xsd/da_common0_04.xsd"/>
	<xs:element name="daNewCase">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="filingTimestamp" type="xs:dateTime" minOccurs="1" maxOccurs="1"/> 
				<xs:element name="testData" type="yesNoT"/>
				<xs:element name="codeVersion" type="daCodeVersionT"/>
				<xs:element name="countyNumber" type="countyNoT"/>
				<xs:element name="domesticViolence" type="yesNoT"/>
				<xs:element name="confidential" type="yesNoT"/>
				<xs:element name="daCaseNumber" type="string12T" minOccurs="0"/>
				<xs:element name="assignProsId" type="xs:integer" minOccurs="0" nillable="false"/>
				<xs:element name="prosAgencyNo" type="xs:integer" minOccurs="1" nillable="false"/>
				<xs:element name="bondId" type="xs:string" minOccurs="0"/>
				<xs:element name="party" type="partyT" maxOccurs="unbounded"/>
				<xs:element name="charge" type="chargeT" maxOccurs="unbounded"/>
				<xs:element name="notes" type="xs:string" minOccurs="0"/>
				<xs:element name="filingDocument" type="attachmentT" minOccurs="1" maxOccurs="1"/>
				<xs:element ref="attachments" minOccurs="0"/>
			</xs:sequence>
			<xs:attribute name="caseNumber" type="string12T" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="partyT">
		<xs:sequence>
			<xs:element name="partyType" type="twoAlphaT"/>
			<xs:element name="lastName" type="lastNameT"/>
			<xs:element name="firstName" type="firstNameT" minOccurs="0"/>
			<xs:element name="middleName" type="middleNameT" minOccurs="0"/>
			<xs:element name="nameSuffix" type="nameSuffixT" minOccurs="0"/>
			<xs:element name="addressOne" type="addressOneT" minOccurs="0"/>
			<xs:element name="addressTwo" type="addressTwoT" minOccurs="0"/>
			<xs:element name="city" type="cityT" minOccurs="0"/>
			<xs:element name="state" type="stateCodeT" minOccurs="0"/>
			<xs:element name="zip" type="zipCodeT" minOccurs="0"/>
			<xs:element name="dateOfBirth" type="daDateT" minOccurs="0"/>
			<xs:element name="sex" type="sexT" minOccurs="0"/>
			<xs:element name="partyInCustody" type="yesNoT"/>
			<xs:element name="demographics" type="demographicsT"/>
			<xs:element name="partyIdNumbers" type="partyIdNumbersT"/>
			<xs:element name="alias" type="daAliasT" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attribute name="caseNumber" type="string12T" use="required"/>
		<xs:attribute name="partyNo" type="xs:string" use="required"/>
	</xs:complexType>
	<xs:complexType name="daAliasT">
		<xs:sequence>
			<xs:element name="aliasCode" type="aliasCodeT"/>
			<xs:element name="lastName" type="lastNameT"/>
			<xs:element name="firstName" type="firstNameT" minOccurs="0"/>
			<xs:element name="middleName" type="middleNameT" minOccurs="0"/>
			<xs:element name="nameSuffix" type="nameSuffixT" minOccurs="0"/>
		</xs:sequence>
		<xs:attribute name="caseNumber" type="string12T" use="required"/>
		<xs:attribute name="partyNo" type="partyNoT" use="required"/>
		<xs:attribute name="aliasNo" type="seqNoT" use="required"/>
	</xs:complexType>
	<xs:complexType name="citationT">
		<xs:sequence>
			<xs:element name="citationCode" type="oneAlphaT" minOccurs="0"/>
			<xs:element name="appearanceDate" type="daDateT"/>
			<xs:element name="appearanceTime" type="timeT"/>
			<xs:element name="mandatoryAppear" type="yesNoT"/>
			<xs:element name="depositType" type="oneAlphaT"/>
			<xs:element name="depositAmount" type="moneyT"/>
			<xs:element name="fineForfAmt" type="moneyT" minOccurs="0"/>
			<xs:element name="operLicNo" type="licenseNoT" minOccurs="0"/>
			<xs:element name="operLicState" type="stateCodeT" minOccurs="0"/>
			<xs:element name="operLicExpYear" type="xs:string" minOccurs="0"/>
			<xs:element name="vehicleIdNo" type="xs:string" minOccurs="0"/>
			<xs:element name="vehLicState" type="stateCodeT" minOccurs="0"/>
			<xs:element name="vehLicYear" type="xs:string" minOccurs="0"/>
			<xs:element name="officerId" type="xs:string" minOccurs="0"/>
			<xs:element name="officerName" type="xs:string" minOccurs="0"/>
			<xs:element name="mphOver" type="xs:string" minOccurs="0"/>
			<xs:element name="vin" type="xs:string" minOccurs="0"/>
			<xs:element ref="DOT_OFFICER_CITATION" minOccurs="0"/>
		</xs:sequence>
		<xs:attribute name="caseNumber" type="string12T" use="required"/>
		<xs:attribute name="chargeSeqNo" type="seqNoT" use="required"/>
		<xs:attribute name="citnNo" type="citnNoT" use="required"/>
	</xs:complexType>
	<xs:complexType name="chargeT">
		<xs:sequence>
			<xs:element name="chargeNumber" type="xs:positiveInteger"/>
			<xs:element name="chargeId" type="xs:string" minOccurs="0"/>
			<xs:element name="ordStatFlag" type="oneAlphaT"/>
			<xs:element name="offenseDate" type="daDateT" minOccurs="0"/>
			<xs:element name="offenseDateRange" type="xs:string" minOccurs="0"/>
			<xs:element name="arrestDate" type="daDateT" minOccurs="0"/>
			<xs:element name="arrestTrackingNo" type="xs:string" minOccurs="0"/>
			<xs:element name="arrestCaseNumber" type="xs:string" minOccurs="0"/>
			<xs:element name="issuingAgencyNo" type="xs:string" minOccurs="0"/>
			<xs:element name="issuingAgency" type="xs:string" minOccurs="0"/>
			<xs:element name="bookingOri" type="xs:string" minOccurs="0"/>
			<xs:element name="bookCaseNumber" type="xs:string" minOccurs="0"/>
			<xs:element name="plntfAgencyNo" type="xs:string" minOccurs="0"/>
			<xs:element name="statuteCite" type="statuteCiteT"/>
			<xs:element name="description" type="string100T"/>
			<xs:element name="severityClsCode" type="twoAlphaT" minOccurs="0"/>
			<xs:element name="statuteSevSeqNo" type="xs:string" minOccurs="0"/>
			<xs:element name="modifier" type="modifierT" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="citation" type="citationT" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attribute name="caseNumber" type="string12T" use="required"/>
		<xs:attribute name="chargeSeqNo" type="seqNoT" use="required"/>
	</xs:complexType>
	<xs:complexType name="attachmentT">
		<xs:sequence>
			<xs:element name="attachmentDescription" type="xs:string" minOccurs="1" maxOccurs="1"/>
			<xs:element name="contentType" type="xs:string" minOccurs="1" maxOccurs="1"/>
			<xs:element name="confidential" type="yesNoT" minOccurs="1" maxOccurs="1"/>
			<xs:element name="tempSeal" type="yesNoT" minOccurs="1" maxOccurs="1"/>
			<xs:element name="docSize" type="daDocSizeT" minOccurs="1" maxOccurs="1"/>
			<xs:element name="data" type="xs:string" minOccurs="1" maxOccurs="1"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="attachments">
    <xs:complexType>
		<xs:sequence minOccurs="0" maxOccurs="unbounded">
			<xs:element name="attachment" type="attachmentT"/>
		</xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>
