"""Shared status types for risk datasets and risk models."""

from typing import Literal, TypeAlias

DatasetStatus: TypeAlias = Literal[
    "ready", "data_stale", "needs_update", "not_ready", "corrupt"
]
"""Status type for risk datasets and risk models.

Status definitions:
- ``ready``: Data is up-to-date and ready to use.
- ``data_stale``: Data exists but underlying source data has been updated.
- ``needs_update``: No local data exists, or data exists but settings have changed.
- ``not_ready``: Reference dataset is not in a usable state.
- ``corrupt``: Settings are invalid or data is corrupted.
"""
