using System.ComponentModel.DataAnnotations;
namespace Heimdall.Agent;
///
/// A camera assignment declared in the local agent configuration
/// (Agent:Cameras). Used only as a fallback before the Central camera
/// list is received through the settings pipeline.
///
public sealed class AgentCameraOptions
{
/// Display name of the camera.
public string Name { get; init; } = string.Empty;
/// Primary RTSP URL of the camera.
[Required, Url]
public string RtspUrl { get; init; } = string.Empty;
/// Secondary / sub-stream RTSP URL (lower resolution, preferred for AI).
[Url]
public string? SubRtspUrl { get; init; }
}