{
    "web_display_autostart": true,
    "schedule": {
        "enabled": false,
        "start_time": "07:00",
        "end_time": "23:00"
    },
    "timezone": "America/Toronto",
    "location": {
        "city": "Ottawa",
        "state": "Ontario",
        "country": "CA"
    },
    "display": {
        "hardware": {
            "rows": 32,
            "cols": 64,
            "chain_length": 2,
            "parallel": 1,
            "brightness": 90,
            "hardware_mapping": "adafruit-hat-pwm",
            "scan_mode": 0,
            "pwm_bits": 9,
            "pwm_dither_bits": 1,
            "pwm_lsb_nanoseconds": 130,
            "disable_hardware_pulsing": false,
            "inverse_colors": false,
            "show_refresh_rate": false,
            "limit_refresh_rate_hz": 100
        },
        "runtime": {
            "gpio_slowdown": 3
        },
        "display_durations": {
            "clock": 15,
            "leaderboard": 300,
            "nhl_live": 30,
            "nhl_recent": 30,
            "nhl_upcoming": 30,
            "eojhl_live": 30,
            "eojhl_recent": 30,
            "eojhl_upcoming": 30,
            "text_display": 10,
            "static_image": 10
        },
        "use_short_date_format": true
    },
    "clock": {
        "enabled": false,
        "format": "%I:%M %p",
        "update_interval": 1
    },
    "leaderboard": {
        "enabled": true,
        "enabled_sports": {
            "nhl": {
                "enabled": true,
                "top_teams": 10
            },
            "eojhl": ["mar","ric"]
        },
        "league_configs": {
            "mar": {
                "enabled": false,
                "sport": "eojhl",
                "league": "Martin Division", 
                "logo_dir": "assets/sports/eojhl_logos",
                "league_logo": "assets/sports/eojhl_logos/mar.png",
                "standings_url": "local_file_data"
            },
            "ric": {
                "enabled": false,
                "sport": "eojhl",
                "league": "Richardson Division",
                "logo_dir": "assets/sports/eojhl_logos",
                "league_logo": "assets/sports/eojhl_logos/ric.png",
                "standings_url": "local_file_data"
            }
        },
        "update_interval": 3600,
        "scroll_speed": 1,
        "scroll_delay": 0.01,
        "loop": false,
        "request_timeout": 30,
        "dynamic_duration": true,
        "min_duration": 30,
        "max_display_time": 600
    },
    "nhl_scoreboard": {
        "enabled": true,
        "live_priority": false,
        "live_game_duration": 20,
        "show_odds": true,
        "test_mode": false,
        "update_interval_seconds": 3600,
        "live_update_interval": 30,
        "recent_update_interval": 3600,
        "upcoming_update_interval": 3600,
        "recent_games_to_show": 1,
        "upcoming_games_to_show": 1,
        "show_favorite_teams_only": true,
        "show_all_live": false,
        "show_shots_on_goal": false,
        "favorite_teams": [
            "OTT",
            "COL"
        ],
        "logo_dir": "assets/sports/nhl_logos",
        "show_records": true,
        "display_modes": {
            "nhl_live": true,
            "nhl_recent": true,
            "nhl_upcoming": true
        }
    },
    "eojhl_scoreboard": {
        "enabled": true,
        "live_priority": false,
        "live_game_duration": 20,
        "test_mode": false,
        "update_interval_seconds": 600,  
        "live_update_interval": 30,      
        "recent_games_to_show": 1,
        "upcoming_games_to_show": 1,
        "show_favorite_teams_only": true,
        "show_all_live": false,
        "favorite_teams": [
            "RCH"
        ],
        "logo_dir": "assets/sports/eojhl_logos",
        "show_records": true,
        "display_modes": {
            "eojhl_live": false,
            "eojhl_recent": true,
            "eojhl_upcoming": true
        }
    },
    "text_display": {
        "enabled": false,
        "text": "Subscribe to ChuckBuilds",
        "font_path": "assets/fonts/press-start-2p.ttf",
        "font_size": 8,
        "scroll": true,
        "scroll_speed": 40,
        "text_color": [
            255,
            0,
            0
        ],
        "background_color": [
            0,
            0,
            0
        ],
        "scroll_gap_width": 32
    },
    "static_image": {
        "enabled": false,
        "image_path": "assets/static_images/default.png",
        "fit_to_display": true,
        "preserve_aspect_ratio": true,
        "background_color": [
            0,
            0,
            0
        ]
    }
}
