<?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="CCAP-154"/>  <!-- Assessment Report (System added) -->
        <xs:enumeration value="CR-202"/>    <!-- Notice of Hearing (Criminal/Traffic) -->
        <xs:enumeration value="CR-204"/>    <!-- Judgment of Conviction Jail (System added) -->
        <xs:enumeration value="CR-204A"/>   <!-- Amended Judgment of Conviction Jail (System added) -->
        <xs:enumeration value="CR-204C"/>   <!-- Corrected Judgment of Conviction Jail (System added) -->
        <xs:enumeration value="CR-204R"/>   <!-- Judgment of Conviction Jail After Revocation of Probation (System added) -->
        <xs:enumeration value="CR-204RA"/>  <!-- Amended Judgment of Conviction Jail After Revocation of Probation (System added) -->
        <xs:enumeration value="CR-204RC"/>  <!-- Corrected Judgment of Conviction Jail After Revocation of Probation (System added) -->
        <xs:enumeration value="CR-207A"/>   <!-- Petition for Civil Judgment for Restitution or Court Ordered Financial Obligations -->
        <xs:enumeration value="CR-207B"/>   <!-- Civil Judgment Order -->
        <xs:enumeration value="CR-208A"/>   <!-- Petition and Stipulation to Waive Appearance and Hearing -->
        <xs:enumeration value="CR-208B"/>   <!-- Order/Judgment of Extending Probation -->
        <xs:enumeration value="CR-209"/>    <!-- Judgment of Dismissal/Acquittal-->
        <xs:enumeration value="CR-212"/>    <!-- Judgment of Conviction Prison (System added) -->
        <xs:enumeration value="CR-212A"/>   <!-- Amended Judgment of Conviction Prison (System added) -->
        <xs:enumeration value="CR-212C"/>   <!-- Corrected Judgment of Conviction Prison (System added) -->
        <xs:enumeration value="CR-212R"/>   <!-- Judgment of Conviction Prison After Revocation of Probation(System added) -->
        <xs:enumeration value="CR-212RA"/>  <!-- Amended Judgment of Conviction Prison After Revocation of Probation (System added) -->
        <xs:enumeration value="CR-212RC"/>  <!-- Corrected Judgment of Conviction Prison After Revocation of Probation (System added) -->
        <xs:enumeration value="CR-214"/>    <!-- Judgment Deferred - Probation Ordered -->
        <xs:enumeration value="CR-244"/>    <!-- Order for Pre-Sentence Investigation (System added) -->
        <xs:enumeration value="CR-246A"/>   <!-- Petition for Civil Judgment (Probation Revoked/Discharged, Parole/Extended Supervision Terminated) -->
        <xs:enumeration value="CR-246B"/>   <!-- Order on Petition for Civil Judgment (Probation Revoked/Discharged, Parole/Extended Supervision Terminated) -->
        <xs:enumeration value="CR-254"/>    <!-- Petition to Modify Bifurcated Sentence (Geriatric/Terminal) -->
        <xs:enumeration value="CR-255"/>    <!-- Referral by Department of Corrections to Sentencing Court 302.113(9g) (Geriatric/Extraordinary Health Condition) -->
        <xs:enumeration value="CR-256"/>    <!-- Petition to Modify Bifurcated Sentence -->
        <xs:enumeration value="CR-260"/>    <!-- Order Concerning Sentence Adjustment -->
        <xs:enumeration value="CR-263"/>    <!-- Petition for Determination of Eligibility -->
        <xs:enumeration value="CR-264"/>    <!-- DOC Approval to File Petition for Determination of Eligibility for the Substance Abuse Program -->
        <xs:enumeration value="CR-265"/>    <!-- Order on Petition for Determination of Eligibility for the Substance Abuse Program -->
        <xs:enumeration value="CR-271"/>    <!-- Order of Commitment (Not Guilty by Reason of Mental Disease or Defect) -->
        <xs:enumeration value="CR-274"/>    <!-- Order for Conditional Release Plan (Not Guilty by Reason of Mental Disease or Defect) -->
        <xs:enumeration value="CR-275"/>    <!-- Order for Placement (Not Guilty by Reason of Mental Disease or Defect) -->
        <xs:enumeration value="CR-276"/>    <!-- Order on Petition to Revoke Conditional Release (Not Guilty by Reason of Mental Disease or Defect) -->
        <xs:enumeration value="CR-283"/>    <!-- Order Concerning Positive Adjustment Time -->
        <xs:enumeration value="CR-284"/>    <!-- Petition for Early Discharge from Probation -->
        <xs:enumeration value="CR-285"/>    <!-- Order on Petition for Early Discharge from Probation -->
        <xs:enumeration value="CR-288"/>    <!-- Order of Validation Risk Assessment -->
        <xs:enumeration value="CV-439"/>    <!-- Order on Prisoner’s Petition for Waiver of Prepayment of Fees/Costs -->
        <xs:enumeration value="CV-443"/>    <!-- Notice to the Department of Corrections of Actual Filing Fees and Costs -->
        <xs:enumeration value="DCCMEMO"/>  <!-- Various memos to the court -->
        <xs:enumeration value="DCCNGI"/>   <!-- Various NGI & Sexually Violent Offender/Committed 980 documents -->
        <xs:enumeration value="DOC-0048"/>  <!-- Discharge Certificate -->
        <xs:enumeration value="DOC-0031"/>  <!-- Victim Restitution Ordered -->
        <xs:enumeration value="DOC-0037"/>  <!-- Petition and Stipulation to Amend Judgment of Conviction Probation Cases -->
        <xs:enumeration value="DOC-0037A"/> <!-- Order and Amendment to Judgment of Conviction in Probation Cases -->
        <xs:enumeration value="DOC-0007E"/> <!-- Pre-Release Investigation -->
        <xs:enumeration value="DOC-1207"/>  <!-- Notice of Parole Consideration -->
        <xs:enumeration value="DOC-1207A"/>  <!-- Notice of PMR Consideration -->
        <xs:enumeration value="DOC-1208D"/>  <!-- PRC Action Geriactric Extraordinary Health Condition -->
        <xs:enumeration value="DOC-2156"/>  <!-- Amendment to Judgment of Conviction and Order - CIP -->
        <xs:enumeration value="DOC-2259"/>  <!-- Amendment to Judgment of Conviction and Order - ERP -->
        <xs:enumeration value="DOC-2603"/>  <!-- Order for Early Discharge from Probation -->
        <xs:enumeration value="DOC-2604"/>  <!-- Early Discharge Recommendation -->
        <xs:enumeration value="DOC-2626"/>  <!-- Amendment to Judgment of Conviction and Order - RRS -->
        <xs:enumeration value="DOC-2678"/>  <!-- Certificate of Discharge and Satisfaction of Probation Conditions and Expungement -->
        <xs:enumeration value="DOC-2678A"/> <!-- Notice of Failure to Meet Conditions for Expungement -->
        <xs:enumeration value="DOC-3612"/> <!-- Affidavit of Extraordinary Health Condition -->
        <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="F-25177"/>   <!-- Statement of Probable Cause for Detention and Petition for Revocation of Conditional Release -->        
        <xs:enumeration value="F-25180"/>   <!-- Order of Discharge Upon Expiration of Commitment -->
        <xs:enumeration value="F-25205"/>   <!-- Transport Order -->
        <xs:enumeration value="F-25206"/>   <!-- Petition for Capias -->
        <xs:enumeration value="F-25207"/>   <!-- Order Granting Capias -->
        <xs:enumeration value="GF-161"/>    <!-- Income Assignment Order -->
        <xs:enumeration value="GF-171"/>    <!-- Judgment for Unpaid Fines, Forfeitures and Other Financial Obligations -->
        <xs:enumeration value="INFO"/>     <!-- Information (System added) -->
        <xs:enumeration value="IWO"/>      <!-- Income Withholding for Support -->
        <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="OTH"/>      <!-- Other -->
        <xs:enumeration value="REST"/>     <!-- Restitution Order -->
        <xs:enumeration value="SAC"/>      <!-- Summons and Complaint (System added) -->
        <xs:enumeration value="SC-502"/>   <!-- Judgment/Notice of Entry of Judgment -->
        <xs:enumeration value="Transcript"/>   <!-- Sentencing Transcript -->
    </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>
