﻿<scoreboard_rules>
<groups>
     <group id="live" label="Live" foreground="ffffff" background="ff9900"  >
        <game status="Warmup" />
        <game status="In Progress" />
        <game status= "Delayed" />
    </group>
    <group id="preview" label="Schedule" foreground="ffffff" background="6699cc" >
        <game status="Preview" />
        <game status="Pre-Game" />
        <game status="Delayed Start" />
		<game status="Suspended" /> <!-- there is an exception in code to handle susp -->
    </group>
    <group id="final" label="Final" foreground="ffffff" background="cc0000"  >
        <game status="Game Over" />
        <game status="Final" />
        <game status="Completed Early" />
        <game status="Forfeit" />
        <game status="Suspended" /> <!-- there is an exception in code to handle susp -->
        <game status="Postponed" />
        <game status="Cancelled" />
    </group>
</groups>
<!-- attrbs need adding for postseason: curr_opp="off" win_lose="off" headline="off" error="on" season_stats="on" -->
<!--
	Chat was turned to off for Postseason.
	Needs to be turned on for Pre-Game, Warmup, Delayed, In Progress, Game Over in regular season.
	Myles
-->
<rules>
    <rule status="Preview"  team="on"  score="off"  inning="off" time="on" state_ind="off" chat="off" mlbtv="off" audio="off" preview="on" gameday="off" video="off"  box="off" wrap="off" press_pass="on" />   
    <rule status="Pre-Game" team="on"  score="off"  inning="off" time="on" state_ind="off" chat="off" mlbtv="off" audio="off" preview="off" gameday="on" video="off"  box="off" wrap="off" press_pass="off" />
    <rule status="Warmup" team="on"  score="on"  inning="on" time="off" state_ind="off" chat="off" mlbtv="on" audio="on" preview="off" gameday="on" video="off"  box="off" wrap="off" press_pass="off" />
    <rule status="Delayed Start" team="on"  score="on"  inning="on" time="off" state_ind="on" chat="off" mlbtv="on" audio="on" preview="off" gameday="on" video="off"  box="off" wrap="off" press_pass="off" />
    <rule status="In Progress" team="on"  score="on"  inning="on" time="off" state_ind="off" chat="off" mlbtv="on" audio="on" preview="off" gameday="on" video="off"  box="off" wrap="off" press_pass="off" />
    <rule status="Delayed" team="on"  score="on"  inning="on" time="off" state_ind="on" chat="off" mlbtv="on" audio="on" preview="off" gameday="on" video="off"  box="off" wrap="off" press_pass="off" />
    <rule status="Game Over" team="on"  score="on"  inning="off" time="off" state_ind="off" chat="off" mlbtv="off" audio="off" preview="off" gameday="on" video="on"  box="off" wrap="on" press_pass="off" />
    <rule status="Final" team="on"  score="on"  inning="off" time="off" state_ind="on" chat="off" mlbtv="off" audio="off" preview="off" gameday="off" video="on"  box="on" wrap="on" press_pass="off" />
    <rule status="Completed Early" team="on"  score="on"  inning="off" time="off" state_ind="on" chat="off" mlbtv="off" audio="off" preview="off" gameday="off" video="on"  box="on" wrap="on" press_pass="off" />
    <rule status="Suspended" team="on"  score="on"  inning="off" time="off" state_ind="on" chat="off" mlbtv="off" audio="off" preview="off" gameday="off" video="on"  box="on" wrap="on" press_pass="off" />
    <rule status="Forfeit" team="on"  score="off"  inning="off" time="off" state_ind="on" chat="off" mlbtv="off" audio="off" preview="off" gameday="off" video="off"  box="off" wrap="on" press_pass="off" />
    <rule status="Postponed" team="on"  score="off"  inning="off" time="off" state_ind="on" chat="off" mlbtv="off" audio="off" preview="off" gameday="off" video="off"  box="off" wrap="off" press_pass="off" />
    <rule status="Cancelled" team="on"  score="off"  inning="off" time="off" state_ind="on" chat="off" mlbtv="off" audio="off" preview="off" gameday="off" video="off"  box="off" wrap="off" press_pass="off" />
</rules>
<!-- links rule:
- each subnode name must match one of the rule attribute name, except for probables
- specify param="on" or "off" to indicate whether variable params should be handled in the url 
- variable params are wrapped with [ ]. param name must match game node attribute OR standard date format yyyymmdd. note the key:value structure is very important. 
   for example: http://mlb.mlb.com/NASApp/mlb/news/boxscore.jsp?gid=[attribute:gameday_link]&date=[date:yyyymmdd]
- in the future, the same structure can support [xpath:query] style params, but not yet   
- default links are - all medialinks, gameday, and all links passed in from CMS. these do not need to be listed in the links node
- if a node exist but contains no link value, it will override the label and try to find default value. default value is available for CMS links only
 -->
<links>
       <!--<probables label="PROBABLES" param="on"></probables> -->
       <team label="default" param="on" >http://mlb.mlb.com/index.jsp?c_id=[attribute:team_code]</team>
       <box label="BOX" param="on" >http://mlb.mlb.com/news/boxscore.jsp?gid=[attribute:gameday_link]</box>
       <video label="VIDEO" param="off">http://mlb.mlb.com/mediacenter/index.jsp</video>
       <press_pass label="PRESS PASS" param="off">http://mlb.mlb.com/mlb/presspass/mlb_gameday_presspass.jsp</press_pass>
       <wrap label="WRAP"></wrap>
</links>
</scoreboard_rules>
