from pydantic import BaseModel, ConfigDict, Field


class Asset(BaseModel):
    """A downloadable file associated with an item."""

    model_config = ConfigDict(extra="forbid")

    name: str = Field(description="Asset name according to the data provider")
    url: str = Field(description="URL to the asset file")
    bands: list[str] = Field(default_factory=list, description="Band names this asset contains")
