For each H2H market an "artificial" match is created that contains the details about competitors from H2H, etc. The market on sr:simple_tournament contains the specifier that contains the reference to the "artificial" match. If we take sr:simple_tournament:1910 (H2H - Race - Drivers for Formula 1) and market 539 with specifier sr:matchmarket:18377109, you can see that it reference to match 18377109. If you check fixture for that match it has the following properties: - tournament: sr:simple_tournament:1910 - scheduled at 2019-06-07T14:00:00 - competitors: Hamilton, Lewis vs. Bottas, Valtteri Note |
---|
Please note Formula 1 will no longer be using sr:simple_tournament. Head2head markets will now be referenced using sr:stage:<id> as event IDs for those markets. Other sports with Head-2-head markets will still continue to use the old logic. |
Until now sr:simple_tournament:1910, sr:simple_tournament:1911, and sr:simple_tournament:1944 were used as event id for head2head markets. Instead of referencing head2head markets to the mentioned sr:simple_tournaments, we will from now on use sr:stage:<id> as event id for those markets in Formula 1. Code Block |
---|
language | xml |
---|
title | Example from the previous Formula 1 season using sr:simple_tournament |
---|
| <tournament id="sr:simple_tournament:1910" name="H2H - Race - Drivers">
<tournament_length start_date="2010-01-01" end_date="2045-01-01"/>
<sport id="sr:sport:11" name="Motorsport"/>
<category id="sr:category:36" name="Formula 1"/>
</tournament> |
Code Block |
---|
language | xml |
---|
title | Example from the upcoming Formula 1 season using sr:stage:<id> |
---|
| <fixture id="sr:stage:549043" scheduled="2020-03-15T05:10:00+00:00" start_time="2020-03-
15T05:10:00+00:00" scheduled_end="2020-03-15T07:10:00+00:00" name="Race" type="child">
<parent id="sr:stage:549027" name="Australian Grand Prix 2020" type="parent"/>
<tournament id="sr:stage:547803" scheduled="2020-03-13T01:00:00+00:00" scheduled_end="2020-
11-29T15:10:00+00:00" name="Formula 1 2020">
<sport id="sr:sport:11" name="Motorsport"/>
<category id="sr:category:36" name="Formula 1"/>
</tournament>
<extra_info/>
<product_info/>
</fixture> |
|