<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
    targetNamespace="http://www.nycourts.gov/xml/ucms/criminaldockets"
    xmlns="http://www.nycourts.gov/xml/ucms/criminaldockets" vc:minVersion="1.1"
    xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning">
    <xs:simpleType name="String32Max">
        <xs:annotation>
            <xs:documentation>This is a string that cannot exceed 32 characters in length.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:minLength value="0"/>
            <xs:maxLength value="32"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="String64Max">
        <xs:annotation>
            <xs:documentation>This is a string that cannot exceed 64 characters in
                length.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:minLength value="0"/>
            <xs:maxLength value="64"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType final="restriction" name="String255Max">
        <xs:annotation>
            <xs:documentation>This is a string that cannot exceed 255 characters in
                length.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:maxLength value="255"/>
            <xs:minLength value="0"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="String500Max">
        <xs:annotation>
            <xs:documentation>This is a string that cannot exceed 500 characters in
                length.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string"/>
    </xs:simpleType>
    <xs:simpleType name="String1024Max">
        <xs:annotation>
            <xs:documentation>This is a string that cannot exceed 1024 characters in
                length.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:minLength value="0"/>
            <xs:maxLength value="1024"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="String4000Max">
        <xs:annotation>
            <xs:documentation>This is a string that cannot exceed 4000 characters in
                length.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:minLength value="0"/>
            <xs:maxLength value="4000"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="String8000Max">
        <xs:annotation>
            <xs:documentation>This is a string that cannot exceed 8000 characters in
                length.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:minLength value="0"/>
            <xs:maxLength value="8000"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="MonetaryType">
        <xs:annotation>
            <xs:documentation>This represents a monetary amount which supports two decimal digits.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:decimal">
            <xs:fractionDigits value="2"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="TreatmentMandateCondition">
        <xs:annotation>
            <xs:documentation>This represents a treatment condition imposed on sentence items and some other items.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="TreatmentProgramType" type="String255Max">
                <xs:annotation>
                    <xs:documentation>This is the type of treatment program mandated for the condition. This comes from the TreatmentProgramTypes dictionary.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MandateDuration" type="xs:nonNegativeInteger" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>This is the length of time the treatment must occur.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MandateDurationUnit" type="String255Max" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>This is the unit used for the treatment duration, such as years, months, days, and hours. This comes from the DurationUnits dictionary.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsEvaluated" type="xs:boolean"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="WeekendWorkProgramCondition">
        <xs:sequence>
            <xs:element name="WeekendWorkDuration" type="xs:nonNegativeInteger">
                <xs:annotation>
                    <xs:documentation>This is the period of time the weekend work program will be in effect.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="WeekendWorkDurationUnit" type="String255Max">
                <xs:annotation>
                    <xs:documentation>This is the unit used for the weekend work program duration, such as years, months, days, and hours. This comes from the DurationUnits dictionary.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element minOccurs="0" name="ReportToAgencyName" type="String255Max">
                <xs:annotation>
                    <xs:documentation>This is the name of the agency the work must be reported to, if any.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element minOccurs="0" name="StartDate" type="xs:date">
                <xs:annotation>
                    <xs:documentation>This is the date the weekend work program begins.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element minOccurs="0" name="EndDate" type="xs:date">
                <xs:annotation>
                    <xs:documentation>This is the date the weekend work program ends.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Restitution">
        <xs:annotation>
            <xs:documentation>This represents a restitution condition imposed on sentence items and some other items.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Amount" type="MonetaryType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>This is the amount due for restitution.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element minOccurs="0" name="DueDate" type="xs:date">
                <xs:annotation>
                    <xs:documentation>This is the date the restitution amount should be paid by.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="WasPaidPriorToBeingSent" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, this indicates that the restitution amount was paid prior to sentencing.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="WasOrderAttached" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, indicates there was a separate restitution order provided to the court.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element minOccurs="0" name="Comments" type="String255Max">
                <xs:annotation>
                    <xs:documentation>This has comments (if any) entered by the court staff about this restitution.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="IIDCondition">
        <xs:annotation>
            <xs:documentation>This represents an (ignition interlock device) IID condition imposed on sentence items and some other items.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IIDConditionDurationYears" type="xs:nonNegativeInteger" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>This is the number of years the IID must be installed.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IIDConditionDurationMonths" type="xs:nonNegativeInteger" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>This is the number of months the IID must be installed.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IIDConditionDurationDays" type="xs:nonNegativeInteger" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>This is the number of days the IID must be installed.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsNotOrdered" type="xs:boolean"/>
            <xs:element minOccurs="0" name="PaymentPlanComment" type="String255Max"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CommunityServiceCondition">
        <xs:annotation>
            <xs:documentation>This represents a community service condition imposed on  sentence items and some other items.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="CommunityServiceDuration" type="xs:nonNegativeInteger">
                <xs:annotation>
                    <xs:documentation>This is the period of time the community service must be served.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CommunityServiceDurationUnit" type="String255Max">
                <xs:annotation>
                    <xs:documentation>This is the unit used for the community service duration, such as years, months, days, and hours. This comes from the DurationUnits dictionary.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CompleteByDate" type="xs:date" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>This is the date the community service must be completed by.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReportToAgencyName" type="String255Max" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>This is the name of the agency that the defendant must report 
