"""Science Data Challenge Context Metadata."""

from typing import ClassVar

from ..._core import AstroField, ModelBase
from ..sciops import SkyBrightness

_NAMESPACE = "CTAO.DataProducts.Context"


class ScienceDataChallenge(ModelBase):
    """Metadata related to the configuration used for a data challenge."""

    _namespace: ClassVar[str] = _NAMESPACE

    # irf_id: str = AstroField(
    #     "Identifier (TBD) of which IRFs were used for simulating events."
    # )
    # model_id: str | None = AstroField("Identifier of SkyModel was used to simulate events.")
    # schedule_id: str | None = AstroField("Identifier of Schedule used as input.")

    nsb_conditions: SkyBrightness = AstroField(
        "Simulated sky brightness level: dark (normal darktime), gray (partial-moon),"
        " bright (moon).",
        fits_keyword="SDC_NSB",
    )
