# Generated by Django 6.0.1 on 2026-05-12 20:35

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('atlas', '0102_alter_seriesimage_image_blake3_hash_and_more'),
    ]

    operations = [
        migrations.AddField(
            model_name='casecollection',
            name='auto_apply_question_template',
            field=models.BooleanField(default=False, help_text='If enabled, the case_question_template is automatically applied to new cases added to this collection that do not have an existing question_schema.'),
        ),
        migrations.AddField(
            model_name='casecollection',
            name='case_question_max_score',
            field=models.PositiveIntegerField(blank=True, help_text='Maximum score per case used for normalisation. Defaults to 10 when not set.', null=True),
        ),
        migrations.AddField(
            model_name='casecollection',
            name='case_question_template',
            field=models.JSONField(blank=True, help_text='JSON schema applied as a default question template for all cases in this collection. Individual cases can override via CaseDetail.question_schema.', null=True),
        ),
        migrations.AddField(
            model_name='casecollection',
            name='marking_guidance',
            field=models.TextField(blank=True, help_text='Plain-language marking guidance displayed to markers.'),
        ),
        migrations.AddField(
            model_name='casecollection',
            name='marking_scheme_name',
            field=models.CharField(blank=True, help_text='Human-readable mark scheme name shown to markers and in exports.', max_length=255),
        ),
    ]