to.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Address">
        <xs:annotation>
            <xs:documentation>This represents a physical address of an entity such as a residence or
                organization.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="AddressType" type="String255Max" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>This indicates the type of address, such as "work", "home", etc ... This comes from the list of possible values in the AddressTypes dictionary.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Street1" type="String255Max" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>This is the street1 portion of the address.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element minOccurs="0" name="Street2" type="String255Max">
                <xs:annotation>
                    <xs:documentation>This is the street2 portion of the address, if
                        any.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="City" type="String255Max" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>This is the city portion of the address.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="State" type="String255Max" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>This is the state portion of the address. This comes from the list of possible values in the USStates dictionary.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element minOccurs="0" name="ZipPostalCode" type="String64Max">
                <xs:annotation>
                    <xs:documentation>This is the zip or postal code portion of the address, if
                        available.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nation" type="String255Max" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>This is the nation for the address. This comes from the list of possible values in the Nations dictionary.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsConfidential" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Indicates whether or not the address should be treated as confidential.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element minOccurs="0" name="Room" type="String64Max"/>
            <xs:element minOccurs="0" name="Floor" type="String64Max"/>
            <xs:element minOccurs="0" name="Apartment" type="String64Max"/>
            <xs:element minOccurs="0" name="Building" type="String255Max"/>
            <xs:element minOccurs="0" name="MailCareOf" type="String255Max"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="FullName">
        <xs:annotation>
            <xs:documentation>This type is used whenever a person or organization name is needed. Whenever a person's name is needed, the Prefix, First, Middle, Last, and Suffix fields may include the constituent parts of the name, as well as fully formatted names in NameFirstLast and NameLastFirst. Whenever an organization's name is needed, only the OrganizationName element will contain data.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Prefix" type="String255Max" minOccurs="0"/>
            <xs:element name="First" type="String255Max" minOccurs="0"/>
            <xs:element name="Middle" type="String255Max" minOccurs="0"/>
            <xs:element name="Last" type="String255Max" minOccurs="0"/>
            <xs:element name="Suffix" type="String255Max" minOccurs="0"/>
            <xs:element name="NameFirstLast" type="String1024Max" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>This is the person's fully formatted name with the prefix first, for example, "Hon. Isabelle Smith".</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NameLastFirst" type="String1024Max" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>This is the person's fully formatted name with the last name first, for example, "Smith, Hon. Vishnu".</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element minOccurs="0" name="OrganizationName" type="String255Max">
                <xs:annotation>
                    <xs:documentation>This is used whenever the name is for an organization, for example, "Warren and Sons".</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsPerson" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>If true, this name is for a person; otherwise, it is for an organization.  In the case of a CourtReporter, false will indicates that the court reporter was digital.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:element name="CriminalDockets">
        <xs:annotation>
            <xs:documentation>This is the root element for the UCMS Criminal Extract, which contains all of the extract's data.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
            <xs:sequence>
                <xs:element maxOccurs="unbounded" name="District" minOccurs="0">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element name="County" maxOccurs="unbounded" minOccurs="1">
                                <xs:annotation>
                                    <xs:documentation>This is the list of all counties included in the extract. Each county may contain a local or superior criminal court.</xs:documentation>
                                </xs:annotation>
                                <xs:complexType>
                                    <xs:sequence>
                                        <xs:element name="Court" maxOccurs="unbounded" minOccurs="0">
                                            <xs:annotation>
                                                <xs:documentation>This represents a specific local or superior criminal court.</xs:documentation>
                                            </xs:annotation>
                                            <xs:complexType>
                                                <xs:sequence>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="Docket">
                                                  <xs:annotation>
                                                  <xs:documentation>This represents a docket in the UCMS Criminal application.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="IsLowerCriminalDocket"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this docket is a lower criminal docket. Otherwise, it's a superior criminal docket.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="SealType" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the type of seal for the docket if it has one, or "Unsealed" if not. This comes from the SealTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="SealDate"
                                                  type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date the docket was last sealed, if the docket is sealed.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="ArraignmentDate"
                                                  type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This records the earliest arraignment date for any charge. There will be no value if no charges have been arraigned.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element maxOccurs="1" minOccurs="0"
                                                  name="JudgeAssignedReference" type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the current judge assigned to the docket, if any.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="1" name="DocketNumber"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>The docket number assigned to the docket. The docket number must be unique in the context of the court. The same docket number may be repeated across different courts. </xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="CaseType" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the type of docket, such as Criminal, Parking, etc ... The value comes from the CaseTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="FiledDate"
                                                  type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date the docket was filed, if known.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="DocketBalance"
                                                  type="MonetaryType">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the total balance to pay. This balance includes all fees/surcharges related to the active/current sentence as well as the Termination of License suspension which is at the charge level.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsWarranted" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If True, this docket has an open warrant.  Please refer to the Warrant element for more detailed information.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element maxOccurs="1" minOccurs="1"
                                                  name="PrimaryParty">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the primary party on the docket. Each docket has one and only one primary party. There can be only one.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="PrimaryPartyName"
                                                  type="FullName">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the name of the party,
                                                                            whether a person or an
                                                                            organization.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="PrimaryPartyAKAName" type="FullName">
                                                  <xs:annotation>
                                                  <xs:documentation>The party may have one or more aliases or "also known as" names.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="DateOfBirth"
                                                  type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date the person entered this world.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="Gender"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the gender of the primary party. This comes from the list of possible values in the Genders dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="Ethnicity"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the ethnicity of the primary party. This comes from the list of possible values in the Ethnicities dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="PrimaryLanguage"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>The primary language of the party, if other than English and if known. This comes from the list of possible values in the Languages dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="NYSID"
                                                  type="String255Max"/>
                                                  <xs:element minOccurs="0" name="InmateNumber"
                                                  type="String255Max"/>
                                                  <xs:element minOccurs="0"
                                                  name="PrimaryPartyDriversLicense">
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element minOccurs="0"
                                                  name="DriversLicenseNumber" type="String255Max"/>
                                                  <xs:element minOccurs="0"
                                                  name="DriversLicenseState" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the state of origin for the driver's license. This comes from the list of possible values in the USStates dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="Nation" type="String255Max"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the nation of origin for the driver's license. This comes from the list of possible values in the Nations dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="PrimaryPartyLicensePlate">
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="LicensePlateNumber"
                                                  type="String255Max" minOccurs="0"/>
                                                  <xs:element minOccurs="0" name="LicensePlateState"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the state of origin for the license plate. This comes from the list of possible values in the USStates dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element maxOccurs="1" minOccurs="0"
                                                  name="PrimaryPartyAddress" type="Address">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the primary address of the primary party.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="Race"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the race of the primary party. This comes from the list of possible values in the Races dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="EyeColor"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the eye color of the primary party. This comes from the list of possible values in the EyeColors dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="HairColor"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the hair color of the party. This comes from the list of possible values in the HairColors dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="Weight"
                                                  type="String64Max"/>
                                                  <xs:element minOccurs="0" name="Height"
                                                  type="String64Max"/>
                                                  </xs:sequence>
                                                  <xs:attribute form="unqualified"
                                                  name="PrimaryPartyID" type="String32Max"
                                                  use="required">
                                                  <xs:annotation>
                                                  <xs:documentation>This identifier uniquely identifies each primary party, allowing a specific one to be referenced by the identifier. This identifier is permanent, which means that the same party retains the same identifier each time it appears in an extract. This identifier is of the form "PrimaryParty-Sequence". It should be noted that: 
o PrimaryParty is literally "PrimaryParty". 
o Sequence is a 12 digit number that starts with 1 and is incremented by 1. The number is 0 padded which means that any digits that are unused are 0 digits, such as "000000000013". An example identifier is "PrimaryParty-000000000013".</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:attribute>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element name="SuperiorCourtCaseNumber"
                                                  type="String32Max" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the superior court case number, in the format of SEQUENCE-YEAR. All superior criminal dockets are part of a case. No lower criminal dockets are part of a case.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="DocketLegacyNumber">
                                                  <xs:annotation>
                                                  <xs:documentation>This contains any legacy that have been assigned to a docket. A docket might have multiple legacy docket numbers.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="LegacyNumber"
                                                  type="String255Max"/>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="DACaseNumber"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the case number assigned by a district attorney to a docket (or case) within a superior court. This number is not required to be unique per docket, and depending on the district, can be issued on a per docket or per superior court case basis.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="IndexNumber"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the number assigned by the county clerk when a case is filed with them. Operationally this can either happen at filing or at disposition. There is no regular statewide format for this identifier, and each county may have its own.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsDirectPresentation"
                                                  type="xs:boolean" minOccurs="1">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this case was directly presented to a grand jury, which means that it did not originate from another docket, but originated directly from the grand jury.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="DomesticViolenceIndicator"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If True, this docket was arraigned as a domestic violence (DV) case.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="DeskAppearanceTicketIndicator"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If True, this docket has a desk appearance ticket (DAT).</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="DomesticIncidentReportIndicator"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If True, the arrest for this docket has a domestic incident report (DIR) filed.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="CRIMSIdentifiers">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the identifiers information from the previous system.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="CountyCode" type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the standardized code assigned to each of the 62 counties.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="CRIMSId" type="xs:decimal">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the ID from the previous system. It is unique within county.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="DSeq" type="xs:decimal">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the docket sequence number from the previous system.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element name="SourceSystem" type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This indicates from which source system the docket comes from such as UCMS, SAMS or TV (Town and Village). </xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="HighestUCMSDispoOutcomeDate" type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>When the docket comes from the UCMS source system, this is the highest weighted disposition date on the docket.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="HighestUCMSDispoOutcome" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>When the docket comes from the UCMS source system, this is the highest weighted disposition on the docket.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="Codefendant">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a codefendant on the docket.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="CodefendantName" type="FullName">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the name of the party,
                                                                            whether a person or an
                                                                            organization.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="CodefendantDocketNumber"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the formatted docket number for the codefendant.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="PrimaryPartyReference"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the primary party ID of the codefendant. </xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="Attorney">
                                                  <xs:annotation>
                                                  <xs:documentation>This represents an attorney for a party in UCMS.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element maxOccurs="1" name="AttorneyName"
                                                  type="FullName" form="qualified">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the name of the Attorney, whether a person or organization.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element maxOccurs="1" name="AttorneyAddress"
                                                  type="Address">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the primary address for the attorney on the case.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="MainPhone"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the business phone number information.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="Representation"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the type of representation that the attorney is providing on the docket (also known as attorney_type). This comes from the list of possible values in the Representations dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="1"
                                                  name="AssignmentStartDate" type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date the attorney started representation.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="AssignmentEndDate"
                                                  type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date the attorney ended representation for the docket. Attorneys still active on a docket will not have an end date.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="AttorneyRegistrationNumber"
                                                  type="String64Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the New York State registration number for the attorney, if known.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="Email"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the most recent email address information.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  <xs:attribute form="unqualified" name="AttorneyID"
                                                  type="String32Max" use="required">
                                                  <xs:annotation>
                                                  <xs:documentation>This identifier uniquely identifies each attorney, allowing a specific one to be referenced by the identifier. This identifier is permanent, which means that the same attorney retains the same identifier each time it appears in an extract. This identifier is of the form "Attorney-Sequence". It should be noted that: 
