using System.Text.Json.Serialization; namespace Jellyfin.Plugin.SceneSearch; internal sealed class SceneSearchResponse { [JsonPropertyName("items")] public List Items { get; set; } = []; } internal sealed class SceneSearchItem { [JsonPropertyName("jellyfin_item_id")] public string? JellyfinItemId { get; set; } [JsonPropertyName("jellyfin_item_type")] public string? JellyfinItemType { get; set; } [JsonPropertyName("title")] public string? Title { get; set; } [JsonPropertyName("best_timestamp_ms")] public long BestTimestampMs { get; set; } [JsonPropertyName("best_caption")] public string? BestCaption { get; set; } [JsonPropertyName("ranking_score")] public double? RankingScore { get; set; } [JsonPropertyName("siglip_score")] public double? SiglipScore { get; set; } [JsonPropertyName("scene_matches")] public int SceneMatches { get; set; } }