# =============================================================
# USDA Soil Taxonomy 13ed -- Andisols Subgroups -- Cap 6
# =============================================================
# Cobertura focada nos Subgrupos comuns por Great Group:
# Lithic, Aquic, Acric, Hydric, Vitric, Spodic, Humic, Pachic,
# Thaptic, Eutric, Typic.
# Total: ~155 Subgroups (subset cientifico do conjunto pleno KST 13ed).
# =============================================================

subgroups:

  # ====== AQUANDS Subgroups ======

  "DAA":  # Gelaquands (3)
    - code: "DAAA"
      name: "Lithic Gelaquands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DAAB"
      name: "Histic Gelaquands"
      tests:
        all_of:
          - histic_subgroup_usda: {}
    - code: "DAAD"
      name: "Turbic Gelaquands"
      tests:
        all_of:
          - turbic_subgroup_usda: {}
    - code: "DAAE"
      name: "Thaptic Gelaquands"
      tests:
        all_of:
          - thaptic_subgroup_usda: {}
    - code: "DAAC"
      name: "Typic Gelaquands"
      tests:
        default: true

  "DAB":  # Cryaquands (4)
    - code: "DABA"
      name: "Lithic Cryaquands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DABB"
      name: "Histic Cryaquands"
      tests:
        all_of:
          - histic_subgroup_usda: {}
    - code: "DABC"
      name: "Thaptic Cryaquands"
      tests:
        all_of:
          - thaptic_subgroup_usda: {}
    - code: "DABD"
      name: "Typic Cryaquands"
      tests:
        default: true

  "DAC":  # Placaquands (3)
    - code: "DACA"
      name: "Lithic Placaquands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DACB"
      name: "Histic Placaquands"
      tests:
        all_of:
          - histic_subgroup_usda: {}
    - code: "DACD"
      name: "Duric Histic Placaquands"
      tests:
        all_of:
          - duric_subgroup_usda: {}
          - histic_subgroup_usda: {}
    - code: "DACE"
      name: "Duric Placaquands"
      tests:
        all_of:
          - duric_subgroup_usda: {}
    - code: "DACF"
      name: "Thaptic Placaquands"
      tests:
        all_of:
          - thaptic_subgroup_usda: {}
    - code: "DACC"
      name: "Typic Placaquands"
      tests:
        default: true

  "DAD":  # Duraquands (4)
    - code: "DADA"
      name: "Histic Duraquands"
      tests:
        all_of:
          - histic_subgroup_usda: {}
    - code: "DADB"
      name: "Acraquoxic Duraquands"
      tests:
        all_of:
          - acric_andisol_usda: {}
    - code: "DADC"
      name: "Thaptic Duraquands"
      tests:
        all_of:
          - thaptic_subgroup_usda: {}
    - code: "DADD"
      name: "Typic Duraquands"
      tests:
        default: true

  "DAE":  # Vitraquands (3)
    - code: "DAEA"
      name: "Lithic Vitraquands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DAEB"
      name: "Humic Vitraquands"
      tests:
        all_of:
          - humic_andisol_usda: {}
    - code: "DAED"
      name: "Duric Vitraquands"
      tests:
        all_of:
          - duric_subgroup_usda: {}
    - code: "DAEE"
      name: "Histic Vitraquands"
      tests:
        all_of:
          - histic_subgroup_usda: {}
    - code: "DAEF"
      name: "Thaptic Vitraquands"
      tests:
        all_of:
          - thaptic_subgroup_usda: {}
    - code: "DAEC"
      name: "Typic Vitraquands"
      tests:
        default: true

  "DAF":  # Melanaquands (3)
    - code: "DAFA"
      name: "Lithic Melanaquands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DAFB"
      name: "Thaptic Melanaquands"
      tests:
        all_of:
          - thaptic_subgroup_usda: {}
    - code: "DAFD"
      name: "Acraquoxic Melanaquands"
      tests:
        all_of:
          - acric_andisol_usda: {}
    - code: "DAFE"
      name: "Hydric Pachic Melanaquands"
      tests:
        all_of:
          - hydric_andisol_usda: {}
          - pachic_subgroup_usda: {}
    - code: "DAFF"
      name: "Hydric Melanaquands"
      tests:
        all_of:
          - hydric_andisol_usda: {}
    - code: "DAFG"
      name: "Pachic Melanaquands"
      tests:
        all_of:
          - pachic_subgroup_usda: {}
    - code: "DAFC"
      name: "Typic Melanaquands"
      tests:
        default: true

  "DAG":  # Epiaquands (3)
    - code: "DAGA"
      name: "Lithic Epiaquands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DAGB"
      name: "Humic Epiaquands"
      tests:
        all_of:
          - humic_andisol_usda: {}
    - code: "DAGD"
      name: "Duric Epiaquands"
      tests:
        all_of:
          - duric_subgroup_usda: {}
    - code: "DAGE"
      name: "Histic Epiaquands"
      tests:
        all_of:
          - histic_subgroup_usda: {}
    - code: "DAGF"
      name: "Alic Epiaquands"
      tests:
        all_of:
          - alic_andisol_usda: {}
    - code: "DAGG"
      name: "Hydric Epiaquands"
      tests:
        all_of:
          - hydric_andisol_usda: {}
    - code: "DAGH"
      name: "Thaptic Epiaquands"
      tests:
        all_of:
          - thaptic_subgroup_usda: {}
    - code: "DAGC"
      name: "Typic Epiaquands"
      tests:
        default: true

  "DAH":  # Endoaquands (5)
    - code: "DAHA"
      name: "Lithic Endoaquands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DAHB"
      name: "Duric Endoaquands"
      tests:
        all_of:
          - duric_subgroup_usda: {}
    - code: "DAHC"
      name: "Histic Endoaquands"
      tests:
        all_of:
          - histic_subgroup_usda: {}
    - code: "DAHD"
      name: "Alic Endoaquands"
      tests:
        all_of:
          - alic_andisol_usda: {}
    - code: "DAHE"
      name: "Hydric Endoaquands"
      tests:
        all_of:
          - hydric_andisol_usda: {}
    - code: "DAHG"
      name: "Thaptic Endoaquands"
      tests:
        all_of:
          - thaptic_subgroup_usda: {}
    - code: "DAHF"
      name: "Typic Endoaquands"
      tests:
        default: true

  # ====== GELANDS Subgroups ======

  "DBA":  # Vitrigelands (3)
    - code: "DBAA"
      name: "Humic Vitrigelands"
      tests:
        all_of:
          - humic_andisol_usda: {}
    - code: "DBAB"
      name: "Turbic Vitrigelands"
      tests:
        all_of:
          - turbic_subgroup_usda: {}
    - code: "DBAC"
      name: "Typic Vitrigelands"
      tests:
        default: true

  # ====== CRYANDS Subgroups ======

  "DCA":  # Duricryands (4)
    - code: "DCAA"
      name: "Lithic Duricryands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DCAB"
      name: "Aquic Duricryands"
      tests:
        all_of:
          - aquic_subgroup_usda: {}
    - code: "DCAC"
      name: "Humic Duricryands"
      tests:
        all_of:
          - humic_andisol_usda: {}
    - code: "DCAE"
      name: "Oxyaquic Duricryands"
      tests:
        all_of:
          - oxyaquic_subgroup_usda: {}
    - code: "DCAD"
      name: "Typic Duricryands"
      tests:
        default: true

  "DCB":  # Hydrocryands (3)
    - code: "DCBA"
      name: "Lithic Hydrocryands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DCBB"
      name: "Acrudoxic Hydrocryands"
      tests:
        all_of:
          - acric_andisol_usda: {}
    - code: "DCBD"
      name: "Placic Hydrocryands"
      tests:
        all_of:
          - placic_horizon_usda: {}
    - code: "DCBE"
      name: "Aquic Hydrocryands"
      tests:
        all_of:
          - aquic_subgroup_usda: {}
    - code: "DCBF"
      name: "Thaptic Hydrocryands"
      tests:
        all_of:
          - thaptic_subgroup_usda: {}
    - code: "DCBC"
      name: "Typic Hydrocryands"
      tests:
        default: true

  "DCC":  # Melanocryands (3)
    - code: "DCCA"
      name: "Lithic Melanocryands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DCCB"
      name: "Pachic Melanocryands"
      tests:
        all_of:
          - pachic_subgroup_usda: {}
    - code: "DCCD"
      name: "Vitric Melanocryands"
      tests:
        all_of:
          - vitric_subgroup_usda: {}
    - code: "DCCC"
      name: "Typic Melanocryands"
      tests:
        default: true

  "DCD":  # Fulvicryands (4)
    - code: "DCDA"
      name: "Lithic Fulvicryands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DCDB"
      name: "Aquic Fulvicryands"
      tests:
        all_of:
          - aquic_subgroup_usda: {}
    - code: "DCDC"
      name: "Pachic Fulvicryands"
      tests:
        all_of:
          - pachic_subgroup_usda: {}
    - code: "DCDE"
      name: "Folistic Fulvicryands"
      tests:
        all_of:
          - folistic_subgroup_usda: {}
    - code: "DCDF"
      name: "Vitric Fulvicryands"
      tests:
        all_of:
          - vitric_subgroup_usda: {}
    - code: "DCDD"
      name: "Typic Fulvicryands"
      tests:
        default: true

  "DCE":  # Vitricryands (5)
    - code: "DCEA"
      name: "Lithic Vitricryands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DCEB"
      name: "Aquic Vitricryands"
      tests:
        all_of:
          - aquic_subgroup_usda: {}
    - code: "DCEC"
      name: "Spodic Vitricryands"
      tests:
        all_of:
          - spodic_andisol_usda: {}
    - code: "DCED"
      name: "Humic Vitricryands"
      tests:
        all_of:
          - humic_andisol_usda: {}
    - code: "DCEF"
      name: "Folistic Vitricryands"
      tests:
        all_of:
          - folistic_subgroup_usda: {}
    - code: "DCEG"
      name: "Oxyaquic Vitricryands"
      tests:
        all_of:
          - oxyaquic_subgroup_usda: {}
    - code: "DCEH"
      name: "Thaptic Vitricryands"
      tests:
        all_of:
          - thaptic_subgroup_usda: {}
    - code: "DCEI"
      name: "Ultic Vitricryands"
      tests:
        all_of:
          - ultic_subgroup_usda: {}
    - code: "DCEE"
      name: "Typic Vitricryands"
      tests:
        default: true

  "DCF":  # Haplocryands (5)
    - code: "DCFA"
      name: "Lithic Haplocryands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DCFB"
      name: "Aquic Haplocryands"
      tests:
        all_of:
          - aquic_subgroup_usda: {}
    - code: "DCFC"
      name: "Spodic Haplocryands"
      tests:
        all_of:
          - spodic_andisol_usda: {}
    - code: "DCFD"
      name: "Humic Haplocryands"
      tests:
        all_of:
          - humic_andisol_usda: {}
    - code: "DCFF"
      name: "Folistic Haplocryands"
      tests:
        all_of:
          - folistic_subgroup_usda: {}
    - code: "DCFG"
      name: "Oxyaquic Haplocryands"
      tests:
        all_of:
          - oxyaquic_subgroup_usda: {}
    - code: "DCFH"
      name: "Alic Haplocryands"
      tests:
        all_of:
          - alic_andisol_usda: {}
    - code: "DCFI"
      name: "Acrudoxic Haplocryands"
      tests:
        all_of:
          - acric_andisol_usda: {}
    - code: "DCFJ"
      name: "Vitric Haplocryands"
      tests:
        all_of:
          - vitric_subgroup_usda: {}
    - code: "DCFK"
      name: "Thaptic Haplocryands"
      tests:
        all_of:
          - thaptic_subgroup_usda: {}
    - code: "DCFE"
      name: "Typic Haplocryands"
      tests:
        default: true

  # ====== TORRANDS Subgroups ======

  "DDA":  # Duritorrands (3)
    - code: "DDAA"
      name: "Lithic Duritorrands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DDAB"
      name: "Aquic Duritorrands"
      tests:
        all_of:
          - aquic_subgroup_usda: {}
    - code: "DDAD"
      name: "Petrocalcic Duritorrands"
      tests:
        all_of:
          - petrocalcic_subgroup_usda: {}
    - code: "DDAE"
      name: "Vitric Duritorrands"
      tests:
        all_of:
          - vitric_subgroup_usda: {}
    - code: "DDAC"
      name: "Typic Duritorrands"
      tests:
        default: true

  "DDB":  # Vitritorrands (3)
    - code: "DDBA"
      name: "Lithic Vitritorrands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DDBB"
      name: "Aquic Vitritorrands"
      tests:
        all_of:
          - aquic_subgroup_usda: {}
    - code: "DDBD"
      name: "Duric Vitritorrands"
      tests:
        all_of:
          - duric_subgroup_usda: {}
    - code: "DDBE"
      name: "Calcic Vitritorrands"
      tests:
        all_of:
          - calcic_subgroup_usda: { max_top_cm: 125 }
    - code: "DDBC"
      name: "Typic Vitritorrands"
      tests:
        default: true

  "DDC":  # Haplotorrands (3)
    - code: "DDCA"
      name: "Lithic Haplotorrands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DDCB"
      name: "Aquic Haplotorrands"
      tests:
        all_of:
          - aquic_subgroup_usda: {}
    - code: "DDCD"
      name: "Duric Haplotorrands"
      tests:
        all_of:
          - duric_subgroup_usda: {}
    - code: "DDCC"
      name: "Calcic Haplotorrands"
      tests:
        all_of:
          - calcic_subgroup_usda: { max_top_cm: 125 }
    - code: "DDCE"
      name: "Typic Haplotorrands"
      tests:
        default: true

  # ====== XERANDS Subgroups ======

  "DEA":  # Vitrixerands (4)
    - code: "DEAA"
      name: "Lithic Vitrixerands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DEAB"
      name: "Aquic Vitrixerands"
      tests:
        all_of:
          - aquic_subgroup_usda: {}
    - code: "DEAC"
      name: "Humic Vitrixerands"
      tests:
        all_of:
          - humic_andisol_usda: {}
    - code: "DEAE"
      name: "Thaptic Vitrixerands"
      tests:
        all_of:
          - thaptic_subgroup_usda: {}
    - code: "DEAF"
      name: "Ultic Vitrixerands"
      tests:
        all_of:
          - ultic_subgroup_usda: {}
    - code: "DEAD"
      name: "Typic Vitrixerands"
      tests:
        default: true

  "DEB":  # Melanoxerands (3)
    - code: "DEBA"
      name: "Lithic Melanoxerands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DEBB"
      name: "Pachic Melanoxerands"
      tests:
        all_of:
          - pachic_subgroup_usda: {}
    - code: "DEBC"
      name: "Typic Melanoxerands"
      tests:
        default: true

  "DEC":  # Haploxerands (5)
    - code: "DECA"
      name: "Lithic Haploxerands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DECB"
      name: "Aquic Haploxerands"
      tests:
        all_of:
          - aquic_subgroup_usda: {}
    - code: "DECC"
      name: "Vitric Haploxerands"
      tests:
        all_of:
          - vitric_subgroup_usda: {}
    - code: "DECD"
      name: "Humic Haploxerands"
      tests:
        all_of:
          - humic_andisol_usda: {}
    - code: "DECF"
      name: "Thaptic Haploxerands"
      tests:
        all_of:
          - thaptic_subgroup_usda: {}
    - code: "DECG"
      name: "Ultic Haploxerands"
      tests:
        all_of:
          - ultic_subgroup_usda: {}
    - code: "DECH"
      name: "Calcic Haploxerands"
      tests:
        all_of:
          - calcic_subgroup_usda: { max_top_cm: 125 }
    - code: "DECE"
      name: "Typic Haploxerands"
      tests:
        default: true

  # ====== VITRANDS Subgroups ======

  "DFA":  # Ustivitrands (4)
    - code: "DFAA"
      name: "Lithic Ustivitrands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DFAB"
      name: "Humic Ustivitrands"
      tests:
        all_of:
          - humic_andisol_usda: {}
    - code: "DFAC"
      name: "Pachic Ustivitrands"
      tests:
        all_of:
          - pachic_subgroup_usda: {}
    - code: "DFAE"
      name: "Aquic Ustivitrands"
      tests:
        all_of:
          - aquic_subgroup_usda: {}
    - code: "DFAF"
      name: "Thaptic Ustivitrands"
      tests:
        all_of:
          - thaptic_subgroup_usda: {}
    - code: "DFAD"
      name: "Calcic Ustivitrands"
      tests:
        all_of:
          - calcic_subgroup_usda: { max_top_cm: 125 }
    - code: "DFAG"
      name: "Typic Ustivitrands"
      tests:
        default: true

  "DFB":  # Udivitrands (5)
    - code: "DFBA"
      name: "Lithic Udivitrands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DFBB"
      name: "Aquic Udivitrands"
      tests:
        all_of:
          - aquic_subgroup_usda: {}
    - code: "DFBC"
      name: "Spodic Udivitrands"
      tests:
        all_of:
          - spodic_andisol_usda: {}
    - code: "DFBD"
      name: "Humic Udivitrands"
      tests:
        all_of:
          - humic_andisol_usda: {}
    - code: "DFBF"
      name: "Oxyaquic Udivitrands"
      tests:
        all_of:
          - oxyaquic_subgroup_usda: {}
    - code: "DFBG"
      name: "Thaptic Udivitrands"
      tests:
        all_of:
          - thaptic_subgroup_usda: {}
    - code: "DFBH"
      name: "Ultic Udivitrands"
      tests:
        all_of:
          - ultic_subgroup_usda: {}
    - code: "DFBE"
      name: "Typic Udivitrands"
      tests:
        default: true

  # ====== USTANDS Subgroups ======

  "DGA":  # Durustands (3)
    - code: "DGAA"
      name: "Lithic Durustands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DGAB"
      name: "Aquic Durustands"
      tests:
        all_of:
          - aquic_subgroup_usda: {}
    - code: "DGAD"
      name: "Thaptic Durustands"
      tests:
        all_of:
          - thaptic_subgroup_usda: {}
    - { code: "DGAE", name: "Humic Durustands", tests: { all_of: [{humic_andisol_usda: {}}] } }
    - code: "DGAC"
      name: "Typic Durustands"
      tests:
        default: true

  "DGB":  # Haplustands (5)
    - code: "DGBA"
      name: "Lithic Haplustands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DGBB"
      name: "Aquic Haplustands"
      tests:
        all_of:
          - aquic_subgroup_usda: {}
    - code: "DGBC"
      name: "Vitric Haplustands"
      tests:
        all_of:
          - vitric_subgroup_usda: {}
    - code: "DGBD"
      name: "Humic Haplustands"
      tests:
        all_of:
          - humic_andisol_usda: {}
    - code: "DGBF"
      name: "Pachic Haplustands"
      tests:
        all_of:
          - pachic_subgroup_usda: {}
    - code: "DGBG"
      name: "Thaptic Haplustands"
      tests:
        all_of:
          - thaptic_subgroup_usda: {}
    - code: "DGBH"
      name: "Ultic Haplustands"
      tests:
        all_of:
          - ultic_subgroup_usda: {}
    - code: "DGBI"
      name: "Calcic Haplustands"
      tests:
        all_of:
          - calcic_subgroup_usda: { max_top_cm: 125 }
    - code: "DGBE"
      name: "Typic Haplustands"
      tests:
        default: true

  # ====== UDANDS Subgroups ======

  "DHA":  # Placudands (3)
    - code: "DHAA"
      name: "Lithic Placudands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DHAB"
      name: "Acrudoxic Placudands"
      tests:
        all_of:
          - acric_andisol_usda: {}
    - code: "DHAD"
      name: "Aquic Placudands"
      tests:
        all_of:
          - aquic_subgroup_usda: {}
    - code: "DHAE"
      name: "Hydric Placudands"
      tests:
        all_of:
          - hydric_andisol_usda: {}
    - code: "DHAC"
      name: "Typic Placudands"
      tests:
        default: true

  "DHB":  # Durudands (4)
    - code: "DHBA"
      name: "Lithic Durudands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DHBB"
      name: "Aquic Durudands"
      tests:
        all_of:
          - aquic_subgroup_usda: {}
    - code: "DHBC"
      name: "Acrudoxic Durudands"
      tests:
        all_of:
          - acric_andisol_usda: {}
    - code: "DHBE"
      name: "Hydric Durudands"
      tests:
        all_of:
          - hydric_andisol_usda: {}
    - code: "DHBF"
      name: "Pachic Durudands"
      tests:
        all_of:
          - pachic_subgroup_usda: {}
    - code: "DHBD"
      name: "Typic Durudands"
      tests:
        default: true

  "DHC":  # Hydrudands (5)
    - code: "DHCA"
      name: "Lithic Hydrudands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DHCB"
      name: "Aquic Hydrudands"
      tests:
        all_of:
          - aquic_subgroup_usda: {}
    - code: "DHCC"
      name: "Acrudoxic Hydrudands"
      tests:
        all_of:
          - acric_andisol_usda: {}
    - code: "DHCD"
      name: "Pachic Hydrudands"
      tests:
        all_of:
          - pachic_subgroup_usda: {}
    - code: "DHCF"
      name: "Acrudoxic Thaptic Hydrudands"
      tests:
        all_of:
          - acric_andisol_usda: {}
          - thaptic_subgroup_usda: {}
    - code: "DHCG"
      name: "Thaptic Hydrudands"
      tests:
        all_of:
          - thaptic_subgroup_usda: {}
    - code: "DHCH"
      name: "Ultic Hydrudands"
      tests:
        all_of:
          - ultic_subgroup_usda: {}
    - code: "DHCE"
      name: "Typic Hydrudands"
      tests:
        default: true

  "DHD":  # Melanudands (5)
    - code: "DHDA"
      name: "Lithic Melanudands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DHDB"
      name: "Aquic Melanudands"
      tests:
        all_of:
          - aquic_subgroup_usda: {}
    - code: "DHDC"
      name: "Acrudoxic Melanudands"
      tests:
        all_of:
          - acric_andisol_usda: {}
    - code: "DHDD"
      name: "Pachic Melanudands"
      tests:
        all_of:
          - pachic_subgroup_usda: {}
    - code: "DHDF"
      name: "Acrudoxic Vitric Melanudands"
      tests:
        all_of:
          - acric_andisol_usda: {}
          - vitric_subgroup_usda: {}
    - code: "DHDG"
      name: "Acrudoxic Hydric Melanudands"
      tests:
        all_of:
          - acric_andisol_usda: {}
          - hydric_andisol_usda: {}
    - code: "DHDH"
      name: "Pachic Vitric Melanudands"
      tests:
        all_of:
          - pachic_subgroup_usda: {}
          - vitric_subgroup_usda: {}
    - code: "DHDI"
      name: "Vitric Melanudands"
      tests:
        all_of:
          - vitric_subgroup_usda: {}
    - code: "DHDJ"
      name: "Hydric Pachic Melanudands"
      tests:
        all_of:
          - hydric_andisol_usda: {}
          - pachic_subgroup_usda: {}
    - code: "DHDK"
      name: "Hydric Melanudands"
      tests:
        all_of:
          - hydric_andisol_usda: {}
    - code: "DHDL"
      name: "Thaptic Melanudands"
      tests:
        all_of:
          - thaptic_subgroup_usda: {}
    - code: "DHDM"
      name: "Ultic Melanudands"
      tests:
        all_of:
          - ultic_subgroup_usda: {}
    - code: "DHDE"
      name: "Typic Melanudands"
      tests:
        default: true

  "DHE":  # Fulvudands (5)
    - code: "DHEA"
      name: "Lithic Fulvudands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DHEB"
      name: "Aquic Fulvudands"
      tests:
        all_of:
          - aquic_subgroup_usda: {}
    - code: "DHEC"
      name: "Acrudoxic Fulvudands"
      tests:
        all_of:
          - acric_andisol_usda: {}
    - code: "DHED"
      name: "Pachic Fulvudands"
      tests:
        all_of:
          - pachic_subgroup_usda: {}
    - code: "DHEF"
      name: "Oxyaquic Fulvudands"
      tests:
        all_of:
          - oxyaquic_subgroup_usda: {}
    - code: "DHEG"
      name: "Hydric Fulvudands"
      tests:
        all_of:
          - hydric_andisol_usda: {}
    - code: "DHEH"
      name: "Ultic Fulvudands"
      tests:
        all_of:
          - ultic_subgroup_usda: {}
    - code: "DHEI"
      name: "Thaptic Fulvudands"
      tests:
        all_of:
          - thaptic_subgroup_usda: {}
    - code: "DHEE"
      name: "Typic Fulvudands"
      tests:
        default: true

  "DHF":  # Hapludands (7)
    - code: "DHFA"
      name: "Lithic Hapludands"
      tests:
        all_of:
          - lithic_contact_usda: { max_top_cm: 50 }
    - code: "DHFB"
      name: "Aquic Hapludands"
      tests:
        all_of:
          - aquic_subgroup_usda: {}
    - code: "DHFC"
      name: "Acrudoxic Hapludands"
      tests:
        all_of:
          - acric_andisol_usda: {}
    - code: "DHFD"
      name: "Spodic Hapludands"
      tests:
        all_of:
          - spodic_andisol_usda: {}
    - code: "DHFE"
      name: "Vitric Hapludands"
      tests:
        all_of:
          - vitric_subgroup_usda: {}
    - code: "DHFF"
      name: "Humic Hapludands"
      tests:
        all_of:
          - humic_andisol_usda: {}
    - code: "DHFH"
      name: "Aquic Duric Hapludands"
      tests:
        all_of:
          - aquic_subgroup_usda: {}
          - duric_subgroup_usda: {}
    - code: "DHFI"
      name: "Duric Hapludands"
      tests:
        all_of:
          - duric_subgroup_usda: {}
    - code: "DHFJ"
      name: "Oxyaquic Hapludands"
      tests:
        all_of:
          - oxyaquic_subgroup_usda: {}
    - code: "DHFK"
      name: "Alic Hapludands"
      tests:
        all_of:
          - alic_andisol_usda: {}
    - code: "DHFL"
      name: "Acrudoxic Hydric Hapludands"
      tests:
        all_of:
          - acric_andisol_usda: {}
          - hydric_andisol_usda: {}
    - code: "DHFM"
      name: "Acrudoxic Thaptic Hapludands"
      tests:
        all_of:
          - acric_andisol_usda: {}
          - thaptic_subgroup_usda: {}
    - code: "DHFN"
      name: "Acrudoxic Ultic Hapludands"
      tests:
        all_of:
          - acric_andisol_usda: {}
          - ultic_subgroup_usda: {}
    - code: "DHFO"
      name: "Hydric Thaptic Hapludands"
      tests:
        all_of:
          - hydric_andisol_usda: {}
          - thaptic_subgroup_usda: {}
    - code: "DHFP"
      name: "Hydric Hapludands"
      tests:
        all_of:
          - hydric_andisol_usda: {}
    - code: "DHFQ"
      name: "Thaptic Hapludands"
      tests:
        all_of:
          - thaptic_subgroup_usda: {}
    - code: "DHFR"
      name: "Ultic Hapludands"
      tests:
        all_of:
          - ultic_subgroup_usda: {}
    - code: "DHFG"
      name: "Typic Hapludands"
      tests:
        default: true