o Attorney is literally "Attorney". 
o Sequence is a 12 digit number that starts with 1 and is incremented by 1. The number is 0 padded which means that any digits that are unused are 0 digits, such as "000000000013". An example identifier is "Attorney-000000000013".</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:attribute>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="Appearance">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a docket appearance. All appearances are held by a court.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="CourtName" type="String64Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the name of the court in which the appearance is scheduled.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="1"
                                                  name="AppearanceJudgeReference" type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the judge the appearance was scheduled to.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="AppearancePartReference" type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the part which the appearance is scheduled, if available.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="PartName" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the name of the part in which the appearance is scheduled, if available.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="AppearanceDate" type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date of the
                                                                            appearance.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="AppearanceTime"
                                                  type="xs:time">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the time of the
                                                                            appearance, if given.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="CourtLocationReference" type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the court location for which the appearance is scheduled.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="AppearanceType"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the type of the appearance. This comes from the AppearanceType dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="AppearancePurpose">
                                                  <xs:annotation>
                                                  <xs:documentation>These are the purposes of the appearance. This comes from the AppearancePurpose dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element maxOccurs="1" minOccurs="1"
                                                  name="Purpose" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the purpose of the appearance. </xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="AppearanceScheduledReason">
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="ScheduledReason"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the reason why the appearance was scheduled. This comes from the ScheduledReasons dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="Comments"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This has comments (if any) entered by the court staff about this appearance scheduled reason.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="RescheduledFromAppearanceReference"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the appearance from which this appearance was created.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="AdjournedFromAppearanceReference"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the appearance from which this appearance was created because it was adjourned.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="CalendarNumber"
                                                  type="xs:integer">
                                                  <xs:annotation>
                                                  <xs:documentation>The calendar number associated with the appearance, if any.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element maxOccurs="1" minOccurs="0"
                                                  name="CourtReporter">
                                                  <xs:annotation>
                                                  <xs:documentation>This element contains information about the court reporter, if any, assigned to the appearance.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="NameLastFirst"
                                                  type="String1024Max" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the person's fully formatted name with the last name first, for example, "Smith, Hon. Vishnu".</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsPerson" type="xs:boolean"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this name is for a person; otherwise, it is for an organization.  In the case of a CourtReporter, false will indicates that the court reporter was digital.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="MotionFiledReference" type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the motion filed for the appearance, if this appearance is for a motion. Not all appearances are for motions.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="IsVirtual"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>This indicates if the appearance is scheduled to happen virtually.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="VirtualLoginType"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>If the appearance is scheduled to happen virtually, this will indicate the type of login that will be used. This comes from the VirtualLoginType dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="AppearanceOutcome">
                                                  <xs:annotation>
                                                  <xs:documentation>These are docket level outcomes that were given at an appearance. There may be none, and there may be more than one for any appearance. </xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element maxOccurs="1" minOccurs="1"
                                                  name="AppearanceOutcomeType" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a docket level outcome that occurred on an appearance. This comes from the OutcomeTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="CriminalTransferInfo"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the outcome is a criminal transfer, this element contains additional information about the transfer.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="TransferToCourtReference"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the court to which the docket was transferred.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="TransferReason"
                                                  type="String4000Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the reason given for the transfer, if any. This is freetext, as opposed to TransferReasonType which comes from a dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="TransferCourtCaseNumber" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the case number of the case in the court the docket was transferred to, if given.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="TransferReasonType" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the reason why the docket was transferred, if given. This comes from the TransferReasons dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element name="SexOffenderRiskLevelType"
                                                  type="String255Max" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>Indicates the level of sex offender risk - Level 1(Low Risk), Level 2 (Moderate Risk, Level 3 (High Rish) or Unknown. This comes from the SexOffenderRiskLevelTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  <xs:attribute form="unqualified"
                                                  name="AppearanceID" type="String32Max"
                                                  use="required">
                                                  <xs:annotation>
                                                  <xs:documentation>This identifier uniquely identifies each appearance, allowing a specific one to be referenced by the identifier. This identifier is permanent, which means that the same appearance retains the same identifier each time it appears in an extract. This identifier is of the form "Appearance-Sequence". It should be noted that: 
o Appearance is literally "Appearance". 
o Sequence is a 12 digit number that starts with 1 and is incremented by 1. The number is 0 padded which means that any digits that are unused are 0 digits, such as "000000000013". An example identifier is "Appearance-000000000013".</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:attribute>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="Motion">
                                                  <xs:annotation>
                                                  <xs:documentation>This contains all relevant information about motions on a docket.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="MotionType" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the type of the motion, and comes from the MotionTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="MotionNumber"
                                                  type="xs:integer">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the number assigned to the motion.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="FilingDate"
                                                  type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date the motion was
                                                                            filed, if available.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="FilingEntity">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the entity which filed the motion, whether attorney or party.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="FilingEntityName"
                                                  type="FullName">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the full name of the filing party.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="FilingEntityRoleType"
                                                  type="String255Max" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the role type for the entity who filed the motion, and comes from the RoleTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="DispositionDate"
                                                  type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date the motion was disposed, if disposed.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="Description"
                                                  type="String500Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the description of the motion, if any.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  <xs:attribute form="unqualified" name="MotionID"
                                                  type="String32Max" use="required">
                                                  <xs:annotation>
                                                  <xs:documentation>This identifier uniquely identifies each motion, allowing a specific one to be referenced by the identifier. This identifier is permanent, which means that the same motion retains the same identifier each time it appears in an extract. This identifier is of the form "Motion-Sequence". It should be noted that: 
o Motion is literally "Motion". 
o Sequence is a 12 digit number that starts with 1 and is incremented by 1. The number is 0 padded which means that any digits that are unused are 0 digits, such as "000000000013". An example identifier is "Motion-000000000013".</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:attribute>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="Charge">
                                                  <xs:annotation>
                                                  <xs:documentation>This contains all relevant information about a charge on the docket.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="ChargeCodeId" type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>An ID that links to a specific charge in UCS’s systems. Please note that these charges may be hand entered by the courts or may be local charges, so some chargecodeIDs may link to only one charge on one docket out of the universe of dockets maintained by OCA. If looking to match to statewide charges, please use the LawOrdinal.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="LawOrdinal" type="xs:decimal"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>An identifier that is unique to a particular charge on DCJS's Coded Laws File.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element maxOccurs="1"
                                                  name="FormattedChargeCode" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a technical description of the charge which includes the law title, article, section, subsection, and weight. This is a concatenation of the law title, article section, subsection, weight and description of the charge.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="LawTitle" type="String255Max"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the classification of the charge.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="ArticleSection"
                                                  type="String255Max" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the section of law for the charge code.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="SubSection" type="String255Max"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the subsection of the law for this charge code.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="Weight" type="String255Max"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the classification of the charge into felony, misdemeanor, along with severity.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="Degree" minOccurs="0"
                                                  nillable="false" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>For some charges, the degree identifies the level of intent of the crime. For example, first degree murder requires proof of pre-meditation while second degree murder does not. Some charges do not have a degree.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="WeightSeverityType"
                                                  type="String32Max" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This identifies the severity of the charge such as felony, misdemeanor, violation, and infraction. This comes from the WeightSeverityTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="Category"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This identifies the category of the charge, such as Drug, Marijuana, Weapon, etc ... Not all charges have categories.
</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="Description" type="String255Max"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a human readable description of the charge, such as "Vio Liq Sale Consump Off Prems" for example.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="NumberOfCounts"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the number of counts for this charge (the number of times the charge is attributed to the defendant).</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="StartingIndex"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This indicates the order the charge appears in the docket. The court decides the exact ordering of the charges. The first index number is 1. This element is used in conjunction with the NumberOfCounts field to determine how many charges are in the sequence. For example, if a charge has a starting index of 1, and a NumberOfCounts of 3, then the next charge's starting index would be 4 to make room for all of the counts for the first charge.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsArrestTopCharge"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this charge is considered the top charge at the time the defendant was arrested.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsArraignmentTopCharge"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this charge is considered the top charge at the time the docket was first arraigned.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsDispositionTopCharge"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this charge is considered the top charge at the time the docket was disposed.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsCurrentTopCharge"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this charge is considered the top charge as of today.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsConvictionTopCharge"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this charge is considered the top charge at the time the defendant was convicted.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsAttemptedCharge"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>This indicates whether the crime was attempted or actually carried out. Some charges have an attempted variation, such as attempted murder, where the murder did not actually occur but the defendant intended to murder. Not all charges have an attempted variation.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="CJTN"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the defendant's criminal justice tracking number on this charge. This is generated from fingerprinting.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="ArrestNumber"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the arresting agency's identifier for the arrest associated with this charge.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="ArrestDate"
                                                  type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date the arrest occurred for this charge.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="ArrestTime"
                                                  type="xs:time">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the time the arrest occurred for this charge, if known.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="SealType" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the type of seal for the charge if it has one. This comes from the SealTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="SealDate"
                                                  type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date the charge was sealed, if any.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="ArrestChargeIndicator"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, then this charge came in with the arrest. Otherwise, the charge was added after the arrest.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="TicketNumber"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is ticket number, typically associated with a violation of vehicle and traffic law. The court may also enter the summons number in this field, if applicable.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="ComplaintNumber"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This contains the complaint number if entered by the court. A complaint number may be on the arrest paperwork in addition to a ticket number or arrest number. The court may also enter the summons number in this field, if applicable.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="IncidentDate"
                                                  type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date in which the criminal offense occurred, if known.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="IncidentEndDate"
                                                  type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the end date when a range of incident dates is captured. If the defendant committed crimes over a period of time, the date range is captured in the IncidentDate and IncidentEndDate fields.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="BAC"
                                                  type="xs:decimal">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the measured blood alcohol concentration.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="ArrestingAgency"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the agency that arrested the defendant, if available.  This come from the ArrestingAgencies dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element maxOccurs="1" name="ArrestingOfficer"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the arresting officer.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="ArrestingOfficerName"
                                                  type="FullName">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the full name of the arresting officer.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="ShieldNumber"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>The shield number of the officer, if known.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="Command"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>The command of the arresting officer, if known.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="ArrestCommandPrecinct" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the precinct of the arresting agency, if available.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="WeaponType" minOccurs="0"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the type of weapon used to commit the crime, if a weapon was used and the type is known.  This come from the WeaponTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="DrugType" minOccurs="0"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>If the charge is drug related, this is the type of drug associated with the charge.  This come from the DrugTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="ForcedFlag" type="xs:boolean"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this charge is not part of the statewide dictionary of charges.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="EffectiveStartDate"
                                                  type="xs:date" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date the charge was either added, or was considered to be added nunc-pro tunc. In rare cases, a judge may order that a charge take effect on an earlier date, which is the meaning of nunc-pro tunc.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="Sentence">
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="SentenceItem"
                                                  maxOccurs="unbounded">
                                                  <xs:annotation>
                                                  <xs:documentation>This is one aspect of an overall sentence. Each sentence will have one or more sentence items. For example, a sentence could have two sentence items -- a fine and imprisonment. In such a case, there would be two sentence items.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="SentenceItemHighlight"
                                                  type="String4000Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a human readable summary of the sentence item.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="SentenceItemType"
                                                  type="xs:string">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the type of sentence item on a sentence, such as "Fine", "Fee", "Imprisonment", etc ... This comes from the SentenceItemTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="1"
                                                  name="SentenceItemAdditionalInfo">
                                                  <xs:annotation>
                                                  <xs:documentation>Certain sentence items have additional information associated with them. Only one of these items apply to any one sentence item.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:choice>
                                                  <xs:element name="ConditionalDischarge"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the sentence item is a conditional discharge, this element contains additional conditional discharge details.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="DischargeDuration"
                                                  type="xs:nonNegativeInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the period of time the conditional discharge will be in effect.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="DischargeDurationUnit"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the unit used for the conditional discharge duration, such as years, months, days, and hours. This comes from the DurationUnits dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="DischargeComments"
                                                  type="String1024Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is any comments entered by the court staff about this conditional discharge.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="DischargeCondition">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a condition imposed on the conditional discharge.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="DischargeConditionType"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the type of conditional discharge, and this comes from the DischargeConditionTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="DischargeConditionDetails"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>Some discharge conditions have additional information associated with them.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:choice maxOccurs="unbounded">
                                                  <xs:element
                                                  name="CommunityServiceConditionForDischarge"
                                                  type="CommunityServiceCondition" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the condition is for community service, this element stores additional community service details.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IIDConditionForDischarge"
                                                  type="IIDCondition" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the condition is for IID, this element stores additional IID details.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element
                                                  name="RestitutionConditionForDischarge"
                                                  type="Restitution" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the condition is for restitution, this element stores additional restitution details.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element
                                                  name="TreatmentMandateConditionForDischarge"
                                                  type="TreatmentMandateCondition" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the condition is for a treatment mandate, this element stores additional treatment mandate details.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element
                                                  name="WeekendWorkProgramConditionForDischarge"
                                                  type="WeekendWorkProgramCondition" minOccurs="0"/>
                                                  </xs:choice>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element name="FeeOverview" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the sentence item is for a fee, this element contains additional fee related information.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element minOccurs="0" name="DueDate"
                                                  type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date the fee must be paid by, if applicable.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="JailDays"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This field is used when a defendant does not pay the fee, then they are to be incarcerated for this number of days (and the fee is still due).</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsOtherAgencyToCollect"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, an agency is to collect the fee, instead of the court.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="Fee">
                                                  <xs:annotation>
                                                  <xs:documentation>Each docket can actually have one or more fees of different types.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="FeeAmount" type="MonetaryType">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the amount that needs to be paid for the fee.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="FeeType" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the type of fee, which comes from the SurchargeFeeTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element name="Fine" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the sentence item is for a fine, this element contains additional fine related information.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="Amount" type="MonetaryType">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the amount due for the fine.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="DueDate"
                                                  type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date the fine must be paid by, if applicable.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="JailDays"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This field is used when a defendant does not pay the fine, then they are to be incarcerated for this number of days (and the fine is still due).</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsOtherAgencyToCollect"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, an agency is to collect the fine, instead of the court.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element name="Imprisonment" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the sentence item is imprisonment, this element contains additional imprisonment details.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="ImprisonmentDetail">
                                                  <xs:annotation>
                                                  <xs:documentation>There are three types of imprisonment -- a fixed period, a range, or intermittent. This element contains additional details about each.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:choice>
                                                  <xs:annotation>
                                                  <xs:documentation>There can be only one of these types for an imprisonment.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:element name="FixedPeriod" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is where the sentence occurs for a fixed amount of time.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="IsTimeServed" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>Indicates whether or not time served is applied to the imprisonment.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsForLife" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>Indicates whether or not the imprisonment is for life.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="Years"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>The number of years of this sentence, which may be combined with other durations, such as 3 years and 5 months.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="Months"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>The number of months of this sentence, which may be combined with other durations, such as 3 years and 5 months.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="Weeks"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>The number of weeks of this sentence, which may be combined with other durations, such as 6 months and 2 weeks.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="Days"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>The number of days of this sentence, which may be combined with other durations, such as 4 weeks and 3 days.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element name="Intermittent" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is where the time being served consists of periods of incarceration and periods of release, for example, 10 weekends where the defendant reports Friday nights and goes home Sunday nights.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element minOccurs="0" name="Years"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the length of time in years during which the sentence will be served intermittently. This may be combined with the month, week, and day durations.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="Months"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the length of time in months during which the sentence will be served intermittently. This may be combined with the year, week, and day durations.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="Weeks"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the length of time in weeks during which the sentence will be served intermittently. This may be combined with the year, month, and day durations.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="Days"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the length of time in days during which the sentence will be served intermittently. This may be combined with the years, month, and week durations.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="StartDayOfWeek"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the day of the week that the person must show up to prison each week.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="EndDayOfWeek"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the day of the week when the person will leave prison each week.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="StartTime"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the time of the day that the person must show up to prison by each week. This is a freetext field in the UCMS application.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="EndTime"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the time of the day that the person will be released from prison by each week. This is a freetext field in the UCMS application.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="EndDateTime"
                                                  type="xs:dateTime">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the last date and time that the person must continue showing up to prison, and is used in sentences where the judge states that the defendant must show up until a certain date and time.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsStartEndDayUnknown"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this indicates the starting and ending days when the defendant must report to prison are not known.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element name="Indeterminate" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is an imprisonment sentence where the time being served is a range of time frames that has a minimum period of one year or more and a max term (i.e. 3 years - 5 years). After the minimum period then the defendant is eligible for parole.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element minOccurs="0" name="MinimumYears"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the minimum number of years of the sentence. This may be combined with month, week, and day minimums.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="MinimumMonths"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the minimum number of months of the sentence. This may be combined with year, week, and day minimums.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="MinimumWeeks"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the minimum number of weeks of the sentence. This may be combined with year, onth, and day minimums.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="MinimumDays"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the minimum number of days of the sentence. This may be combined with year, month, and week minimums.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="MaximumYears"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the maximum number of years of the sentence. This may be combined with month, week, and day maximums.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="MaximumMonths"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the maximum number of months of the sentence. This may be combined with year, week, and day maximums.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="MaximumWeeks"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the maximum number of weeks of the sentence. This may be combined with year, onth, and day maximums.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="MaximumDays"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the maximum number of days of the sentence. This may be combined with year, month, and week maximums.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsMaxForLife" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, the maximum time the sentence must be served is life.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:choice>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element name="IsConcurrent" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, the sentence item is served concurrently. </xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsConsecutive" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, the sentence item is served consecutively. </xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="ConcurrentWithCharges" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a freetext field where court staff may record any information about concurrent charges and imprisonment. This indicates that this sentence should run concurrently with the imprisonment sentence on the listed charge.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="ConcurrentWithDocket" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a freetext field where court staff may record any information about concurrent dockets and imprisonment. This indicates that this sentence should run concurrently with the imprisonment sentence on the listed docket or indictment.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="ConsecutiveWithCharges" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a freetext field where court staff may record any information about consecutive charges and imprisonment. This indicates that this sentence should run consecutively (e.g. one after the other) with the imprisonment sentence on the listed charge.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="ConsecutiveWithDocket" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a freetext field where court staff may record any information about consecutive dockets and imprisonment. This indicates that this sentence should run consecutively (e.g. one after the other) with the imprisonment sentence on the listed docket or indicment.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element maxOccurs="1" minOccurs="1"
                                                  name="HasOrderOfProtectionCondition"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this imprisonment sentence item has an OP associated with it.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="CalculatedMinImprisonmentDays"
                                                  type="xs:positiveInteger" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a calculated field to conveniently summarize the sentence item's minimum imprisonment details for informational purposes only. The value in this field is an approximation. The official details are found under the ImprisonmentDetail element. This number indicates the number of days the primary party needs to spend in jail. If the sentence is indeterminate, this amount will represent the minimum number of days in jail.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="CalculatedMaxImprisonmentDays"
                                                  type="xs:positiveInteger" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a calculated field to conveniently summarize the sentence item's maximum imprisonment details for informational purposes only. The value in this field is an approximation. The official details are found under the ImprisonmentDetail element. This number indicates the number of days the primary party needs to spend in jail.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="PostReleaseSupervisionDays"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the number of days that the defendant must be on parole after they are released from prison.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="PostReleaseSupervisionWeeks"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the number of weeks that the defendant must be on parole after they are released from prison.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="PostReleaseSupervisionMonths"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the number of months that the defendant must be on parole after they are released from prison.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="PostReleaseSupervisionYears"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the number of years that the defendant must be on parole after they are released from prison.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="ConcurConsecDocket">
                                                  <xs:annotation>
                                                  <xs:documentation>This contains information about dockets that have sentences concurrent or consecutive with the instant docket.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="ConcurConsecWithDocketReference"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the docket running concurrently or consecutively with this sentence item.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsConcurrent" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, the sentence item is served concurrently. </xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsConsecutive" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, the sentence item is served consecutively. </xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="CourtReference"
                                                  type="String32Max" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the court in which the other docket was sentenced.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="CaseNumber"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>The imprisonment sentence linked in this table should run consecutive or concurrent with the imprisonment sentence on this case number. This should be used if the case is a legacy docket or from a non-UCMS court.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsCourtUnknown"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>This is 'True' if the court is unknown for the docket/case linked. If this is 'True' then CourtName will be null. This is 'False' if the court is known for the docket/case linked. If this is 'False' then CourtName will not be null.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="ConcurConsecCharge">
                                                  <xs:annotation>
                                                  <xs:documentation>This contains the reference to the charge that is concurrent or consecutive with the instant charge.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="ConcurConsecWithChargeReference"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the charge running concurrently or consecutively with this sentence item.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsConcurrent" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, the sentence item is served concurrently. </xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsConsecutive" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, the sentence item is served consecutively. </xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element name="LicenseAction" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the container for any license related action such as suspension, revocation, and no action.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="LicenseActionType"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the type of license action, such as suspension, revocation, or no action. This comes from the LicenseActionTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="LicenseActionDuration"
                                                  type="xs:nonNegativeInteger" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the period of time the action against the license will be in effect. </xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="LicenseActionDurationUnit"
                                                  type="String255Max" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the unit used for the license action duration, such as years, months, days, and hours. This comes from the DurationUnits dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsMandatory" type="xs:boolean"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this license action is mandatory; otherwise, it is permissive.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsLicenseSurrendered"
                                                  type="xs:boolean" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, the license must be surrendered.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsPermanent" type="xs:boolean"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, the action on this license is permanent.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="MustObtainCourtPermission"
                                                  type="xs:boolean" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, the defendant must obtain permission from the court in order to re-apply for their license. The defendant can possibly be required to obtain permission from both the court and from probation.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="MustObtainProbationPermission"
                                                  type="xs:boolean" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, the defendant must obtain permission from probation in order to re-apply for their license. The defendant can possibly be required to obtain permission from both the court and from probation.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="Has20DayStay" type="xs:boolean"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this license sentence is stayed for 20 days after the sentence date.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsMotorVehicle1192Signed"
                                                  type="xs:boolean" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, the MV1192 (Order of Suspension or Revocation) has been signed by the defendant.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsMotorVehicle1192Issued"
                                                  type="xs:boolean" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, MV1192 (Order of Suspension or Revocation) has been ordered by the judge as part of this sentence.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="DrunkDriverProgramRequirement"
                                                  type="String255Max" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This indicates the requirement of the defendant to participate in a drunk driver program. If "Mandatory", the defendant must participate. If "Permissive", the judge ordered it but it isn't mandatory. If "Prohibited", the defendant is prohibited from attending a program.  This comes from the DrunkDriverProgramRequirement dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element name="Probation" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the container for probation related conditions.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="ProbationDuration"
                                                  type="xs:nonNegativeInteger" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the period of time the probation will be in effect.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="ProbationDurationUnit"
                                                  type="String255Max" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the unit used for the probation duration, such as years, months, days, and hours. This comes from the DurationUnits dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsForLife" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>Indicates whether or not the probation is for life.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="ProbationCondition">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a condition imposed on the probation sentence.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="ProbationConditionType"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the type of probation condition, and this comes from the ProbationConditionTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="ProbationConditionDetails">
                                                  <xs:annotation>
                                                  <xs:documentation>Some probation conditions have additional information associated with them.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:choice maxOccurs="unbounded">
                                                  <xs:element
                                                  name="CommunityServiceConditionForProbation"
                                                  type="CommunityServiceCondition" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the condition is for community service, this element stores additional community service details.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IIDConditionForProbation"
                                                  type="IIDCondition" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the condition is for IID, this element stores additional IID details.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element
                                                  name="RestitutionConditionForProbation"
                                                  type="Restitution" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the condition is for restitution, this element stores additional restitution details.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element
                                                  name="TreatmentMandateConditionForProbation"
                                                  type="TreatmentMandateCondition" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the condition is for a treatment mandate, this element stores additional treatment mandate details.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element
                                                  name="WeekendWorkProgramConditionForProbation"
                                                  type="WeekendWorkProgramCondition" minOccurs="0"/>
                                                  </xs:choice>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element name="Restitution" type="Restitution"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the container for restitution related conditions.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="Registration" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This element contains information about a registration that is revoked or suspended as part of a sentence.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="IsSuspended" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, the registration is suspended. A registration can either be suspended or revoked, but not both.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsRevoked" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, the registration is revoked. A registration can either be suspended or revoked, but not both.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="RegistrationActionDuration"
                                                  type="xs:nonNegativeInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the period of time the registration suspension or revocation will be in effect.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="RegistrationActionDurationUnit"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the unit used for the registration action duration, such as years, months, days, and hours. This comes from the DurationUnits dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsMandatory" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this registration action is mandatory; otherwise, it is permissive.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="AppliesToAllVehicles"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this suspension or revocation applies to all vehicles.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="PlateNumber"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the plate number of the vehicle for which the revocation or suspension applies, if known.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="VIN"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the vehicle identification number (VIN) of the vehicle for which the revocation or suspension applies, if known.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="TrafficVehicleType" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the type of vehicle to which the revocation or suspension applies, such as Bus, Passenger, Motorcycle, and the like. This comes from the TrafficVehicleTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element name="SurchargeOverview" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This element contains overall information about surcharges on a docket.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="HasNoSurcharge"
                                                  type="xs:boolean" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>All sentences must have a surcharge, but in many situations the surcharge is not applied. If this field is true, it means no surcharge has been applied to the sentence.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="DueDate"
                                                  type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date the fee must be paid by, if applicable.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="JailDays"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This field is used when a defendant does not pay the surcharge, then they are to be incarcerated for this number of days (and the surcharge is still due).</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsOtherAgencyToCollect"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, an agency is to collect the surcharge, instead of the court.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="Surcharge">
                                                  <xs:annotation>
                                                  <xs:documentation>Each docket can have several surcharges with different types.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="SurchargeAmount"
                                                  type="MonetaryType">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the amount that needs to be paid for the surcharge.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="SurchargeType"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the type of surcharge, which comes from the SurchargeFeeTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:choice>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  <xs:attribute form="unqualified"
                                                  name="SentenceItemID" type="String32Max"
                                                  use="required">
                                                  <xs:annotation>
                                                  <xs:documentation>This identifier uniquely identifies each sentence item, allowing a specific one to be referenced by the identifier. This identifier is permanent, which means that the same sentence item retains the same identifier each time it appears in an extract. This identifier is of the form "SentenceItem-Sequence". It should be noted that: 
o SentenceItem is literally "SentenceItem". 
o Sequence is a 12 digit number that starts with 1 and is incremented by 1. The number is 0 padded which means that any digits that are unused are 0 digits, such as "000000000013". An example identifier is "SentenceItem-000000000013".</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:attribute>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="SentenceOutcomeDetails">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a container full of sentence outcome information. Each sentence can have multiple outcomes.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="SentenceOutcome"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the outcome itself, such as Sentence Executed, Sentence Imposed, Sentence Imposed in Absentia, Sentence Execution Stayed, Sentence Terminated, Sentence Vacated, Sentence Advanced. This comes from the SentenceOutcomes dictionary.
</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="EffectiveAppearanceReference"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the appearance on which this outcome takes effect.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="EffectiveDate" type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date the outcome took effect.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="ExecutionStayedDetails">
                                                  <xs:annotation>
                                                  <xs:documentation>If the sentence outcome is "Sentence Execution Stayed", this contains additional info about that outcome.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element minOccurs="0" name="StayedUntilDate"
                                                  type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>If known, the date the outcome is stayed until is given.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="StayedUntilDateUnknown"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, the date the outcome is stayed until is unknown.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="SentenceOutcomeAdvancement">
                                                  <xs:annotation>
                                                  <xs:documentation>If a sentence is amended, or replaced with a resentence, this element contains additional information about such activity.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="IsResentence" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this outcome indicates this sentence is being resentenced.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsAmendment" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this outcome indicates this sentence is being amended by another sentence.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="AdvancedToSentenceReference"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the sentence which either amends or is a resentence of this sentence.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="AdvancingReason"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This indicates the reason why the sentence was advanced. This comes from the AdvancementReasons dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element name="FinesPaid" minOccurs="0"
                                                  type="MonetaryType">
                                                  <xs:annotation>
                                                  <xs:documentation>This stores the total amount of fines paid to date for this charge and sentence.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="SurchargesPaid"
                                                  type="MonetaryType" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This stores the total amount of surcharges paid to date for this charge and sentence.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="DNAFeesPaid" type="MonetaryType"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This stores the total amount of DNA fees paid to date for this charge and sentence.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="CVAFPaid" type="MonetaryType"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This stores the total amount of CVAF paid to date for this charge and sentence.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="SORAFeesPaid"
                                                  type="MonetaryType" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This stores the total amount of SORA fees paid to date for this charge and sentence.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="SSOVFFeesPaid"
                                                  type="MonetaryType" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This stores the total amount of SSOVF fees paid to date for this charge and sentence.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="OtherFeesPaid"
                                                  type="MonetaryType" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This stores the total amount of fees paid to date for this charge and sentence, not already captured in other elements at this level.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsResentence" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this is a resentence.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsVacated" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this sentence has been vacated.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  <xs:attribute form="unqualified" name="SentenceID"
                                                  type="String32Max" use="required">
                                                  <xs:annotation>
                                                  <xs:documentation>This identifier uniquely identifies each sentence, allowing a specific one to be referenced by the identifier. This identifier is permanent, which means that the same sentence retains the same identifier each time it appears in an extract. This identifier is of the form "Sentence-Sequence". It should be noted that: 
o Sentence is literally "Sentence". 
o Sequence is a 12 digit number that starts with 1 and is incremented by 1. The number is 0 padded which means that any digits that are unused are 0 digits, such as "000000000013". An example identifier is "Sentence-000000000013".</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:attribute>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="ChargeOutcomes">
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="ChargeOutcomeType"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the type of charge outcome such as Acquitted, Arraigned, Dismissed, etc ... This comes from the ChargeOutcomeTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="EffectiveAppearanceReference"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the appearance on which this outcome takes effect.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="EffectiveDate" type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date the outcome took effect.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="OutcomeHighlight"
                                                  type="String4000Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a summary of what is taking effect with the outcome.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsDeactivated" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this outcome has been deactivated by another outcome. For example, plea withdrawn deactivates pled guilty. </xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="ACDCondition">
                                                  <xs:annotation>
                                                  <xs:documentation>If the outcome is an ACD, this element contains additional details about any conditions placed on the ACD.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="ACDConditionType"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the type of ACD condition, which comes from the ACDConditionTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element maxOccurs="1" minOccurs="0"
                                                  name="ACDConditionDetails">
                                                  <xs:annotation>
                                                  <xs:documentation>if the condition has additional data associated with it, that data is found here.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:choice>
                                                  <xs:element name="CommunityServiceACDCondition"
                                                  type="CommunityServiceCondition" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the condition is for community service, this element stores additional community service details.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="RestitutionACDCondition"
                                                  type="Restitution" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the condition is for restitution, this element stores additional restitution details.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="TreatmentMandateACDCondition"
                                                  type="TreatmentMandateCondition" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the condition is for a treatment mandate, this element stores additional treatment mandate details.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="WeekendWorkProgramACDCondition"
                                                  type="WeekendWorkProgramCondition" minOccurs="0"/>
                                                  </xs:choice>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="FelonyOffenderStatusType"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the felony offender status assigned to a convicted felon by the judge between conviction and sentencing. This status then affects the sentencing guidelines that are used by the judge. This status may only exist for conviction charge outcomes. The possible values come from the FelonyOffenderStatusTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="DismissalReasonType"
                                                  type="String255Max" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the outcome on the charge is a dismissal, this element contains the reason for this dismissal.  The possible values come from the DismissalReasonTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="ChargeOutcomeAdditionalInfo">
                                                  <xs:annotation>
                                                  <xs:documentation>If there is additional information associated with this type of charge outcome, it will be contained here.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:choice>
                                                  <xs:element name="ChargeOutcomeConsolidatedInto"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the charge outcome is a "consolidated into another docket", additional information is contained within.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element minOccurs="0" name="DocketReference"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>If the docket exists in UCMS in a context where it can be referenced, this will contain the ID of said docket. In some cases, only the docket number may be available.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="CourtReference"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>If the court of the docket this charge was consolidated into is known, this will contain the court's ID. The court is not known in all cases.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="DocketNumber"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>If the docket number of the docket the charge was consolidated into is known, it will be contained here. The docket number is not known in all cases.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element
                                                  name="ChargeOutcomeSupercedingDocketReference"
                                                  type="String32Max" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the charge outcome is a "Superceded By" outcome, this element contains the ID of the docket that supercedes this charge.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="ChargeOutcomeCoveredBy">
                                                  <xs:annotation>
                                                  <xs:documentation>If the charge outcome is "Covered By", additional information is contained within.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:choice>
                                                  <xs:element name="CoveredByCharge" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If one charge covers another charge in the same docket, this element will contain additional information. This is by far the most common type of ChargeOutcomeCoveredBy.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="CoveredByChargeReference"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the charge that covers this charge.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element name="CoveredByUCMSDocket"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If a charge is covered by another docket for the same defendant in UCMS, this element will contain additional information. This is used far less often than CoveredByCharge, but happens often enough.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="CoveredByCourtReference"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the court which contains the covering docket. The covering docket may or may not be in the same court as the charge being covered.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="CoveredByDocketReference"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the docket which covers this charge.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="CoveredByDocketNumber"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the docket number of the covering docket. This is useful if the recepient of the extract does not have access to the covering docket's information.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element name="CoveredByOtherDocket"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If a charge is covered by another docket for the same defendant from another system (not UCMS), this element will contain additional information. This is used far less often than both CoveredByCharge and CoveredByUCMSDocket.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element minOccurs="0"
                                                  name="CoveredByCourtReference" type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the court which contains the covering docket.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="CoveredByCaseNumber"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the case number of the covering case.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:choice>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:choice>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  <xs:attribute form="unqualified"
                                                  name="ChargeOutcomeID" type="String32Max"
                                                  use="required">
                                                  <xs:annotation>
                                                  <xs:documentation>This identifier uniquely identifies each charge outcome, allowing a specific one to be referenced by the identifier. This identifier is permanent, which means that the same charge outcome retains the same identifier each time it appears in an extract. This identifier is of the form "ChargeOutcome-Sequence". It should be noted that: 
o ChargeOutcome is literally "ChargeOutcome". 
o Sequence is a 12 digit number that starts with 1 and is incremented by 1. The number is 0 padded which means that any digits that are unused are 0 digits, such as "000000000013". An example identifier is "ChargeOutcome-000000000013".</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:attribute>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  <xs:attribute form="unqualified" name="ChargeID"
                                                  type="String32Max" use="required">
                                                  <xs:annotation>
                                                  <xs:documentation>This identifier uniquely identifies each charge, allowing a specific one to be referenced by the identifier. This identifier is permanent, which means that the same charge retains the same identifier each time it appears in an extract. This identifier is of the form "Charge-Sequence". It should be noted that: 
o Charge is literally "Charge". 
o Sequence is a 12 digit number that starts with 1 and is incremented by 1. The number is 0 padded which means that any digits that are unused are 0 digits, such as "000000000013". An example identifier is "Charge-000000000013".</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:attribute>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="DocketDisposition">
                                                  <xs:annotation>
                                                  <xs:documentation>If the docket is disposed, this element contains information about the disposition.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="DisposedDate" type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date on which the docket was disposed.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="DisposingJudgeReference"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the judge credited with disposing the docket.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="DocketDispositionReason"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the reason the docket was disposed, such as Pled Guilty, Dismissed, and so forth. This comes from the DocketDispositionReasons dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="DocketDispositionCategory"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This categorizes the reason why the docket was disposed. For example, Pled Guilty and Pled Guilty by Mail are both categorized in the "Guilty Pleas" category. This comes from the DocketDispositionCategories dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element name="Warrant" maxOccurs="unbounded"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This has information about warrants issued for the defendant on the docket. Multiple warrants can be issued on the same docket.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="DateIssued" type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date the warrant was issued.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="ActionDate">
                                                  <xs:annotation>
                                                  <xs:documentation>This indicates the date the warrant was returned, vacated, or executed (if any of these actions occurred). A warrant may only have one of these actions.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:choice>
                                                  <xs:element name="ReturnedDate" type="xs:date"
                                                  minOccurs="0"/>
                                                  <xs:element name="VacatedDate" type="xs:date"
                                                  minOccurs="0"/>
                                                  <xs:element name="ExecutedDate" type="xs:date"
                                                  minOccurs="0"/>
                                                  </xs:choice>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element name="IsArrestWarrant"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this is an arrest warrant.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsBenchWarrant"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this is a bench warrant.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="WarrantReason"
                                                  type="String255Max" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This indicates the reason why the warrant was given, and comes from the WarrantReason dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="ReturnPartReference" type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the part to which this warrant will be returned, if any has been specified.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  <xs:attribute form="unqualified" name="WarrantID"
                                                  type="String32Max" use="required">
                                                  <xs:annotation>
                                                  <xs:documentation>This identifier uniquely identifies each warrant, allowing a specific one to be referenced by the identifier. This identifier is permanent, which means that the same warrant retains the same identifier each time it appears in an extract. This identifier is of the form "Warrant-Sequence". It should be noted that: 
o Warrant is literally "Warrant". 
o Sequence is a 12 digit number that starts with 1 and is incremented by 1. The number is 0 padded which means that any digits that are unused are 0 digits, such as "000000000013". An example identifier is "Warrant-000000000013".</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:attribute>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element name="OrderOfProtection"
                                                  maxOccurs="unbounded" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This contains all relevant information about an order of protection on the docket.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="OrderNumber" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the order number for the order of protection, which is used to distinguish one order of protection from another in a court.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="1" name="IssuedDate"
                                                  type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date the order of protection was issued.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="ExpirationDate"
                                                  type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>If the OP does not expire on warrant return, this field contains the date the OP is due to expire.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="ExpiresOnWarrantReturn"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this order of protection expires on the return of a warrant. If false, the ExpirationDate field will contain the date the OP expires.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="VacateDate"
                                                  type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date the OP was vacated. Not all OPs are vacated.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="FormType" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the type of order of protection, such as Criminal Family Offense, Criminal Non-family Offense, and so on. This comes from the OrderOfProtectionFormTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="TotalNumberOfProtectedParties"
                                                  type="xs:integer">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the total number of parties the OP protects.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="FederalGunProhibitor"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This indicates whether the against party (defendant) is prohibited from purchasing a firearm according to federal restrictions. Values are True, False, and Unknown, which come from the FederalGunProhibitors dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsStateGunProhibited"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>The NY state firearm prohibitor which is calculated based on the presence of any of the Firearm terms and conditions on the Order of Protection. If true, the defendant cannot purchase a gun according to New York State.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsFinal" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, this OP is final which means it's usually issued at disposition of the docket and for a longer term. If false, this OP is temporary and is for a shorter term.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  <xs:attribute form="unqualified"
                                                  name="OrderOfProtectionID" type="String32Max"
                                                  use="required">
                                                  <xs:annotation>
                                                  <xs:documentation>This identifier uniquely identifies each order of protection, allowing a specific one to be referenced by the identifier. This identifier is permanent, which means that the same order of protection retains the same identifier each time it appears in an extract. This identifier is of the form "OrderOfProtection-Sequence". It should be noted that: 
o OrderOfProtection is literally "OrderOfProtection". 
o Sequence is a 12 digit number that starts with 1 and is incremented by 1. The number is 0 padded which means that any digits that are unused are 0 digits, such as "000000000013". An example identifier is "OrderOfProtection-000000000013".</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:attribute>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element name="Bail" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This contains a history of bail activity as well as bail summary information.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element minOccurs="0" name="BailStatus"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the current status of bail on the docket, such as Bail Forfeited, Bail Posted, Bail Set, etc ... If the bail status is not known, then this will have a value of "Bail Status Unknown". This values comes from the BailStatuses dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="BailActivity"
                                                  maxOccurs="unbounded" minOccurs="1">
                                                  <xs:annotation>
                                                  <xs:documentation>Bail activity can consist of many actions, such as Set, Posted, and so on. Each BailAction indicates one action that has occurred on the bail for the docket.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="BailActivityType"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the type of bail action that occurred, and comes form the BailActivityTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="BailActivityDate" type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date the bail action occurred.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="BailActivityOrder"
                                                  type="xs:positiveInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This indicates, starting from 1 and incrementing from there, the order in which the bail actions occurred on this docket. Some actions may happen on the same day.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="BailActivityDetails">
                                                  <xs:annotation>
                                                  <xs:documentation>Certain types of bail activity have more details associated with them, contained within.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:choice>
                                                  <xs:element minOccurs="0" name="BailPostedDetails">
                                                  <xs:annotation>
                                                  <xs:documentation>If the action is Bail Posted, this contains additional details.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="IsPostedByDefendant"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, the bail was posted by the defendant.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsPostedAtJail"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, bail was posted at jail or the department of corrections.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="SuretyType" type="String255Max"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the type of surety, which comes from the BailPostedSuretyTypes dictionary, with one of these values.

Not Set - The court staff did not set the type of surety.
Unknown - The court staff did not know who is responsible for the bail payments.
Individual - A person who is not the defendant is responsible for bail.
Corporation - A corporation is responsible for the bail.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="SuretyName"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>If the type of surety is an individual or a corporation, this element contains the name of said individual or corporation.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="BailMadeIndicator"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This indicates the type of payment used for bail posted.  Values are Cash, Credit, Bond or Unknown.  If someone has Cash and Bond indicated, Bond will be reported.  If someone has Cash, Credit and Bond indicated, Bond will be reported.  If someone has Cash and Credit indicated, Cash will be reported.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="BailSetDetails">
                                                  <xs:annotation>
                                                  <xs:documentation>If the action is Bail Set, this contains additional details.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="BailCashSetTo"
                                                  type="MonetaryType" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the amount bail is set to if paid with cash.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="BailCreditSetTo"
                                                  type="MonetaryType" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the amount bail is set to if paid by credit card.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="InsuranceCompanyBondAmount"
                                                  type="MonetaryType" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the amount of the Insurance Company Bail Bond.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element
                                                  name="PartiallySecuredAppearanceBondAmount"
                                                  type="MonetaryType" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the amount of the Partially Secured Appearance Bond.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element
                                                  name="PartiallySecuredSuretyBondAmount"
                                                  type="MonetaryType" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the amount of the Partially Secured Surety Bond.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="SecuredAppearanceBondAmount"
                                                  type="MonetaryType" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the amount of the Secured Appearance Bond.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="SecuredSuretyBondAmount"
                                                  type="MonetaryType" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the amount of the Secured Surety Bond.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="UnsecuredAppearanceBondAmount"
                                                  type="MonetaryType" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the amount of the Unsecured Appearance Bond.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="UnsecuredSuretyBondAmount"
                                                  type="MonetaryType" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the amount of the Unsecured Surety Bond.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element
                                                  name="ReleasedWithNonMonetaryCondition"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the action is "Released with Non Monetary Condition", this contains additional details.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element maxOccurs="unbounded"
                                                  name="NonMonetaryCondition">
                                                  <xs:annotation>
                                                  <xs:documentation>There are one or more conditions associated when a defendant is released with non monetary conditions. This element contains such details.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element maxOccurs="1" minOccurs="1"
                                                  name="NonMonetaryConditionType"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the specific type of condition associated with the bail activity, such as Travel Restrictions and Electronic Monitoring. This comes from the NonMonetaryConditionTypes dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="NonMonetaryConditionDetails"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>Some non monetary conditions have additional information associated with them under this element.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:choice>
                                                  <xs:element
                                                  name="CommunityServiceNonMonetaryCondition"
                                                  type="CommunityServiceCondition" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the condition is for community service, this element stores additional community service details.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element
                                                  name="TreatmentMandateNonMonetaryCondition"
                                                  type="TreatmentMandateCondition" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the condition is for a treatment mandate, this element stores additional treatment mandate details.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element
                                                  name="WeekendWorkProgramNonMonetaryCondition"
                                                  type="WeekendWorkProgramCondition" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>If the defendant must participate in a weekend work program, details are included in this element.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="MandatoryProgramCondition">
                                                  <xs:annotation>
                                                  <xs:documentation>If there is a condition of placement by pretrial supervision in a mandatory program, the details are included in this element.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="ProgramType" type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This indicates the type of program the defendant must participate in. The values coms from the TreatmentProgramType dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="ConditionDuration"
                                                  type="xs:nonNegativeInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the length of time the defendant must participate in the program.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="ConditionDurationUnit"
                                                  type="String255Max" minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the unit used for the program duration, such as years, months, days, and hours. This comes from the DurationUnits dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:choice>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="AdditionalDetails"
                                                  type="String8000Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a freetext field that may contain additional information about this bail condition.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="Agency"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the agency associated with this bail condition, if any.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="ElectronicMonitoringDurationDays"
                                                  type="xs:nonNegativeInteger">
                                                  <xs:annotation>
                                                  <xs:documentation>If the condition is eletronic monitoring, this may contain the number of days the eletronic monitoring will be applied.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="BailRequestedByProsecutor">
                                                  <xs:annotation>
                                                  <xs:documentation>These are the bail or release conditions requested by the prosecutor.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element minOccurs="0" name="BailCash"
                                                  type="MonetaryType">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the amount of cash bail requested.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="BailCredit"
                                                  type="MonetaryType">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the amount of credit bail requested.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="GenericRequestAmount" type="MonetaryType">
                                                  <xs:annotation>
                                                  <xs:documentation>Indicates a payment method agnostic total value that prosecutors may use to request bail of an arbitrary form, but of a specific amount.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="InsuranceCompanyBondAmount"
                                                  type="MonetaryType">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the amount of the Insurance Company Bail Bond.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="PartiallySecuredAppearanceBondAmount"
                                                  type="MonetaryType">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the amount of the Partially Secured Appearance Bond.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="PartiallySecuredSuretyBondAmount"
                                                  type="MonetaryType">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the amount of the Partially Secured Surety Bond.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="SecuredAppearanceBondAmount"
                                                  type="MonetaryType">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the amount of the Secured Appearance Bond.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="SecuredSuretyBondAmount" type="MonetaryType">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the amount of the Secured Surety Bond.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="UnsecuredAppearanceBondAmount"
                                                  type="MonetaryType">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the amount of the Unsecured Appearance Bond.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="UnsecuredSuretyBondAmount"
                                                  type="MonetaryType">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the amount of the Unsecured Surety Bond.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsRequested" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, the prosecution is requesting bail.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsRemandRequested"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, the prosecutor has requested that defendant be remanded.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsROR" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, the prosecutor has suggested Released on Recognizance.  ROR means released from custody without bail while the docket is pending.  </xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="IsNMR" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, the prosecutor has suggested a NonMonetary Release with Conditions.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:choice>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  <xs:attribute form="unqualified"
                                                  name="BailActivityID" type="String32Max"
                                                  use="required">
                                                  <xs:annotation>
                                                  <xs:documentation>This identifier uniquely identifies each bail activity, allowing a specific one to be referenced by the identifier. This identifier is permanent, which means that the same bail activity retains the same identifier each time it appears in an extract. This identifier is of the form "BailActivity-Sequence". It should be noted that: 
o BailActivity is literally "BailActivity". 
o Sequence is a 12 digit number that starts with 1 and is incremented by 1. The number is 0 padded which means that any digits that are unused are 0 digits, such as "000000000013". An example identifier is "BailActivity-000000000013".</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:attribute>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="DocketOrigin">
                                                  <xs:annotation>
                                                  <xs:documentation>All superior criminal dockets except for direct presentations have an origin, meaning they originate from a UCMS or non-UCMS docket. This element contains such origin information. Direct presentations in superior criminal, and all lower criminal dockets, do not have an origin.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element maxOccurs="1" minOccurs="0"
                                                  name="OriginatingDocketReference"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>If the originating docket comes from UCMS, this can contain a reference to the docket.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="NonUCMSOriginatingDocket">
                                                  <xs:annotation>
                                                  <xs:documentation>If the originating docket is not a UCMS docket, this element can contain information about its origin.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="OriginatingCourtReference"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the court from whence the docket came.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="OriginatingDocketNumber" type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the originating docket number.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element minOccurs="0"
                                                  name="IsOriginatingFromArrest" type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, the docket was created directly from an arrest event.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element minOccurs="0" name="IsUnknownSource"
                                                  type="xs:boolean">
                                                  <xs:annotation>
                                                  <xs:documentation>If true, the court staff acknowledges that the docket has an origin, but they have no idea from whence it came.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="TollingEvent">
                                                  <xs:annotation>
                                                  <xs:documentation>This contains all of the tolling events that have occurred on the docket.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="TollingReason"
                                                  type="String255Max">
                                                  <xs:annotation>
                                                  <xs:documentation>The reason the docket was tolled, and comes form the TollingReason dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="TollingStartDate" type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>The date that the tolling event started.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="TollingEndDate" type="xs:date"
                                                  minOccurs="0">
                                                  <xs:annotation>
                                                  <xs:documentation>The date that the tolling event ended.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  <xs:attribute name="TollingEventId"
                                                  type="String32Max" use="required">
                                                  <xs:annotation>
                                                  <xs:documentation>This identifier uniquely identifies each tolling event, allowing a specific one to be referenced by the identifier. This identifier is permanent, which means that the same charge retains the same identifier each time it appears in an extract. This identifier is of the form "TollingEvent-Sequence". It should be noted that: 
o TollingEvent is literally "TollingEvent". 
o Sequence is a 12 digit number that starts with 1 and is incremented by 1. The number is 0 padded which means that any digits that are unused are 0 digits, such as "000000000013". An example identifier is "TollingEvent-000000000013".</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:attribute>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  <xs:attribute form="unqualified" name="DocketID"
                                                  type="String32Max" use="required">
                                                  <xs:annotation>
                                                  <xs:documentation>This identifier uniquely identifies each docket, allowing a specific one to be referenced by the identifier. This identifier is permanent, which means that the same docket retains the same identifier each time it appears in an extract. This identifier is of the form "Docket-Sequence". It should be noted that: 
o Docket is literally "Docket". 
o Sequence is a 12 digit number that starts with 1 and is incremented by 1. The number is 0 padded which means that any digits that are unused are 0 digits, such as "000000000013". An example identifier is "Docket-000000000013".</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:attribute>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="DeletedDocket">
                                                  <xs:annotation>
                                                  <xs:documentation>If a docket appeared in this extract at least once, and then the docket was deleted, it will show up in this list.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="DeletedDocketID"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the docket that was deleted.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="DeletedDate" type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date the docket was found to be deleted.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                  <xs:element maxOccurs="unbounded" minOccurs="0"
                                                  name="DeletedWarrant">
                                                  <xs:annotation>
                                                  <xs:documentation>In the event any warrant is deleted from the docket, its reference will be in this element.</xs:documentation>
                                                  </xs:annotation>
                                                  <xs:complexType>
                                                  <xs:sequence>
                                                  <xs:element name="DeletedWarrantReference"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the warrant that was deleted.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="DeletedDate" type="xs:date">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the date the warrant was found to be deleted.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  <xs:element name="DocketReference"
                                                  type="String32Max">
                                                  <xs:annotation>
                                                  <xs:documentation>This is a reference to the docket for which the warrant was deleted.</xs:documentation>
                                                  </xs:annotation>
                                                  </xs:element>
                                                  </xs:sequence>
                                                  </xs:complexType>
                                                  </xs:element>
                                                </xs:sequence>
                                                <xs:attribute form="unqualified"
                                                  name="CourtIDReference" type="String32Max"
                                                  use="required">
                                                  <xs:annotation>
                                                  <xs:documentation>This references the appropriate court in the court dictionary.</xs:documentation>
                                                  </xs:annotation>
                                                </xs:attribute>
                                                <xs:attribute name="Name" type="String64Max"
                                                  use="required">
                                                  <xs:annotation>
                                                  <xs:documentation>This is the full name of the Court.</xs:documentation>
                                                  </xs:annotation>
                                                </xs:attribute>
                                            </xs:complexType>
                                        </xs:element>
                                    </xs:sequence>
                                    <xs:attribute form="unqualified" name="CountyIDReference"
                                        type="String32Max" use="required">
                                        <xs:annotation>
                                            <xs:documentation>This references the id of a county in the county dictionary.</xs:documentation>
                                        </xs:annotation>
                                    </xs:attribute>
                                    <xs:attribute name="Name" type="String32Max" use="required">
                                        <xs:annotation>
                                            <xs:documentation>This is the full name of the county.</xs:documentation>
                                        </xs:annotation>
                                    </xs:attribute>
                                    <xs:attribute name="CountyCode" type="String32Max">
                                        <xs:annotation>
                                            <xs:documentation>This is the standardized code assigned to each of the 62 counties.</xs:documentation>
                                        </xs:annotation>
                                    </xs:attribute>
                                </xs:complexType>
                            </xs:element>
                        </xs:sequence>
                        <xs:attribute name="DistrictIDReference" type="String32Max">
                            <xs:annotation>
                                <xs:documentation>This references the ID of the district in the districts dictionary.</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                        <xs:attribute name="Name" type="String32Max" use="required">
                            <xs:annotation>
                                <xs:documentation>This is the district number.</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                    </xs:complexType>
                </xs:element>
            </xs:sequence>
            <xs:attribute name="GeneratedDateTime" type="xs:dateTime">
                <xs:annotation>
                    <xs:documentation>This is the date and time this extract was generated.</xs:documentation>
                </xs:annotation>
            </xs:attribute>
            <xs:attribute name="DocketCount" type="xs:integer">
                <xs:annotation>
                    <xs:documentation>This indicates the total number of dockets found in this particular extract.</xs:documentation>
                </xs:annotation>
            </xs:attribute>
            <xs:attribute name="DocketDeletedCount" type="xs:integer">
                <xs:annotation>
                    <xs:documentation>This indicates the total number of deleted dockets found in this particular extract.</xs:documentation>
                </xs:annotation>
            </xs:attribute>
        </xs:complexType>
    </xs:element>
</xs:schema>
