"""
Configuration for CLI discovery statistics model.
"""


class ModelConfig:
    """Pydantic configuration."""

    # Example for documentation
    json_schema_extra = {
        "example": {
            "total_tools_discovered": 15,
            "healthy_tools_count": 14,
            "unhealthy_tools_count": 1,
            "discovery_cache_size": 15,
            "cache_hit_rate": 95.5,
            "last_discovery_duration_ms": 150.2,
            "average_discovery_duration_ms": 142.8,
            "last_refresh_timestamp": "2025-07-16T03:30:15Z",
            "last_health_check_timestamp": "2025-07-16T03:45:22Z",
            "discovery_errors_count": 0,
            "last_error_message": None,
            "registries_online": 3,
            "registries_total": 3,
        },
    }
