Specifiers
In the Legacy Live Odds there is a concept called Special Odds Value. The equivalent in Unified Odds are called specifiers. The Unified Odds specifiers is a cleaned up version of the special odds values that provides a uniform and descriptive way of specifying additional parameters that uniquely identifies a market.
The differences are that legacy Live Odds only sends the values separated with a separator (usually a / symbol), while Unified Feed sends a key/value pair separated by the | symbol. The following example is from a cricket match, where the over/under bet of 2.5 (total=2.5) is set to the 5th “over” in the cricket match, represented by the “overnr=5” value.
- Legacy special odds value: "5/2.5"
- Unified feed specifiers: "overnr=5|total=2.5"
<market id="357" name="{!inningnr} innings over {overnr} - {$competitor2} total" groups="all|score|over">
<outcomes>
<outcome id="13" name="under {total}"/>
<outcome id="12" name="over {total}"/>
</outcomes>
<specifiers>
<specifier name="inningnr" type="integer"/>
<specifier name="overnr" type="integer"/>
<specifier name="total" type="decimal"/>
</specifiers>
</market>