{
  "version": "2026-03-02",
  "domain": "gym_and_studio_class_booking",
  "normalizedClassTypes": [
    "Yoga",
    "Pilates",
    "Barre",
    "Strength",
    "Functional Strength",
    "HIIT",
    "Bootcamp / Circuit",
    "Cycling / Spin",
    "Boxing / Combat",
    "Dance / Cardio Dance",
    "Mobility / Stretch / Recovery",
    "Core / Stability",
    "Mindfulness / Breathwork",
    "Endurance (Run/Row)"
  ],
  "classTypeAttributes": {
    "Yoga": { "intensity": "low" },
    "Pilates": { "intensity": "low" },
    "Barre": { "intensity": "moderate" },
    "Strength": { "intensity": "moderate" },
    "Functional Strength": { "intensity": "moderate" },
    "HIIT": { "intensity": "high" },
    "Bootcamp / Circuit": { "intensity": "high" },
    "Cycling / Spin": { "intensity": "moderate" },
    "Boxing / Combat": { "intensity": "high" },
    "Dance / Cardio Dance": { "intensity": "moderate" },
    "Mobility / Stretch / Recovery": { "intensity": "low" },
    "Core / Stability": { "intensity": "low" },
    "Mindfulness / Breathwork": { "intensity": "low" },
    "Endurance (Run/Row)": { "intensity": "moderate" }
  },
  "notes": [
    "This mapping returns ranked class *types*. Your app should map types to actual scheduled sessions (availability, location, time, instructor, capacity).",
    "Use sleep/wellness archetypes primarily as intensity modifiers (bias recovery, down-rank high intensity when under-recovered)."
  ],
  "archetypeMappings": {
    "activity_level": {
      "sedentary": {
        "best": [
          "Mobility / Stretch / Recovery",
          "Yoga",
          "Pilates",
          "Mindfulness / Breathwork"
        ],
        "also": ["Strength", "Core / Stability"]
      },
      "lightly_active": {
        "best": ["Strength", "Pilates", "Yoga", "Functional Strength"],
        "also": ["Cycling / Spin", "Barre", "Dance / Cardio Dance"]
      },
      "moderately_active": {
        "best": [
          "Strength",
          "Functional Strength",
          "Bootcamp / Circuit",
          "Cycling / Spin"
        ],
        "also": ["HIIT", "Boxing / Combat", "Endurance (Run/Row)"]
      },
      "highly_active": {
        "best": ["HIIT", "Bootcamp / Circuit", "Strength", "Cycling / Spin"],
        "also": [
          "Boxing / Combat",
          "Endurance (Run/Row)",
          "Mobility / Stretch / Recovery"
        ]
      }
    },
    "exercise_frequency": {
      "rare_exerciser": {
        "best": ["Strength", "Pilates", "Yoga", "Mobility / Stretch / Recovery"],
        "also": ["Dance / Cardio Dance", "Cycling / Spin"]
      },
      "occasional_exerciser": {
        "best": ["Strength", "Functional Strength", "Cycling / Spin", "Yoga"],
        "also": ["Bootcamp / Circuit", "Core / Stability"]
      },
      "regular_exerciser": {
        "best": ["Strength", "Bootcamp / Circuit", "Cycling / Spin", "Boxing / Combat"],
        "also": ["HIIT", "Endurance (Run/Row)"]
      },
      "frequent_exerciser": {
        "best": ["HIIT", "Bootcamp / Circuit", "Strength", "Endurance (Run/Row)"],
        "also": [
          "Boxing / Combat",
          "Functional Strength",
          "Mobility / Stretch / Recovery"
        ]
      }
    },
    "primary_exercise_type": {
      "strength_oriented": {
        "best": ["Strength", "Functional Strength", "Core / Stability"],
        "also": ["Bootcamp / Circuit"]
      },
      "cardio_oriented": {
        "best": [
          "Cycling / Spin",
          "HIIT",
          "Bootcamp / Circuit",
          "Endurance (Run/Row)"
        ],
        "also": ["Dance / Cardio Dance"]
      },
      "mind_body_oriented": {
        "best": [
          "Yoga",
          "Pilates",
          "Mobility / Stretch / Recovery",
          "Mindfulness / Breathwork"
        ],
        "also": ["Barre", "Core / Stability"]
      },
      "hybrid_oriented": {
        "best": ["Strength", "HIIT", "Bootcamp / Circuit", "Cycling / Spin"],
        "also": ["Boxing / Combat"]
      },
      "sport_oriented": {
        "best": [
          "Functional Strength",
          "Strength",
          "HIIT",
          "Boxing / Combat"
        ],
        "also": ["Bootcamp / Circuit"]
      },
      "outdoor_oriented": {
        "best": ["Endurance (Run/Row)", "Bootcamp / Circuit", "Functional Strength"],
        "also": ["Mobility / Stretch / Recovery"]
      }
    },
    "mental_wellness": {
      "poor_mental_wellness": {
        "best": [
          "Mindfulness / Breathwork",
          "Yoga",
          "Mobility / Stretch / Recovery",
          "Pilates"
        ],
        "also": ["Cycling / Spin", "Dance / Cardio Dance"]
      },
      "fair_mental_wellness": {
        "best": ["Yoga", "Pilates", "Mobility / Stretch / Recovery", "Strength"],
        "also": ["Cycling / Spin", "Barre"]
      },
      "good_mental_wellness": {
        "best": ["Strength", "Functional Strength", "Yoga"],
        "also": ["Bootcamp / Circuit", "Boxing / Combat", "HIIT"]
      },
      "optimal_mental_wellness": {
        "best": [
          "Yoga",
          "Pilates",
          "Barre",
          "Strength",
          "Functional Strength",
          "HIIT",
          "Bootcamp / Circuit",
          "Cycling / Spin",
          "Boxing / Combat",
          "Dance / Cardio Dance",
          "Mobility / Stretch / Recovery",
          "Core / Stability",
          "Mindfulness / Breathwork",
          "Endurance (Run/Row)"
        ],
        "also": []
      }
    },
    "overall_wellness": {
      "poor_wellness": {
        "best": [
          "Mobility / Stretch / Recovery",
          "Yoga",
          "Pilates",
          "Mindfulness / Breathwork"
        ],
        "also": ["Strength", "Cycling / Spin"]
      },
      "fair_wellness": {
        "best": ["Strength", "Pilates", "Yoga", "Cycling / Spin"],
        "also": ["Bootcamp / Circuit", "Core / Stability"]
      },
      "good_wellness": {
        "best": ["Strength", "Functional Strength", "Cycling / Spin", "Bootcamp / Circuit"],
        "also": ["HIIT", "Boxing / Combat"]
      },
      "optimal_wellness": {
        "best": [
          "Yoga",
          "Pilates",
          "Barre",
          "Strength",
          "Functional Strength",
          "HIIT",
          "Bootcamp / Circuit",
          "Cycling / Spin",
          "Boxing / Combat",
          "Dance / Cardio Dance",
          "Mobility / Stretch / Recovery",
          "Core / Stability",
          "Mindfulness / Breathwork",
          "Endurance (Run/Row)"
        ],
        "also": []
      }
    },
    "sleep_quality": {
      "poor_sleep_quality": {
        "best": [
          "Mobility / Stretch / Recovery",
          "Yoga",
          "Mindfulness / Breathwork",
          "Pilates"
        ],
        "also": ["Strength", "Core / Stability"]
      },
      "fair_sleep_quality": {
        "best": ["Yoga", "Pilates", "Strength", "Cycling / Spin"],
        "also": ["Bootcamp / Circuit"]
      },
      "good_sleep_quality": {
        "best": ["Strength", "Cycling / Spin", "Bootcamp / Circuit"],
        "also": ["Boxing / Combat", "HIIT"]
      },
      "optimal_sleep_quality": {
        "best": [
          "Yoga",
          "Pilates",
          "Barre",
          "Strength",
          "Functional Strength",
          "HIIT",
          "Bootcamp / Circuit",
          "Cycling / Spin",
          "Boxing / Combat",
          "Dance / Cardio Dance",
          "Mobility / Stretch /Recovery",
          "Core / Stability",
          "Mindfulness / Breathwork",
          "Endurance (Run/Row)"
        ],
        "also": []
      }
    },
    "sleep_efficiency": {
      "highly_inefficient_sleeper": {
        "best": [
          "Mindfulness / Breathwork",
          "Mobility / Stretch / Recovery",
          "Yoga",
          "Pilates"
        ],
        "also": ["Strength"]
      },
      "inefficient_sleeper": {
        "best": ["Yoga", "Mobility / Stretch / Recovery", "Pilates"],
        "also": ["Strength", "Cycling / Spin"]
      },
      "efficient_sleeper": {
        "best": ["Strength", "Cycling / Spin", "Bootcamp / Circuit"],
        "also": ["Boxing / Combat", "HIIT"]
      },
      "highly_efficient_sleeper": {
        "best": [
          "Yoga",
          "Pilates",
          "Barre",
          "Strength",
          "Functional Strength",
          "HIIT",
          "Bootcamp / Circuit",
          "Cycling / Spin",
          "Boxing / Combat",
          "Dance / Cardio Dance",
          "Mobility / Stretch / Recovery",
          "Core / Stability",
          "Mindfulness / Breathwork",
          "Endurance (Run/Row)"
        ],
        "also": []
      }
    },
    "sleep_duration": {
      "very_short_sleeper": {
        "best": [
          "Mobility / Stretch / Recovery",
          "Yoga",
          "Mindfulness / Breathwork",
          "Pilates"
        ],
        "also": ["Strength", "Core / Stability"]
      },
      "short_sleeper": {
        "best": ["Yoga", "Pilates", "Strength", "Mobility / Stretch / Recovery"],
        "also": ["Cycling / Spin"]
      },
      "average_sleeper": {
        "best": ["Strength", "Cycling / Spin", "Bootcamp / Circuit"],
        "also": ["HIIT", "Boxing / Combat"]
      },
      "long_sleeper": {
        "best": ["Strength", "Cycling / Spin", "Bootcamp / Circuit"],
        "also": ["HIIT", "Endurance (Run/Row)"]
      }
    },
    "sleep_regularity": {
      "highly_irregular_sleeper": {
        "best": ["Yoga", "Mobility / Stretch / Recovery", "Mindfulness / Breathwork", "Pilates"],
        "also": ["Strength"]
      },
      "irregular_sleeper": {
        "best": ["Pilates", "Yoga", "Strength"],
        "also": ["Cycling / Spin"]
      },
      "regular_sleeper": {
        "best": ["Strength", "Bootcamp / Circuit", "Cycling / Spin"],
        "also": ["HIIT", "Boxing / Combat"]
      },
      "highly_regular_sleeper": {
        "best": [
          "Yoga",
          "Pilates",
          "Barre",
          "Strength",
          "Functional Strength",
          "HIIT",
          "Bootcamp / Circuit",
          "Cycling / Spin",
          "Boxing / Combat",
          "Dance / Cardio Dance",
          "Mobility / Stretch / Recovery",
          "Core / Stability",
          "Mindfulness / Breathwork",
          "Endurance (Run/Row)"
        ],
        "also": []
      }
    }
  },
  "timingMappings": {
    "wake_schedule": {
      "very_early_riser": {
        "recommended_window": "morning",
        "bias": ["Strength", "Cycling / Spin", "Bootcamp / Circuit", "HIIT", "Yoga"]
      },
      "early_riser": {
        "recommended_window": "morning",
        "bias": ["Strength", "Cycling / Spin", "Bootcamp / Circuit", "HIIT", "Yoga"]
      },
      "late_riser": {
        "recommended_window": "midday_evening",
        "bias": ["Strength", "Cycling / Spin", "Boxing / Combat", "Yoga", "Pilates"]
      },
      "very_late_riser": {
        "recommended_window": "midday_evening",
        "bias": ["Strength", "Cycling / Spin", "Boxing / Combat", "Yoga", "Pilates"]
      }
    },
    "bed_schedule": {
      "very_early_sleeper": {
        "avoid": "late_sessions",
        "bias": ["Strength", "Cycling / Spin", "Mobility / Stretch / Recovery", "Yoga"]
      },
      "early_sleeper": {
        "avoid": "late_sessions",
        "bias": ["Strength", "Cycling / Spin", "Mobility / Stretch / Recovery", "Yoga"]
      },
      "late_sleeper": {
        "avoid": "none",
        "bias": ["Strength", "Boxing / Combat", "Cycling / Spin", "Mobility / Stretch / Recovery"]
      },
      "very_late_sleeper": {
        "avoid": "none",
        "bias": ["Strength", "Boxing / Combat", "Cycling / Spin", "Mobility / Stretch / Recovery"]
      }
    },
    "sleep_pattern": {
      "consistent_early_riser": {
        "intent": "reinforce_habit",
        "bias": ["Strength", "Cycling / Spin", "Mobility / Stretch / Recovery"]
      },
      "inconsistent_early_riser": {
        "intent": "stabilize_routine",
        "bias": ["Yoga", "Pilates", "Strength"],
        "avoid_bias": ["HIIT"]
      },
      "consistent_late_sleeper": {
        "intent": "meet_them_where_they_are",
        "bias": ["Strength", "Cycling / Spin", "Boxing / Combat"]
      },
      "inconsistent_late_sleeper": {
        "intent": "reduce_volatility",
        "bias": ["Strength", "Yoga", "Mobility / Stretch / Recovery"]
      },
      "early_morning_sleeper": {
        "intent": "protect_recovery",
        "bias": ["Mobility / Stretch / Recovery", "Yoga", "Pilates"]
      },
      "chronic_short_sleeper": {
        "intent": "reduce_load_increase_adherence",
        "bias": ["Mobility / Stretch / Recovery", "Yoga", "Mindfulness / Breathwork", "Pilates", "Strength"]
      },
      "inconsistent_short_sleeper": {
        "intent": "build_consistency",
        "bias": ["Yoga", "Pilates", "Mobility / Stretch / Recovery", "Strength"]
      }
    }
  },
  "recommendedWeights": {
    "intent": "Reference weights for ranking class types; tune to your schedule and audience.",
    "layers": [
      { "name": "preference", "keys": ["primary_exercise_type"], "weight": 3.0 },
      { "name": "capacity", "keys": ["activity_level", "exercise_frequency"], "weight": 2.0 },
      { "name": "recovery_modifier", "keys": ["sleep_quality", "sleep_duration", "sleep_regularity", "sleep_efficiency", "overall_wellness", "mental_wellness"], "weight": 1.25 },
      { "name": "timing", "keys": ["wake_schedule", "bed_schedule", "sleep_pattern"], "weight": 0.75 }
    ],
    "guardrails": [
      "If sleep_quality is poor OR overall_wellness is poor, down-rank high-intensity types (HIIT, Bootcamp/Circuit, Boxing/Combat).",
      "If activity_level is sedentary OR exercise_frequency is rare_exerciser, de-risk intensity (promote Mobility/Yoga/Pilates; include Strength as fundamentals)."
    ]
  }
}