<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <!-- Please Keep this file sorted alphabetically so that we can find types easily -->
  <xs:simpleType name="docDOCTypeT">
    <xs:restriction base="xs:string">
        <xs:enumeration value="ASAC"/>     <!-- Amended Summons and Complaint (System added) --> 
        <xs:enumeration value="CCAP154"/>  <!-- Assessment Report (System added) -->
        <xs:enumeration value="CR204"/>    <!-- Judgment of Conviction Jail (System added) -->
        <xs:enumeration value="CR204A"/>   <!-- Amended Judgment of Conviction Jail (System added) -->
        <xs:enumeration value="CR204C"/>   <!-- Corrected Judgment of Conviction Jail (System added) -->
        <xs:enumeration value="CR204R"/>   <!-- Judgment of Conviction Jail After Revocation of Probation (System added) -->
        <xs:enumeration value="CR204RA"/>  <!-- Amended Judgment of Conviction Jail After Revocation of Probation (System added) -->
        <xs:enumeration value="CR204RC"/>  <!-- Corrected Judgment of Conviction Jail After Revocation of Probation (System added) -->
        <xs:enumeration value="CR207A"/>   <!-- Order on Petition for Civil Judgment for Restitution or Court Ordered Financial Obligations page 1 (outbound) -->
        <xs:enumeration value="CR207B"/>   <!-- Civil Judgment Order -->
        <xs:enumeration value="CR208A"/>   <!-- Order Extending Probation for Unpaid Court Obligations/Judgment for Restitution/Judgment for Court Ordered Financial Obligations -->
        <xs:enumeration value="CR208B"/>   <!-- Order/Judgment of Extending Probation -->
        <xs:enumeration value="CR212"/>    <!-- Judgment of Conviction Prison (System added) -->
        <xs:enumeration value="CR212A"/>   <!-- Amended Judgment of Conviction Prison (System added) -->
        <xs:enumeration value="CR212C"/>   <!-- Corrected Judgment of Conviction Prison (System added) -->
        <xs:enumeration value="CR212R"/>   <!-- Judgment of Conviction Prison After Revocation of Probation(System added) -->
        <xs:enumeration value="CR212RA"/>  <!-- Amended Judgment of Conviction Prison After Revocation of Probation (System added) -->
        <xs:enumeration value="CR212RC"/>  <!-- Corrected Judgment of Conviction Prison After Revocation of Probation (System added) -->
        <xs:enumeration value="CR244"/>    <!-- Order for Pre-Sentence Investigation (System added) -->
        <xs:enumeration value="CR254"/>    <!-- Petition to Modify Bifurcated Sentence (Geriatric/Terminal) -->
        <xs:enumeration value="CR256"/>    <!-- Petition to Modify Bifurcated Sentence -->
        <xs:enumeration value="CR258"/>    <!-- Petition for Sentence Adjustment -->
        <xs:enumeration value="CR260"/>    <!-- Order Concerning Sentence Adjustment -->
        <xs:enumeration value="CR261"/>    <!-- Verification of Time Served -->
        <xs:enumeration value="CR263"/>    <!-- Petition for Determination of Eligibility -->
        <xs:enumeration value="CR265"/>    <!-- Order on Petition for Determination of Eligibility for the Substance Abuse Program -->
        <xs:enumeration value="CR267"/>    <!-- Order on Petition to Expunge Court Record of Conviction - Non-Probation/Non-Incarceration -->
        <xs:enumeration value="CR283"/>    <!-- Order Concerning Positive Adjustment Time -->
        <xs:enumeration value="DAIMEMO"/>  <!-- Various memos to the court -->
        <xs:enumeration value="DCC2604"/>  <!-- Order on Petition for Early Discharge from Probation -->
        <xs:enumeration value="DCCDOC"/>   <!-- Certificate of Discharge and Satisfaction of Probation Conditions and Expungement -->
        <xs:enumeration value="DCCMEMO"/>  <!-- Various memos to the court -->
        <xs:enumeration value="DCCNGI"/>   <!-- Various NGI & Sexually Violent Offender/Committed 980 documents -->
        <xs:enumeration value="DHS5166"/>  <!-- Statement Probable Cause, Petition to Revoke Conditional Release for NGI -->
        <xs:enumeration value="DHS5207"/>  <!-- Order Granting Capias -->
        <xs:enumeration value="DOC0003"/>  <!-- Face Sheet -->
        <xs:enumeration value="DOC0031"/>  <!-- Victim Restitution Ordered -->
        <xs:enumeration value="DOC0037"/>  <!-- Amendment to Judgment of Conviction -->
        <xs:enumeration value="DOC0061"/>  <!-- Order for Deferred Prosecution -->
        <xs:enumeration value="DOC0398J"/> <!-- Intake Routing Face Sheet -->
        <xs:enumeration value="DOC1615"/>  <!-- Grow Academy Referral -->
        <xs:enumeration value="DOC1911"/>  <!-- Type 2 Sanction Administrative Detention -->
        <xs:enumeration value="DOC1942"/>  <!-- Type 2 Permanent Return Report Face Sheet DJC -->
        <xs:enumeration value="DOC1947"/>  <!-- Furlough Request DJC -->
        <xs:enumeration value="DOC2102"/>  <!-- Furloughs Annual Report -->
        <xs:enumeration value="DOC2143"/>  <!-- Notice of SBN -->
        <xs:enumeration value="DOC2156"/>  <!-- Amendment to Judgment of Conviction and Order - CIP -->
        <xs:enumeration value="DOC2259"/>  <!-- Amendment to Judgment of Conviction and Order - ERP -->
        <xs:enumeration value="DOC2419"/>  <!-- ES Sanction -->
        <xs:enumeration value="DOC2475"/>  <!-- Sanction entrance Report -->
        <xs:enumeration value="DOC2476"/>  <!-- Sanction Exit Report -->
        <xs:enumeration value="DOC2528"/>  <!-- Probation Early Discharge Recommendation -->
        <xs:enumeration value="DOC2566"/>  <!-- Victim's Statement Regarding Early Discharge from Supervision -->
        <xs:enumeration value="DOC2603"/>  <!-- Order for Early Discharge from Probation -->
        <xs:enumeration value="DOC2604"/>  <!-- Early Discharge Recommendation -->
        <xs:enumeration value="DOC2626"/>  <!-- Amendment to Judgment of Conviction and Order - RRS -->
        <xs:enumeration value="DOC2678"/>  <!-- Certificate of Discharge and Satisfaction of Probation Conditions and Expungement -->
        <xs:enumeration value="DOC2678A"/> <!-- Notice of Failure to Meet Conditions for Expungement -->
        <xs:enumeration value="DOCCOP"/>   <!-- CO Financial Obligation -->
        <xs:enumeration value="DOCPSI"/>   <!-- DOC-3A Pre-Sentence Investigation -->
        <xs:enumeration value="DOCPSIA"/>  <!-- DOC-3A Pre-Sentence Investigation - Amended -->
        <xs:enumeration value="DOCSAR"/>   <!-- Sentencing After Revocation Packet -->
        <xs:enumeration value="DOCSCS"/>   <!-- Status Change Slip -->
        <xs:enumeration value="F25180"/>   <!-- Order of Discharge Upon Expiration of Commitment -->
        <xs:enumeration value="F25205"/>   <!-- Transport Order -->
        <xs:enumeration value="INFO"/>     <!-- Information (System added) -->
        <xs:enumeration value="LDAI"/>     <!-- Letters from DAI Records staff to Court regarding sentence structure -->
        <xs:enumeration value="LDCC"/>     <!-- Letters from DCC Records staff to Court regarding sentence structure -->
        <xs:enumeration value="OED"/>      <!-- Order for Early Discharge from Probation -->
        <xs:enumeration value="OEP"/>      <!-- Order to Extend Probation/Enter Judgment (result of restitution hearing) --> 
        <xs:enumeration value="OPM"/>      <!-- Order as a result of Petition to Modify Court Imposed Conditions of Extended Supervision -->
        <xs:enumeration value="OPMB"/>     <!-- Order as a result of Petition to Modify Bifurcated Sentence (Geriatric/Extraordinary health Conditions) -->
        <xs:enumeration value="OPPA"/>     <!-- Order as a result of Petition for Positive Adjustment Time filed -->
        <xs:enumeration value="OPSA"/>     <!-- Order as a result of Petition for Sentence Adjustment filed -->
        <xs:enumeration value="OTH"/>      <!-- Other -->
        <xs:enumeration value="POJ"/>      <!-- Petition and Order for Judgment -->
        <xs:enumeration value="PWH"/>      <!-- Petition/Stipulation/Order to Waive Hearing and enter Judgment/Extend Probation -->
        <xs:enumeration value="RAJOC"/>    <!-- Request to Amend Judgment of Conviction -->
        <xs:enumeration value="REST"/>     <!-- Restitution Order -->
        <xs:enumeration value="SAC"/>      <!-- Summons and Complaint (System added) -->
    </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="originT">
    <xs:restriction base="xs:string">
      <xs:pattern value="([A-Z0-9\-]+)?"/>
	  <xs:maxLength value="24"/>
    </xs:restriction>
  </xs:simpleType>

</xs:schema>
