{
  "version": 1,
  "configs": [
    {
      "key": "scoreboard",
      "title": "Верхний счёт",
      "description": "Счёт, период, время и численные составы.",
      "endpoint": "/vmix/hockey/channel/{channel}/{language}/custom/scoreboard.json",
      "source_type": "scoreboard",
      "root_key": "rows",
      "output_mode": "columns",
      "default_limit": 1,
      "enabled": true,
      "columns": [
        {
          "key": "game_id",
          "label": "ID матча",
          "source": "game_id",
          "default": "",
          "enabled": true,
          "mode": "field"
        },
        {
          "key": "home_score",
          "label": "Счёт хозяев",
          "source": "home_score",
          "default": "",
          "enabled": true,
          "mode": "field"
        },
        {
          "key": "away_score",
          "label": "Счёт гостей",
          "source": "away_score",
          "default": "",
          "enabled": true,
          "mode": "field"
        },
        {
          "key": "period",
          "label": "Период",
          "source": "period",
          "default": "",
          "enabled": true,
          "mode": "field"
        },
        {
          "key": "time",
          "label": "Время",
          "source": "time",
          "default": "",
          "enabled": true,
          "mode": "field"
        },
        {
          "key": "timer_running",
          "label": "Таймер запущен",
          "source": "timer_running",
          "default": "",
          "enabled": true,
          "mode": "field"
        },
        {
          "key": "strength",
          "label": "Состав",
          "source": "strength",
          "default": "",
          "enabled": true,
          "mode": "field"
        },
        {
          "key": "strength_state_key",
          "label": "Ключ состава",
          "source": "strength_state_key",
          "default": "",
          "enabled": true,
          "mode": "field"
        },
        {
          "key": "strength_state_label",
          "label": "Подпись состава",
          "source": "strength_state_label",
          "default": "",
          "enabled": true,
          "mode": "field"
        },
        {
          "key": "home_strength",
          "label": "Игроков хозяев",
          "source": "home_strength",
          "default": "",
          "enabled": true,
          "mode": "field"
        },
        {
          "key": "away_strength",
          "label": "Игроков гостей",
          "source": "away_strength",
          "default": "",
          "enabled": true,
          "mode": "field"
        },
        {
          "key": "home_powerplay_label",
          "label": "Подпись хозяев",
          "source": "home_powerplay_label",
          "default": "",
          "enabled": true,
          "mode": "field"
        },
        {
          "key": "away_powerplay_label",
          "label": "Подпись гостей",
          "source": "away_powerplay_label",
          "default": "",
          "enabled": true,
          "mode": "field"
        },
        {
          "key": "status",
          "label": "Статус",
          "source": "status",
          "default": "",
          "enabled": true,
          "mode": "field"
        }
      ],
      "joins": [],
      "web_display": {
        "enabled": true,
        "tab_title": "Верхний счёт",
        "description": "Счёт, период, время и численные составы.",
        "columns": [
          "game_id",
          "home_score",
          "away_score",
          "period",
          "time",
          "timer_running",
          "strength",
          "strength_state_key",
          "strength_state_label",
          "home_strength",
          "away_strength",
          "home_powerplay_label",
          "away_powerplay_label",
          "status"
        ],
        "sort_key": "",
        "sort_dir": "asc"
      }
    },
    {
      "key": "info",
      "title": "Информация о матче",
      "description": "Команды, арена, дата, турнир и управление матчем.",
      "endpoint": "/vmix/hockey/channel/{channel}/{language}/custom/info.json",
      "source_type": "info",
      "root_key": "rows",
      "output_mode": "columns",
      "default_limit": 1,
      "enabled": true,
      "columns": [
        {
          "key": "game_id",
          "label": "ID матча",
          "source": "game_id",
          "default": "",
          "enabled": true,
          "mode": "field"
        },
        {
          "key": "home_team",
          "label": "Хозяева",
          "source": "home_team",
          "default": "",
          "enabled": true,
          "mode": "field"
        },
        {
          "key": "away_team",
          "label": "Гости",
          "source": "away_team",
          "default": "",
          "enabled": true,
          "mode": "field"
        },
        {
          "key": "arena",
          "label": "Арена",
          "source": "arena",
          "default": "",
          "enabled": true,
          "mode": "field"
        },
        {
          "key": "date",
          "label": "Дата",
          "source": "date",
          "default": "",
          "enabled": true,
          "mode": "field"
        },
        {
          "key": "start_time",
          "label": "Время начала",
          "source": "start_time",
          "default": "",
          "enabled": true,
          "mode": "field"
        },
        {
          "key": "tournament_title",
          "label": "Турнир",
          "source": "tournament.title",
          "default": "",
          "enabled": true,
          "mode": "field"
        },
        {
          "key": "period",
          "label": "Период",
          "source": "control.current_period",
          "default": "",
          "enabled": true,
          "mode": "field"
        }
      ],
      "joins": [],
      "web_display": {
        "enabled": true,
        "tab_title": "Информация о матче",
        "description": "Команды, арена, дата, турнир и управление матчем.",
        "columns": [
          "game_id",
          "home_team",
          "away_team",
          "arena",
          "date",
          "start_time",
          "tournament_title",
          "period"
        ],
        "sort_key": "",
        "sort_dir": "asc"
      }
    },
    {
      "key": "home_lineup",
      "title": "Состав хозяев",
      "description": "Все игроки левой команды.",
      "endpoint": "/vmix/hockey/channel/{channel}/{language}/custom/home_lineup.json",
      "source_type": "home_lineup",
      "root_key": "rows",
      "output_mode": "all",
      "default_limit": 0,
      "enabled": true,
      "columns": [],
      "joins": [],
      "web_display": {
        "enabled": true,
        "tab_title": "Состав хозяев",
        "description": "Все игроки левой команды.",
        "columns": [],
        "sort_key": "",
        "sort_dir": "asc"
      }
    },
    {
      "key": "away_lineup",
      "title": "Состав гостей",
      "description": "Все игроки правой команды.",
      "endpoint": "/vmix/hockey/channel/{channel}/{language}/custom/away_lineup.json",
      "source_type": "away_lineup",
      "root_key": "rows",
      "output_mode": "all",
      "default_limit": 0,
      "enabled": true,
      "columns": [],
      "joins": [],
      "web_display": {
        "enabled": true,
        "tab_title": "Состав гостей",
        "description": "Все игроки правой команды.",
        "columns": [],
        "sort_key": "",
        "sort_dir": "asc"
      }
    },
    {
      "key": "penalties",
      "title": "Активные удаления",
      "description": "Текущие удаления обеих команд.",
      "endpoint": "/vmix/hockey/channel/{channel}/{language}/custom/penalties.json",
      "source_type": "penalties",
      "root_key": "rows",
      "output_mode": "all",
      "default_limit": 0,
      "enabled": true,
      "columns": [],
      "joins": [],
      "web_display": {
        "enabled": true,
        "tab_title": "Активные удаления",
        "description": "Текущие удаления обеих команд.",
        "columns": [],
        "sort_key": "",
        "sort_dir": "asc"
      }
    },
    {
      "key": "officials",
      "title": "Судьи",
      "description": "Судьи выбранного матча.",
      "endpoint": "/vmix/hockey/channel/{channel}/{language}/custom/officials.json",
      "source_type": "officials",
      "root_key": "rows",
      "output_mode": "all",
      "default_limit": 0,
      "enabled": true,
      "columns": [],
      "joins": [],
      "web_display": {
        "enabled": true,
        "tab_title": "Судьи",
        "description": "Судьи выбранного матча.",
        "columns": [],
        "sort_key": "",
        "sort_dir": "asc"
      }
    },
    {
      "key": "events",
      "title": "События матча",
      "description": "Play-by-play и события выбранного матча.",
      "endpoint": "/vmix/hockey/channel/{channel}/{language}/custom/events.json",
      "source_type": "events",
      "root_key": "rows",
      "output_mode": "all",
      "default_limit": 0,
      "enabled": true,
      "columns": [],
      "joins": [],
      "web_display": {
        "enabled": true,
        "tab_title": "События матча",
        "description": "Play-by-play и события выбранного матча.",
        "columns": [],
        "sort_key": "",
        "sort_dir": "asc"
      }
    },
    {
      "key": "full_match",
      "title": "Полный матч",
      "description": "Сессия, турнир, матч и состояние управления одним объектом.",
      "endpoint": "/vmix/hockey/channel/{channel}/{language}/custom/full_match.json",
      "source_type": "full_match",
      "root_key": "rows",
      "output_mode": "all",
      "default_limit": 1,
      "enabled": true,
      "columns": [],
      "joins": [],
      "web_display": {
        "enabled": true,
        "tab_title": "Полный матч",
        "description": "Сессия, турнир, матч и состояние управления одним объектом.",
        "columns": [],
        "sort_key": "",
        "sort_dir": "asc"
      }
    }
  ]
}