{
  "hardRules": [
    {
      "ruleId": "maya-early-no-double-hazard",
      "bucketRange": "lv001-100",
      "constraint": "no-consecutive-double-hazard"
    },
    {
      "ruleId": "maya-early-climax-max-s2",
      "bucketRange": "lv001-100",
      "constraint": "climax-max-s2"
    },
    {
      "ruleId": "maya-early-needs-positive-window",
      "bucketRange": "lv001-100",
      "constraint": "require-opportunity-or-recovery"
    },
    {
      "ruleId": "maya-mid-allow-hazard-encounter-climax",
      "bucketRange": "lv101-300",
      "constraint": "allow-hazard-encounter-climax"
    },
    {
      "ruleId": "maya-mid-unlock-observatory-court",
      "bucketRange": "lv151-1000",
      "constraint": "allow-observatory-ballcourt-yearring-rainpool"
    },
    {
      "ruleId": "maya-late-allow-double-hazard",
      "bucketRange": "lv301-1000",
      "constraint": "allow-double-hazard"
    },
    {
      "ruleId": "maya-late-allow-climax-s6-s8",
      "bucketRange": "lv301-1000",
      "constraint": "allow-climax-s6-s8"
    },
    {
      "ruleId": "maya-late-allow-court-and-longcount-chain",
      "bucketRange": "lv501-1000",
      "constraint": "allow-court-plus-longcount-chain"
    },
    {
      "ruleId": "maya-endgame-default-four-step-chain",
      "bucketRange": "lv701-1000",
      "constraint": "default-four-step-chain"
    },
    {
      "ruleId": "maya-endgame-require-hazard-or-climax",
      "bucketRange": "lv891-1000",
      "constraint": "require-hazard-or-climax"
    },
    {
      "ruleId": "maya-endgame-allow-hazard-direct-terminal-climax",
      "bucketRange": "lv931-1000",
      "constraint": "allow-hazard-direct-to-terminal-climax"
    }
  ],
  "rarePackRules": [
    {
      "rarePackId": "maya-frontier-rare",
      "maxPerRun": 1,
      "replaceSameArchetype": true
    },
    {
      "rarePackId": "maya-observatory-rare",
      "maxPerRun": 1,
      "replaceSameArchetype": true
    },
    {
      "rarePackId": "maya-underworld-rare",
      "maxPerRun": 1,
      "replaceSameArchetype": true
    },
    {
      "rarePackId": "maya-eclipse-rare",
      "maxPerRun": 1,
      "replaceSameArchetype": true
    },
    {
      "rarePackId": "maya-terminal-rare",
      "maxPerRun": 1,
      "replaceSameArchetype": true
    }
  ],
  "branchVariantRules": [
    {
      "branchLineId": "maya-branch-calendar-mercy",
      "applyMode": "override-text",
      "priority": 100,
      "targetScenes": [
        "M22",
        "M24"
      ]
    },
    {
      "branchLineId": "maya-branch-rite-trace",
      "applyMode": "override-text",
      "priority": 100,
      "targetScenes": [
        "M18",
        "M19",
        "M20"
      ]
    },
    {
      "branchLineId": "maya-branch-royal-name",
      "applyMode": "override-text",
      "priority": 100,
      "targetScenes": [
        "M25",
        "M27"
      ]
    }
  ]
}
