"""Acquisition context metadata."""

from typing import ClassVar

from ..._core import AstroField, ModelBase

_NAMESPACE = "CTAO.DataProducts.Context"

__all__ = ["Acquisition"]


class Acquisition(ModelBase):
    """Acquisition context metadata."""

    _namespace: ClassVar[str] = _NAMESPACE

    sb_id: int | None = AstroField(
        description=(
            "Unique identifier of the scheduling block associated with this data"
            " product, in a format defined in the Scheduling Block Data Model"
            " Specification."
        ),
        ivoa_keyword="sb_id",
        fits_keyword="SB_ID",
        default=None,
    )
