# generated by datamodel-codegen:
#   filename:  core/signal_filters.json
#   timestamp: 2025-11-22T15:23:24+00:00

from __future__ import annotations

from typing import Annotated

from adcp.types.base import AdCPBaseModel
from pydantic import ConfigDict, Field

from ..enums import signal_catalog_type


class SignalFilters(AdCPBaseModel):
    model_config = ConfigDict(
        extra='forbid',
    )
    catalog_types: Annotated[
        list[signal_catalog_type.SignalCatalogType] | None,
        Field(description='Filter by catalog type'),
    ] = None
    data_providers: Annotated[
        list[str] | None, Field(description='Filter by specific data providers')
    ] = None
    max_cpm: Annotated[float | None, Field(description='Maximum CPM price filter', ge=0.0)] = None
    min_coverage_percentage: Annotated[
        float | None, Field(description='Minimum coverage requirement', ge=0.0, le=100.0)
    ] = None
