@winible/winible-typed 2.78.0 → 2.79.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/opticodds/index.js +24 -0
- package/dist/opticodds/index.js.map +1 -0
- package/dist/opticodds/openapi.json +24316 -0
- package/dist/opticodds/schemas.js +88 -0
- package/dist/opticodds/schemas.js.map +1 -0
- package/dist/opticodds/sdk.js +200 -0
- package/dist/opticodds/sdk.js.map +1 -0
- package/dist/opticodds/types.js +3 -0
- package/dist/opticodds/types.js.map +1 -0
- package/dist/typed-model/affiliate-link.js +6 -0
- package/dist/typed-model/affiliate-link.js.map +1 -1
- package/dist/typed-model/{recurly-payment-monitoring-whitelist.js → featured-capper.js} +22 -16
- package/dist/typed-model/featured-capper.js.map +1 -0
- package/dist/utils/lambdaUtils/logger.js +90 -0
- package/dist/utils/lambdaUtils/logger.js.map +1 -0
- package/opticodds/index.ts +2 -0
- package/opticodds/openapi.json +24316 -0
- package/opticodds/schemas.ts +85 -0
- package/opticodds/sdk.ts +250 -0
- package/opticodds/types.ts +85 -0
- package/package.json +7 -2
- package/dist/event-collector-models/config/config.js +0 -30
- package/dist/event-collector-models/config/config.js.map +0 -1
- package/dist/migration_numerical_id_to_external_id.js +0 -59
- package/dist/migration_numerical_id_to_external_id.js.map +0 -1
- package/dist/migrations/20241123184623-recurly-payment-monitoring-whitelist.js +0 -33
- package/dist/migrations/20241123184623-recurly-payment-monitoring-whitelist.js.map +0 -1
- package/dist/typed-model/recurly-payment-monitoring-whitelist.js.map +0 -1
- package/event-collector-models/config/config.ts +0 -29
@@ -0,0 +1,85 @@
|
|
1
|
+
const GetConferences = {"metadata":{"allOf":[{"type":"object","properties":{"sport":{"title":"sport","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"league":{"title":"league","type":"string","$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"title":"ConferencesExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"Conference","required":["name","leagues"],"type":"object","properties":{"name":{"title":"Name","type":"string"},"leagues":{"title":"Leagues","type":"array","items":{"title":"BaseLeague","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}}}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
2
|
+
;
|
3
|
+
const GetCopilotFixturesOdds = {"metadata":{"allOf":[{"type":"object","properties":{"fixture_id":{"title":"fixture_id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"player_id":{"title":"player_id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"team_id":{"title":"team_id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"market":{"title":"market","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"is_main":{"title":"is_main","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"odds_format":{"title":"odds_format","type":"string","default":"AMERICAN","$schema":"http://json-schema.org/draft-04/schema#"},"version_id":{"title":"version_id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"title":"FixtureWithCopilotOddsExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"FixtureWithCopilotOdds","required":["id","start_date","home_competitors","away_competitors","status","is_live","venue_neutral","sport","league","odds"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"game_id":{"title":"Game Id","type":"string"},"start_date":{"title":"Start Date","type":"string","format":"date-time"},"home_competitors":{"title":"Home Competitors","type":"array","items":{"title":"Competitor","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"},"abbreviation":{"title":"Abbreviation","type":"string"},"logo":{"title":"Logo","type":"string"}}}},"away_competitors":{"title":"Away Competitors","type":"array","items":{"title":"Competitor","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"},"abbreviation":{"title":"Abbreviation","type":"string"},"logo":{"title":"Logo","type":"string"}}}},"home_team_display":{"title":"Home Team Display","type":"string"},"away_team_display":{"title":"Away Team Display","type":"string"},"status":{"title":"Status","type":"string"},"is_live":{"title":"Is Live","type":"boolean"},"season_type":{"title":"Season Type","type":"string"},"season_year":{"title":"Season Year","type":"string"},"season_week":{"title":"Season Week","type":"string"},"venue_name":{"title":"Venue Name","type":"string"},"venue_location":{"title":"Venue Location","type":"string"},"venue_neutral":{"title":"Venue Neutral","type":"boolean"},"sport":{"title":"BaseSport","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"league":{"title":"BaseLeague","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"tournament":{"title":"BaseTournament","required":["id","name","start_date"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"start_date":{"title":"Start Date","type":"string","format":"date-time"},"end_date":{"title":"End Date","type":"string","format":"date-time"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"odds":{"title":"Odds","type":"array","items":{"title":"CopilotFixtureOdd","required":["id","version_id","version","odd_id","market","name","is_main","selection","normalized_selection","market_id","price","timestamp"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"version_id":{"title":"Version Id","type":"integer"},"version":{"title":"Version","type":"string"},"odd_id":{"title":"Odd Id","type":"string"},"market":{"title":"Market","type":"string"},"name":{"title":"Name","type":"string"},"is_main":{"title":"Is Main","type":"boolean"},"selection":{"title":"Selection","type":"string"},"normalized_selection":{"title":"Normalized Selection","type":"string"},"market_id":{"title":"Market Id","type":"string"},"price":{"title":"Price","type":"number"},"timestamp":{"title":"Timestamp","type":"number"},"grouping_key":{"title":"Grouping Key","type":"string"},"points":{"title":"Points","type":"number"},"selection_line":{"title":"Selection Line","type":"string"},"player_id":{"title":"Player Id","type":"string"},"team_id":{"title":"Team Id","type":"string"}}}}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
4
|
+
;
|
5
|
+
const GetCopilotGraderOdds = {"metadata":{"allOf":[{"type":"object","properties":{"id":{"title":"id","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"}},"required":["id"]}]},"response":{"200":{"title":"CopilotOddsGraderExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"CopilotOddsGraderEntry","required":["id","status"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"status":{"title":"Status","type":"string"},"settled_at":{"title":"Settled At","type":"string","format":"date-time"}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
6
|
+
;
|
7
|
+
const GetCopilotParlayOdds = {"metadata":{"allOf":[{"type":"object","properties":{"id":{"title":"id","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"},"odds_format":{"title":"odds_format","type":"string","default":"AMERICAN","$schema":"http://json-schema.org/draft-04/schema#"}},"required":["id"]}]},"response":{"200":{"title":"CopilotParlayOddsExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"CopilotParlayOddsSportsbookData","type":"object","properties":{"error":{"title":"Error","type":"string"},"missing_entries":{"title":"Missing Entries","type":"array","items":{"title":"CopilotParlayOddsSportsbookLeg","required":["id"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"price":{"title":"Price","type":"number"}}}},"legs":{"title":"Legs","type":"array","items":{"title":"CopilotParlayOddsSportsbookLeg","required":["id"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"price":{"title":"Price","type":"number"}}}},"price":{"title":"Price","type":"number"}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
8
|
+
;
|
9
|
+
const GetCopilotQueueStatus = {"metadata":{"allOf":[{"type":"object","properties":{"id":{"title":"id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"title":"CopilotQueueStatusExtResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"CopilotQueue","required":["id","queue_name","enabled"],"type":"object","properties":{"id":{"title":"Id","type":"integer"},"queue_name":{"title":"Queue Name","type":"string"},"enabled":{"title":"Enabled","type":"boolean"},"is_live":{"title":"Is Live","type":"boolean"},"odds_format":{"title":"Odds Format","type":"string"},"num_consumers":{"title":"Num Consumers","type":"integer"},"num_messages":{"title":"Num Messages","type":"integer"},"messages_per_second":{"title":"Messages Per Second","type":"number"}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
10
|
+
;
|
11
|
+
const GetDivisions = {"metadata":{"allOf":[{"type":"object","properties":{"sport":{"title":"sport","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"league":{"title":"league","type":"string","$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"title":"DivisionsExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"Division","required":["name","leagues"],"type":"object","properties":{"name":{"title":"Name","type":"string"},"leagues":{"title":"Leagues","type":"array","items":{"title":"BaseLeague","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}}}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
12
|
+
;
|
13
|
+
const GetFixtureResultsQueueStatus = {"metadata":{"allOf":[{"type":"object","properties":{"id":{"title":"id","type":"string","$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"title":"FixtureResultsQueueStatusExtResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"FixtureResultsQueue","required":["id","queue_name","enabled","sports"],"type":"object","properties":{"id":{"title":"Id","type":"integer"},"queue_name":{"title":"Queue Name","type":"string"},"enabled":{"title":"Enabled","type":"boolean"},"sports":{"title":"Sports","type":"array","items":{"type":"string"}},"leagues":{"title":"Leagues","type":"array","items":{"type":"string"}},"num_consumers":{"title":"Num Consumers","type":"integer"},"num_messages":{"title":"Num Messages","type":"integer"},"messages_per_second":{"title":"Messages Per Second","type":"number"}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
14
|
+
;
|
15
|
+
const GetFixtures = {"metadata":{"allOf":[{"type":"object","properties":{"sport":{"title":"sport","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"league":{"title":"league","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"id":{"title":"id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"numerical_id":{"title":"numerical_id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"page":{"title":"page","type":"string","default":1,"$schema":"http://json-schema.org/draft-04/schema#"},"include_statsperform_id":{"title":"include_statsperform_id","type":"string","default":false,"$schema":"http://json-schema.org/draft-04/schema#"},"division":{"title":"division","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"},"conference":{"title":"conference","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"},"start_date_before":{"title":"start_date_before","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"start_date_after":{"title":"start_date_after","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"start_date":{"title":"start_date","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"team_id":{"title":"team_id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"include_starting_lineups":{"title":"include_starting_lineups","type":"string","default":false,"$schema":"http://json-schema.org/draft-04/schema#"},"season_year":{"title":"season_year","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"season_week":{"title":"season_week","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"season_type":{"title":"season_type","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"status":{"title":"status","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"is_live":{"title":"is_live","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"tournament_id":{"title":"tournament_id","type":"string","$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"title":"FixturesExternalResponse","required":["data","page","total_pages"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"Fixture","required":["id","start_date","home_competitors","away_competitors","status","is_live","venue_neutral","sport","league","has_odds"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"game_id":{"title":"Game Id","type":"string"},"start_date":{"title":"Start Date","type":"string","format":"date-time"},"home_competitors":{"title":"Home Competitors","type":"array","items":{"title":"Competitor","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"},"abbreviation":{"title":"Abbreviation","type":"string"},"logo":{"title":"Logo","type":"string"}}}},"away_competitors":{"title":"Away Competitors","type":"array","items":{"title":"Competitor","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"},"abbreviation":{"title":"Abbreviation","type":"string"},"logo":{"title":"Logo","type":"string"}}}},"home_team_display":{"title":"Home Team Display","type":"string"},"away_team_display":{"title":"Away Team Display","type":"string"},"status":{"title":"Status","type":"string"},"is_live":{"title":"Is Live","type":"boolean"},"season_type":{"title":"Season Type","type":"string"},"season_year":{"title":"Season Year","type":"string"},"season_week":{"title":"Season Week","type":"string"},"venue_name":{"title":"Venue Name","type":"string"},"venue_location":{"title":"Venue Location","type":"string"},"venue_neutral":{"title":"Venue Neutral","type":"boolean"},"sport":{"title":"BaseSport","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"league":{"title":"BaseLeague","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"home_starter":{"title":"Home Starter","type":"string"},"home_starter_id":{"title":"Home Starter Id","type":"string"},"home_record":{"title":"Home Record","type":"string"},"home_seed":{"title":"Home Seed","type":"string"},"home_rotation_number":{"title":"Home Rotation Number","type":"integer"},"away_starter":{"title":"Away Starter","type":"string"},"away_starter_id":{"title":"Away Starter Id","type":"string"},"away_record":{"title":"Away Record","type":"string"},"away_seed":{"title":"Away Seed","type":"string"},"away_rotation_number":{"title":"Away Rotation Number","type":"integer"},"tournament":{"title":"BaseTournament","required":["id","name","start_date"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"start_date":{"title":"Start Date","type":"string","format":"date-time"},"end_date":{"title":"End Date","type":"string","format":"date-time"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"tournament_stage":{"title":"Tournament Stage","type":"string"},"has_odds":{"title":"Has Odds","type":"boolean"},"broadcast":{"title":"Broadcast","type":"string"},"result":{"title":"BaseResult","required":["scores"],"type":"object","properties":{"scores":{"title":"Scores","required":["home","away"],"type":"object","properties":{"home":{"title":"Score","type":"object","properties":{"total":{"title":"Total","type":"number"},"periods":{"title":"Periods","type":"object","additionalProperties":{"type":"number"}},"aggregate":{"title":"Aggregate","type":"number"}}},"away":{"title":"Score","type":"object","properties":{"total":{"title":"Total","type":"number"},"periods":{"title":"Periods","type":"object","additionalProperties":{"type":"number"}},"aggregate":{"title":"Aggregate","type":"number"}}}}},"in_play_data":{"title":"BaseInPlayData","type":"object","properties":{"period":{"title":"Period","type":"string"},"clock":{"title":"Clock","type":"string"},"last_play":{"title":"Last Play","type":"string"}}}}},"lineups":{"title":"Lineups","required":["home","away"],"type":"object","properties":{"home":{"title":"Home","type":"array","items":{"title":"LineupPlayer","required":["player_id","player_name","player_team","player_position"],"type":"object","properties":{"player_id":{"title":"Player Id","type":"string"},"player_name":{"title":"Player Name","type":"string"},"player_team":{"title":"Player Team","type":"string"},"player_position":{"title":"Player Position","type":"string"},"player_batting_throwing":{"title":"Player Batting Throwing","type":"string"},"is_substitute":{"title":"Is Substitute","type":"boolean"}}}},"away":{"title":"Away","type":"array","items":{"title":"LineupPlayer","required":["player_id","player_name","player_team","player_position"],"type":"object","properties":{"player_id":{"title":"Player Id","type":"string"},"player_name":{"title":"Player Name","type":"string"},"player_team":{"title":"Player Team","type":"string"},"player_position":{"title":"Player Position","type":"string"},"player_batting_throwing":{"title":"Player Batting Throwing","type":"string"},"is_substitute":{"title":"Is Substitute","type":"boolean"}}}}}},"weather":{"title":"Weather","type":"string"},"weather_temp":{"title":"Weather Temp","type":"string"},"source_ids":{"title":"Source Ids","type":"object","additionalProperties":{"type":"string"},"default":{}}}}},"page":{"title":"Page","type":"integer"},"total_pages":{"title":"Total Pages","type":"integer"}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
16
|
+
;
|
17
|
+
const GetFixturesActive = {"metadata":{"allOf":[{"type":"object","properties":{"sport":{"title":"sport","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"league":{"title":"league","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"id":{"title":"id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"numerical_id":{"title":"numerical_id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"page":{"title":"page","type":"string","default":1,"$schema":"http://json-schema.org/draft-04/schema#"},"include_statsperform_id":{"title":"include_statsperform_id","type":"string","default":false,"$schema":"http://json-schema.org/draft-04/schema#"},"division":{"title":"division","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"},"conference":{"title":"conference","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"},"start_date_before":{"title":"start_date_before","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"start_date_after":{"title":"start_date_after","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"start_date":{"title":"start_date","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"team_id":{"title":"team_id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"include_starting_lineups":{"title":"include_starting_lineups","type":"string","default":false,"$schema":"http://json-schema.org/draft-04/schema#"},"season_year":{"title":"season_year","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"season_week":{"title":"season_week","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"season_type":{"title":"season_type","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"status":{"title":"status","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"is_live":{"title":"is_live","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"tournament_id":{"title":"tournament_id","type":"string","$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"title":"FixturesExternalResponse","required":["data","page","total_pages"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"Fixture","required":["id","start_date","home_competitors","away_competitors","status","is_live","venue_neutral","sport","league","has_odds"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"game_id":{"title":"Game Id","type":"string"},"start_date":{"title":"Start Date","type":"string","format":"date-time"},"home_competitors":{"title":"Home Competitors","type":"array","items":{"title":"Competitor","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"},"abbreviation":{"title":"Abbreviation","type":"string"},"logo":{"title":"Logo","type":"string"}}}},"away_competitors":{"title":"Away Competitors","type":"array","items":{"title":"Competitor","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"},"abbreviation":{"title":"Abbreviation","type":"string"},"logo":{"title":"Logo","type":"string"}}}},"home_team_display":{"title":"Home Team Display","type":"string"},"away_team_display":{"title":"Away Team Display","type":"string"},"status":{"title":"Status","type":"string"},"is_live":{"title":"Is Live","type":"boolean"},"season_type":{"title":"Season Type","type":"string"},"season_year":{"title":"Season Year","type":"string"},"season_week":{"title":"Season Week","type":"string"},"venue_name":{"title":"Venue Name","type":"string"},"venue_location":{"title":"Venue Location","type":"string"},"venue_neutral":{"title":"Venue Neutral","type":"boolean"},"sport":{"title":"BaseSport","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"league":{"title":"BaseLeague","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"home_starter":{"title":"Home Starter","type":"string"},"home_starter_id":{"title":"Home Starter Id","type":"string"},"home_record":{"title":"Home Record","type":"string"},"home_seed":{"title":"Home Seed","type":"string"},"home_rotation_number":{"title":"Home Rotation Number","type":"integer"},"away_starter":{"title":"Away Starter","type":"string"},"away_starter_id":{"title":"Away Starter Id","type":"string"},"away_record":{"title":"Away Record","type":"string"},"away_seed":{"title":"Away Seed","type":"string"},"away_rotation_number":{"title":"Away Rotation Number","type":"integer"},"tournament":{"title":"BaseTournament","required":["id","name","start_date"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"start_date":{"title":"Start Date","type":"string","format":"date-time"},"end_date":{"title":"End Date","type":"string","format":"date-time"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"tournament_stage":{"title":"Tournament Stage","type":"string"},"has_odds":{"title":"Has Odds","type":"boolean"},"broadcast":{"title":"Broadcast","type":"string"},"result":{"title":"BaseResult","required":["scores"],"type":"object","properties":{"scores":{"title":"Scores","required":["home","away"],"type":"object","properties":{"home":{"title":"Score","type":"object","properties":{"total":{"title":"Total","type":"number"},"periods":{"title":"Periods","type":"object","additionalProperties":{"type":"number"}},"aggregate":{"title":"Aggregate","type":"number"}}},"away":{"title":"Score","type":"object","properties":{"total":{"title":"Total","type":"number"},"periods":{"title":"Periods","type":"object","additionalProperties":{"type":"number"}},"aggregate":{"title":"Aggregate","type":"number"}}}}},"in_play_data":{"title":"BaseInPlayData","type":"object","properties":{"period":{"title":"Period","type":"string"},"clock":{"title":"Clock","type":"string"},"last_play":{"title":"Last Play","type":"string"}}}}},"lineups":{"title":"Lineups","required":["home","away"],"type":"object","properties":{"home":{"title":"Home","type":"array","items":{"title":"LineupPlayer","required":["player_id","player_name","player_team","player_position"],"type":"object","properties":{"player_id":{"title":"Player Id","type":"string"},"player_name":{"title":"Player Name","type":"string"},"player_team":{"title":"Player Team","type":"string"},"player_position":{"title":"Player Position","type":"string"},"player_batting_throwing":{"title":"Player Batting Throwing","type":"string"},"is_substitute":{"title":"Is Substitute","type":"boolean"}}}},"away":{"title":"Away","type":"array","items":{"title":"LineupPlayer","required":["player_id","player_name","player_team","player_position"],"type":"object","properties":{"player_id":{"title":"Player Id","type":"string"},"player_name":{"title":"Player Name","type":"string"},"player_team":{"title":"Player Team","type":"string"},"player_position":{"title":"Player Position","type":"string"},"player_batting_throwing":{"title":"Player Batting Throwing","type":"string"},"is_substitute":{"title":"Is Substitute","type":"boolean"}}}}}},"weather":{"title":"Weather","type":"string"},"weather_temp":{"title":"Weather Temp","type":"string"},"source_ids":{"title":"Source Ids","type":"object","additionalProperties":{"type":"string"},"default":{}}}}},"page":{"title":"Page","type":"integer"},"total_pages":{"title":"Total Pages","type":"integer"}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
18
|
+
;
|
19
|
+
const GetFixturesOdds = {"metadata":{"allOf":[{"type":"object","properties":{"sportsbook":{"title":"sportsbook","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"},"fixture_id":{"title":"fixture_id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"player_id":{"title":"player_id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"team_id":{"title":"team_id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"market":{"title":"market","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"is_main":{"title":"is_main","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"odds_format":{"title":"odds_format","type":"string","default":"AMERICAN","$schema":"http://json-schema.org/draft-04/schema#"}},"required":["sportsbook"]}]},"response":{"200":{"title":"FixtureWithOddsExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"FixtureWithOdds","required":["id","start_date","home_competitors","away_competitors","status","is_live","venue_neutral","sport","league","odds"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"game_id":{"title":"Game Id","type":"string"},"start_date":{"title":"Start Date","type":"string","format":"date-time"},"home_competitors":{"title":"Home Competitors","type":"array","items":{"title":"Competitor","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"},"abbreviation":{"title":"Abbreviation","type":"string"},"logo":{"title":"Logo","type":"string"}}}},"away_competitors":{"title":"Away Competitors","type":"array","items":{"title":"Competitor","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"},"abbreviation":{"title":"Abbreviation","type":"string"},"logo":{"title":"Logo","type":"string"}}}},"home_team_display":{"title":"Home Team Display","type":"string"},"away_team_display":{"title":"Away Team Display","type":"string"},"status":{"title":"Status","type":"string"},"is_live":{"title":"Is Live","type":"boolean"},"season_type":{"title":"Season Type","type":"string"},"season_year":{"title":"Season Year","type":"string"},"season_week":{"title":"Season Week","type":"string"},"venue_name":{"title":"Venue Name","type":"string"},"venue_location":{"title":"Venue Location","type":"string"},"venue_neutral":{"title":"Venue Neutral","type":"boolean"},"sport":{"title":"BaseSport","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"league":{"title":"BaseLeague","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"tournament":{"title":"BaseTournament","required":["id","name","start_date"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"start_date":{"title":"Start Date","type":"string","format":"date-time"},"end_date":{"title":"End Date","type":"string","format":"date-time"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"odds":{"title":"Odds","type":"array","items":{"title":"FixtureOdd","required":["id","sportsbook","market","name","is_main","selection","normalized_selection","market_id","price","timestamp"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"sportsbook":{"title":"Sportsbook","type":"string"},"market":{"title":"Market","type":"string"},"name":{"title":"Name","type":"string"},"is_main":{"title":"Is Main","type":"boolean"},"selection":{"title":"Selection","type":"string"},"normalized_selection":{"title":"Normalized Selection","type":"string"},"market_id":{"title":"Market Id","type":"string"},"selection_line":{"title":"Selection Line","type":"string"},"player_id":{"title":"Player Id","type":"string"},"team_id":{"title":"Team Id","type":"string"},"price":{"title":"Price","type":"number"},"timestamp":{"title":"Timestamp","type":"number"},"grouping_key":{"title":"Grouping Key","type":"string"},"points":{"title":"Points","type":"number"},"deep_link":{"title":"Deep Link","type":"object","additionalProperties":{"type":"string"}},"limits":{"title":"FixtureOddLimit","type":"object","properties":{"max":{"title":"Max","type":"number"}}}}}}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
20
|
+
;
|
21
|
+
const GetFixturesOddsHistorical = {"metadata":{"allOf":[{"type":"object","properties":{"fixture_id":{"title":"fixture_id","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"market":{"title":"market","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"sportsbook":{"title":"sportsbook","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"},"is_main":{"title":"is_main","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"odds_format":{"title":"odds_format","type":"string","default":"AMERICAN","$schema":"http://json-schema.org/draft-04/schema#"},"include_timeseries":{"title":"include_timeseries","type":"string","default":false,"$schema":"http://json-schema.org/draft-04/schema#"},"include_locked":{"title":"include_locked","type":"string","default":false,"$schema":"http://json-schema.org/draft-04/schema#"}},"required":["fixture_id","sportsbook"]}]},"response":{"200":{"title":"FixtureWithHistoricalOddsExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"FixtureWithHistoricalOdds","required":["id","start_date","home_competitors","away_competitors","status","is_live","venue_neutral","sport","league","odds"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"game_id":{"title":"Game Id","type":"string"},"start_date":{"title":"Start Date","type":"string","format":"date-time"},"home_competitors":{"title":"Home Competitors","type":"array","items":{"title":"Competitor","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"},"abbreviation":{"title":"Abbreviation","type":"string"},"logo":{"title":"Logo","type":"string"}}}},"away_competitors":{"title":"Away Competitors","type":"array","items":{"title":"Competitor","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"},"abbreviation":{"title":"Abbreviation","type":"string"},"logo":{"title":"Logo","type":"string"}}}},"home_team_display":{"title":"Home Team Display","type":"string"},"away_team_display":{"title":"Away Team Display","type":"string"},"status":{"title":"Status","type":"string"},"is_live":{"title":"Is Live","type":"boolean"},"season_type":{"title":"Season Type","type":"string"},"season_year":{"title":"Season Year","type":"string"},"season_week":{"title":"Season Week","type":"string"},"venue_name":{"title":"Venue Name","type":"string"},"venue_location":{"title":"Venue Location","type":"string"},"venue_neutral":{"title":"Venue Neutral","type":"boolean"},"sport":{"title":"BaseSport","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"league":{"title":"BaseLeague","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"tournament":{"title":"BaseTournament","required":["id","name","start_date"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"start_date":{"title":"Start Date","type":"string","format":"date-time"},"end_date":{"title":"End Date","type":"string","format":"date-time"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"odds":{"title":"Odds","type":"array","items":{"title":"FixtureHistoricalOdd","required":["id","sportsbook","market","name","is_main","selection","normalized_selection","market_id"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"sportsbook":{"title":"Sportsbook","type":"string"},"market":{"title":"Market","type":"string"},"name":{"title":"Name","type":"string"},"is_main":{"title":"Is Main","type":"boolean"},"selection":{"title":"Selection","type":"string"},"normalized_selection":{"title":"Normalized Selection","type":"string"},"market_id":{"title":"Market Id","type":"string"},"selection_line":{"title":"Selection Line","type":"string"},"player_id":{"title":"Player Id","type":"string"},"team_id":{"title":"Team Id","type":"string"},"deep_link_info":{"title":"Deep Link Info","type":"object","additionalProperties":{"type":"string"}},"entries":{"title":"Entries","type":"array","items":{"title":"FixtureHistoricalOddPrice","required":["price","timestamp"],"type":"object","properties":{"price":{"title":"Price","type":"number"},"timestamp":{"title":"Timestamp","type":"number"},"points":{"title":"Points","type":"number"},"locked":{"title":"Locked","type":"boolean"}}}},"olv":{"title":"LineValue","type":"object","properties":{"price":{"title":"Price","type":"number"},"points":{"title":"Points","type":"number"}}},"clv":{"title":"LineValue","type":"object","properties":{"price":{"title":"Price","type":"number"},"points":{"title":"Points","type":"number"}}}}}}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
22
|
+
;
|
23
|
+
const GetFixturesPlayerResults = {"metadata":{"allOf":[{"type":"object","properties":{"fixture_id":{"title":"fixture_id","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"},"player_id":{"title":"player_id","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"},"team_id":{"title":"team_id","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"},"status":{"title":"status","type":"string","$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"title":"FixturePlayerResultsExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"FixturePlayerResults","required":["sport","league","fixture","results"],"type":"object","properties":{"sport":{"title":"BaseSport","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"league":{"title":"BaseLeague","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"fixture":{"title":"BaseFixture","required":["id","start_date","home_competitors","away_competitors","status","is_live","venue_neutral"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"game_id":{"title":"Game Id","type":"string"},"start_date":{"title":"Start Date","type":"string","format":"date-time"},"home_competitors":{"title":"Home Competitors","type":"array","items":{"title":"Competitor","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"},"abbreviation":{"title":"Abbreviation","type":"string"},"logo":{"title":"Logo","type":"string"}}}},"away_competitors":{"title":"Away Competitors","type":"array","items":{"title":"Competitor","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"},"abbreviation":{"title":"Abbreviation","type":"string"},"logo":{"title":"Logo","type":"string"}}}},"home_team_display":{"title":"Home Team Display","type":"string"},"away_team_display":{"title":"Away Team Display","type":"string"},"status":{"title":"Status","type":"string"},"is_live":{"title":"Is Live","type":"boolean"},"season_type":{"title":"Season Type","type":"string"},"season_year":{"title":"Season Year","type":"string"},"season_week":{"title":"Season Week","type":"string"},"venue_name":{"title":"Venue Name","type":"string"},"venue_location":{"title":"Venue Location","type":"string"},"venue_neutral":{"title":"Venue Neutral","type":"boolean"}}},"results":{"title":"Results","type":"array","items":{"title":"PlayerResult","required":["player","team","status"],"type":"object","properties":{"player":{"title":"BasePlayer","required":["id","name","position","number"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"position":{"title":"Position","type":"string"},"number":{"title":"Number","type":"integer"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"}}},"team":{"title":"BaseTeam","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"}}},"status":{"title":"Status","type":"string"},"stats":{"title":"Stats","type":"array","items":{"title":"PeriodStats","required":["period","stats"],"type":"object","properties":{"period":{"title":"Period","type":"string"},"stats":{"title":"Stats","type":"object","additionalProperties":true}}}},"is_starter":{"title":"Is Starter","type":"boolean"}}}}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
24
|
+
;
|
25
|
+
const GetFixturesPlayerResultsLastX = {"metadata":{"allOf":[{"type":"object","properties":{"player_id":{"title":"player_id","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"},"team_id":{"title":"team_id","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"season_year":{"title":"season_year","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"earliest_date":{"title":"earliest_date","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"lookback_num":{"title":"lookback_num","type":"string","$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"title":"FixturePlayerResultsExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"FixturePlayerResults","required":["sport","league","fixture","results"],"type":"object","properties":{"sport":{"title":"BaseSport","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"league":{"title":"BaseLeague","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"fixture":{"title":"BaseFixture","required":["id","start_date","home_competitors","away_competitors","status","is_live","venue_neutral"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"game_id":{"title":"Game Id","type":"string"},"start_date":{"title":"Start Date","type":"string","format":"date-time"},"home_competitors":{"title":"Home Competitors","type":"array","items":{"title":"Competitor","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"},"abbreviation":{"title":"Abbreviation","type":"string"},"logo":{"title":"Logo","type":"string"}}}},"away_competitors":{"title":"Away Competitors","type":"array","items":{"title":"Competitor","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"},"abbreviation":{"title":"Abbreviation","type":"string"},"logo":{"title":"Logo","type":"string"}}}},"home_team_display":{"title":"Home Team Display","type":"string"},"away_team_display":{"title":"Away Team Display","type":"string"},"status":{"title":"Status","type":"string"},"is_live":{"title":"Is Live","type":"boolean"},"season_type":{"title":"Season Type","type":"string"},"season_year":{"title":"Season Year","type":"string"},"season_week":{"title":"Season Week","type":"string"},"venue_name":{"title":"Venue Name","type":"string"},"venue_location":{"title":"Venue Location","type":"string"},"venue_neutral":{"title":"Venue Neutral","type":"boolean"}}},"results":{"title":"Results","type":"array","items":{"title":"PlayerResult","required":["player","team","status"],"type":"object","properties":{"player":{"title":"BasePlayer","required":["id","name","position","number"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"position":{"title":"Position","type":"string"},"number":{"title":"Number","type":"integer"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"}}},"team":{"title":"BaseTeam","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"}}},"status":{"title":"Status","type":"string"},"stats":{"title":"Stats","type":"array","items":{"title":"PeriodStats","required":["period","stats"],"type":"object","properties":{"period":{"title":"Period","type":"string"},"stats":{"title":"Stats","type":"object","additionalProperties":true}}}},"is_starter":{"title":"Is Starter","type":"boolean"}}}}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
26
|
+
;
|
27
|
+
const GetFixturesResults = {"metadata":{"allOf":[{"type":"object","properties":{"fixture_id":{"title":"fixture_id","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"},"team_id":{"title":"team_id","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"},"lookback_num":{"title":"lookback_num","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"include_cancelled":{"title":"include_cancelled","type":"string","default":false,"$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"title":"FixtureResultsExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"FixtureResult","required":["sport","league","fixture"],"type":"object","properties":{"sport":{"title":"BaseSport","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"league":{"title":"BaseLeague","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"fixture":{"title":"BaseFixture","required":["id","start_date","home_competitors","away_competitors","status","is_live","venue_neutral"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"game_id":{"title":"Game Id","type":"string"},"start_date":{"title":"Start Date","type":"string","format":"date-time"},"home_competitors":{"title":"Home Competitors","type":"array","items":{"title":"Competitor","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"},"abbreviation":{"title":"Abbreviation","type":"string"},"logo":{"title":"Logo","type":"string"}}}},"away_competitors":{"title":"Away Competitors","type":"array","items":{"title":"Competitor","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"},"abbreviation":{"title":"Abbreviation","type":"string"},"logo":{"title":"Logo","type":"string"}}}},"home_team_display":{"title":"Home Team Display","type":"string"},"away_team_display":{"title":"Away Team Display","type":"string"},"status":{"title":"Status","type":"string"},"is_live":{"title":"Is Live","type":"boolean"},"season_type":{"title":"Season Type","type":"string"},"season_year":{"title":"Season Year","type":"string"},"season_week":{"title":"Season Week","type":"string"},"venue_name":{"title":"Venue Name","type":"string"},"venue_location":{"title":"Venue Location","type":"string"},"venue_neutral":{"title":"Venue Neutral","type":"boolean"}}},"scores":{"title":"Scores","required":["home","away"],"type":"object","properties":{"home":{"title":"Score","type":"object","properties":{"total":{"title":"Total","type":"number"},"periods":{"title":"Periods","type":"object","additionalProperties":{"type":"number"}},"aggregate":{"title":"Aggregate","type":"number"}}},"away":{"title":"Score","type":"object","properties":{"total":{"title":"Total","type":"number"},"periods":{"title":"Periods","type":"object","additionalProperties":{"type":"number"}},"aggregate":{"title":"Aggregate","type":"number"}}}}},"in_play":{"title":"InplayData","type":"object","properties":{"period":{"title":"Period","type":"string"},"clock":{"title":"Clock","type":"string"},"last_play":{"title":"Last Play","type":"string"},"time_min":{"title":"Time Min","exclusiveMinimum":false,"type":"integer"},"time_sec":{"title":"Time Sec","exclusiveMinimum":false,"type":"integer"},"balls":{"title":"Balls","type":"integer"},"outs":{"title":"Outs","type":"integer"},"strikes":{"title":"Strikes","type":"integer"},"runners":{"title":"InplayDataRunners","type":"object","properties":{"first":{"title":"InPlayPlayer","type":"object","properties":{"player_id":{"title":"Player Id","type":"string"},"player_name":{"title":"Player Name","type":"string"},"team_id":{"title":"Team Id","type":"string"}}},"second":{"title":"InPlayPlayer","type":"object","properties":{"player_id":{"title":"Player Id","type":"string"},"player_name":{"title":"Player Name","type":"string"},"team_id":{"title":"Team Id","type":"string"}}},"third":{"title":"InPlayPlayer","type":"object","properties":{"player_id":{"title":"Player Id","type":"string"},"player_name":{"title":"Player Name","type":"string"},"team_id":{"title":"Team Id","type":"string"}}}}},"batter":{"title":"InPlayPlayer","type":"object","properties":{"player_id":{"title":"Player Id","type":"string"},"player_name":{"title":"Player Name","type":"string"},"team_id":{"title":"Team Id","type":"string"}}},"pitcher":{"title":"InPlayPlayer","type":"object","properties":{"player_id":{"title":"Player Id","type":"string"},"player_name":{"title":"Player Name","type":"string"},"team_id":{"title":"Team Id","type":"string"}}},"possession":{"title":"Possession","type":"string"},"down":{"title":"Down","type":"integer"},"distance_to_go":{"title":"Distance To Go","type":"string"},"field_position":{"title":"Field Position","type":"string"},"game_score":{"title":"GameScore","type":"object","properties":{"home":{"title":"Home","type":"string"},"away":{"title":"Away","type":"string"}}}}},"events":{"title":"Events","type":"array","items":{"type":"object","additionalProperties":true}},"stats":{"title":"TeamStats","type":"object","properties":{"home":{"title":"Home","type":"array","items":{"title":"PeriodStats","required":["period","stats"],"type":"object","properties":{"period":{"title":"Period","type":"string"},"stats":{"title":"Stats","type":"object","additionalProperties":true}}}},"away":{"title":"Away","type":"array","items":{"title":"PeriodStats","required":["period","stats"],"type":"object","properties":{"period":{"title":"Period","type":"string"},"stats":{"title":"Stats","type":"object","additionalProperties":true}}}}}},"extra":{"title":"FixtureResultExtra","type":"object","properties":{"decision":{"title":"Decision","type":"string"},"decision_method":{"title":"Decision Method","type":"string"}}},"retirement_info":{"title":"RetirementInfo","required":["winner","winner_team_id","walkover"],"type":"object","properties":{"winner":{"title":"Winner","type":"string"},"winner_team_id":{"title":"Winner Team Id","type":"string"},"walkover":{"title":"Walkover","type":"boolean"}}},"last_checked_at":{"title":"Last Checked At","type":"string","format":"date-time"}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
28
|
+
;
|
29
|
+
const GetFixturesResultsHeadToHead = {"metadata":{"allOf":[{"type":"object","properties":{"team1_id":{"title":"team1_id","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"team2_id":{"title":"team2_id","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"lookback_num":{"title":"lookback_num","type":"string","default":5,"$schema":"http://json-schema.org/draft-04/schema#"}},"required":["team1_id","team2_id"]}]},"response":{"200":{"title":"FixtureResultsExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"FixtureResult","required":["sport","league","fixture"],"type":"object","properties":{"sport":{"title":"BaseSport","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"league":{"title":"BaseLeague","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"fixture":{"title":"BaseFixture","required":["id","start_date","home_competitors","away_competitors","status","is_live","venue_neutral"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"game_id":{"title":"Game Id","type":"string"},"start_date":{"title":"Start Date","type":"string","format":"date-time"},"home_competitors":{"title":"Home Competitors","type":"array","items":{"title":"Competitor","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"},"abbreviation":{"title":"Abbreviation","type":"string"},"logo":{"title":"Logo","type":"string"}}}},"away_competitors":{"title":"Away Competitors","type":"array","items":{"title":"Competitor","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"},"abbreviation":{"title":"Abbreviation","type":"string"},"logo":{"title":"Logo","type":"string"}}}},"home_team_display":{"title":"Home Team Display","type":"string"},"away_team_display":{"title":"Away Team Display","type":"string"},"status":{"title":"Status","type":"string"},"is_live":{"title":"Is Live","type":"boolean"},"season_type":{"title":"Season Type","type":"string"},"season_year":{"title":"Season Year","type":"string"},"season_week":{"title":"Season Week","type":"string"},"venue_name":{"title":"Venue Name","type":"string"},"venue_location":{"title":"Venue Location","type":"string"},"venue_neutral":{"title":"Venue Neutral","type":"boolean"}}},"scores":{"title":"Scores","required":["home","away"],"type":"object","properties":{"home":{"title":"Score","type":"object","properties":{"total":{"title":"Total","type":"number"},"periods":{"title":"Periods","type":"object","additionalProperties":{"type":"number"}},"aggregate":{"title":"Aggregate","type":"number"}}},"away":{"title":"Score","type":"object","properties":{"total":{"title":"Total","type":"number"},"periods":{"title":"Periods","type":"object","additionalProperties":{"type":"number"}},"aggregate":{"title":"Aggregate","type":"number"}}}}},"in_play":{"title":"InplayData","type":"object","properties":{"period":{"title":"Period","type":"string"},"clock":{"title":"Clock","type":"string"},"last_play":{"title":"Last Play","type":"string"},"time_min":{"title":"Time Min","exclusiveMinimum":false,"type":"integer"},"time_sec":{"title":"Time Sec","exclusiveMinimum":false,"type":"integer"},"balls":{"title":"Balls","type":"integer"},"outs":{"title":"Outs","type":"integer"},"strikes":{"title":"Strikes","type":"integer"},"runners":{"title":"InplayDataRunners","type":"object","properties":{"first":{"title":"InPlayPlayer","type":"object","properties":{"player_id":{"title":"Player Id","type":"string"},"player_name":{"title":"Player Name","type":"string"},"team_id":{"title":"Team Id","type":"string"}}},"second":{"title":"InPlayPlayer","type":"object","properties":{"player_id":{"title":"Player Id","type":"string"},"player_name":{"title":"Player Name","type":"string"},"team_id":{"title":"Team Id","type":"string"}}},"third":{"title":"InPlayPlayer","type":"object","properties":{"player_id":{"title":"Player Id","type":"string"},"player_name":{"title":"Player Name","type":"string"},"team_id":{"title":"Team Id","type":"string"}}}}},"batter":{"title":"InPlayPlayer","type":"object","properties":{"player_id":{"title":"Player Id","type":"string"},"player_name":{"title":"Player Name","type":"string"},"team_id":{"title":"Team Id","type":"string"}}},"pitcher":{"title":"InPlayPlayer","type":"object","properties":{"player_id":{"title":"Player Id","type":"string"},"player_name":{"title":"Player Name","type":"string"},"team_id":{"title":"Team Id","type":"string"}}},"possession":{"title":"Possession","type":"string"},"down":{"title":"Down","type":"integer"},"distance_to_go":{"title":"Distance To Go","type":"string"},"field_position":{"title":"Field Position","type":"string"},"game_score":{"title":"GameScore","type":"object","properties":{"home":{"title":"Home","type":"string"},"away":{"title":"Away","type":"string"}}}}},"events":{"title":"Events","type":"array","items":{"type":"object","additionalProperties":true}},"stats":{"title":"TeamStats","type":"object","properties":{"home":{"title":"Home","type":"array","items":{"title":"PeriodStats","required":["period","stats"],"type":"object","properties":{"period":{"title":"Period","type":"string"},"stats":{"title":"Stats","type":"object","additionalProperties":true}}}},"away":{"title":"Away","type":"array","items":{"title":"PeriodStats","required":["period","stats"],"type":"object","properties":{"period":{"title":"Period","type":"string"},"stats":{"title":"Stats","type":"object","additionalProperties":true}}}}}},"extra":{"title":"FixtureResultExtra","type":"object","properties":{"decision":{"title":"Decision","type":"string"},"decision_method":{"title":"Decision Method","type":"string"}}},"retirement_info":{"title":"RetirementInfo","required":["winner","winner_team_id","walkover"],"type":"object","properties":{"winner":{"title":"Winner","type":"string"},"winner_team_id":{"title":"Winner Team Id","type":"string"},"walkover":{"title":"Walkover","type":"boolean"}}},"last_checked_at":{"title":"Last Checked At","type":"string","format":"date-time"}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
30
|
+
;
|
31
|
+
const GetFutures = {"metadata":{"allOf":[{"type":"object","properties":{"league":{"title":"league","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"},"tournament_id":{"title":"tournament_id","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"title":"FuturesExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"Future","required":["id","sport","league","name","start_date"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"sport":{"title":"BaseSport","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"league":{"title":"BaseLeague","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"tournament":{"title":"BaseTournament","required":["id","name","start_date"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"start_date":{"title":"Start Date","type":"string","format":"date-time"},"end_date":{"title":"End Date","type":"string","format":"date-time"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"name":{"title":"Name","type":"string"},"future_type":{"title":"Future Type","type":"string"},"start_date":{"title":"Start Date","type":"string","format":"date-time"}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
32
|
+
;
|
33
|
+
const GetFuturesOdds = {"metadata":{"allOf":[{"type":"object","properties":{"league":{"title":"league","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"sportsbook":{"title":"sportsbook","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"},"future_id":{"title":"future_id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"player_id":{"title":"player_id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"team_id":{"title":"team_id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"future":{"title":"future","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"name":{"title":"name","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"is_main":{"title":"is_main","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"odds_format":{"title":"odds_format","type":"string","default":"AMERICAN","$schema":"http://json-schema.org/draft-04/schema#"}},"required":["sportsbook"]}]},"response":{"200":{"title":"FutureOddsExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"FutureWithOdds","required":["id","sport","league","name","start_date","odds"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"sport":{"title":"BaseSport","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"league":{"title":"BaseLeague","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"tournament":{"title":"BaseTournament","required":["id","name","start_date"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"start_date":{"title":"Start Date","type":"string","format":"date-time"},"end_date":{"title":"End Date","type":"string","format":"date-time"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"name":{"title":"Name","type":"string"},"future_type":{"title":"Future Type","type":"string"},"start_date":{"title":"Start Date","type":"string","format":"date-time"},"odds":{"title":"Odds","type":"array","items":{"title":"FutureOdd","required":["id","sportsbook","market","name","price","timestamp","is_main","selection","normalized_selection","market_id"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"sportsbook":{"title":"Sportsbook","type":"string"},"market":{"title":"Market","type":"string"},"name":{"title":"Name","type":"string"},"price":{"title":"Price","type":"number"},"timestamp":{"title":"Timestamp","type":"number"},"is_main":{"title":"Is Main","type":"boolean"},"selection":{"title":"Selection","type":"string"},"normalized_selection":{"title":"Normalized Selection","type":"string"},"market_id":{"title":"Market Id","type":"string"},"selection_line":{"title":"Selection Line","type":"string"},"player_id":{"title":"Player Id","type":"string"},"team_id":{"title":"Team Id","type":"string"},"points":{"title":"Points","type":"number"}}}}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
34
|
+
;
|
35
|
+
const GetGraderFutures = {"metadata":{"allOf":[{"type":"object","properties":{"sport":{"title":"sport","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"league":{"title":"league","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"tournament_id":{"title":"tournament_id","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"market":{"title":"market","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"name":{"title":"name","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"player_id":{"title":"player_id","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"show_live_result":{"title":"show_live_result","type":"string","$schema":"http://json-schema.org/draft-04/schema#"}},"required":["sport","league","tournament_id","market","name"]}]},"response":{"200":{"title":"FutureGraderExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"FutureGrader","required":["tournament_id","tournament_name","status","market","name","result"],"type":"object","properties":{"tournament_id":{"title":"Tournament Id","type":"string"},"tournament_name":{"title":"Tournament Name","type":"string"},"status":{"title":"Status","type":"string"},"market":{"title":"Market","type":"string"},"name":{"title":"Name","type":"string"},"result":{"title":"Result","type":"string"},"dead_heat_reduction":{"title":"Dead Heat Reduction","type":"number"}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
36
|
+
;
|
37
|
+
const GetGraderOdds = {"metadata":{"allOf":[{"type":"object","properties":{"fixture_id":{"title":"fixture_id","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"market":{"title":"market","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"name":{"title":"name","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"player_id":{"title":"player_id","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"show_live_result":{"title":"show_live_result","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"void_substitutes":{"title":"void_substitutes","type":"string","$schema":"http://json-schema.org/draft-04/schema#"}},"required":["fixture_id","market","name"]}]},"response":{"200":{"title":"GraderExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Grader","required":["fixture_id","away_team_display","home_team_display","status","away_score","home_score","player_score","market","name","result"],"type":"object","properties":{"fixture_id":{"title":"Fixture Id","type":"string"},"away_team_display":{"title":"Away Team Display","type":"string"},"home_team_display":{"title":"Home Team Display","type":"string"},"status":{"title":"Status","type":"string"},"away_score":{"title":"Away Score","type":"number"},"home_score":{"title":"Home Score","type":"number"},"player_score":{"title":"Player Score","type":"number"},"market":{"title":"Market","type":"string"},"name":{"title":"Name","type":"string"},"result":{"title":"Result","type":"string"}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
38
|
+
;
|
39
|
+
const GetInjuries = {"metadata":{"allOf":[{"type":"object","properties":{"sport":{"title":"sport","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"league":{"title":"league","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"team_id":{"title":"team_id","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"title":"InjuriesExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"Injury","required":["id","player","team","status","type","sport","league"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"player":{"title":"BasePlayer","required":["id","name","position","number"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"position":{"title":"Position","type":"string"},"number":{"title":"Number","type":"integer"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"}}},"team":{"title":"BaseTeam","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"}}},"status":{"title":"Status","type":"string"},"type":{"title":"Type","type":"string"},"sport":{"title":"BaseSport","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"league":{"title":"BaseLeague","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
40
|
+
;
|
41
|
+
const GetLeagues = {"metadata":{"allOf":[{"type":"object","properties":{"sport":{"title":"sport","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"title":"LeaguesExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"League","required":["id","name","sport","region"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"sport":{"title":"Sport","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"main_markets":{"title":"Main Markets","type":"array","items":{"title":"BaseMarket","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}}}}},"region":{"title":"Region","type":"string"},"region_code":{"title":"Region Code","type":"string"},"gender":{"title":"Gender","type":"string"}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
42
|
+
;
|
43
|
+
const GetLeaguesActive = {"metadata":{"allOf":[{"type":"object","properties":{"sport":{"title":"sport","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"fixture_status":{"title":"fixture_status","type":"string","$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"title":"LeaguesExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"League","required":["id","name","sport","region"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"sport":{"title":"Sport","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"main_markets":{"title":"Main Markets","type":"array","items":{"title":"BaseMarket","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}}}}},"region":{"title":"Region","type":"string"},"region_code":{"title":"Region Code","type":"string"},"gender":{"title":"Gender","type":"string"}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
44
|
+
;
|
45
|
+
const GetMarkets = {"metadata":{"allOf":[{"type":"object","properties":{"sport":{"title":"sport","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"league":{"title":"league","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"markets_only":{"title":"markets_only","type":"string","default":false,"$schema":"http://json-schema.org/draft-04/schema#"},"sportsbook":{"title":"sportsbook","type":"string","$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"title":"MarketsExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"Market","required":["id","name","sports"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"sports":{"title":"Sports","type":"array","items":{"title":"MarketSport","required":["id","name","leagues"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"leagues":{"title":"Leagues","type":"array","items":{"title":"MarketLeague","required":["id","name","sportsbooks"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"sportsbooks":{"title":"Sportsbooks","type":"array","items":{"title":"BaseSportsbook","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"}}}}}}}}}}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
46
|
+
;
|
47
|
+
const GetMarketsActive = {"metadata":{"allOf":[{"type":"object","properties":{"fixture_id":{"title":"fixture_id","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"},"sportsbook":{"title":"sportsbook","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"}},"required":["fixture_id","sportsbook"]}]},"response":{"200":{"title":"MarketsActiveExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"BaseMarket","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
48
|
+
;
|
49
|
+
const GetMarketsSettleable = {"metadata":{"allOf":[{"type":"object","properties":{"league":{"title":"league","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"}},"required":["league"]}]},"response":{"200":{"title":"MarketsSettleableExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"LeagueMarket","required":["league","markets"],"type":"object","properties":{"league":{"title":"BaseLeague","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"markets":{"title":"Markets","type":"array","items":{"title":"BaseMarket","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}}}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
50
|
+
;
|
51
|
+
const GetPlayers = {"metadata":{"allOf":[{"type":"object","properties":{"sport":{"title":"sport","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"league":{"title":"league","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"id":{"title":"id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"numerical_id":{"title":"numerical_id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"page":{"title":"page","type":"string","default":1,"$schema":"http://json-schema.org/draft-04/schema#"},"include_statsperform_id":{"title":"include_statsperform_id","type":"string","default":false,"$schema":"http://json-schema.org/draft-04/schema#"},"base_id":{"title":"base_id","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"},"team_id":{"title":"team_id","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"},"team_base_id":{"title":"team_base_id","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"title":"PlayersExternalResponse","required":["data","page","total_pages"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"Player","required":["id","name","position","number","is_active","sport","league","team"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"position":{"title":"Position","type":"string"},"number":{"title":"Number","type":"integer"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"},"is_active":{"title":"Is Active","type":"boolean"},"first_name":{"title":"First Name","type":"string"},"last_name":{"title":"Last Name","type":"string"},"age":{"title":"Age","type":"integer"},"height":{"title":"Height","type":"integer"},"weight":{"title":"Weight","type":"integer"},"experience":{"title":"Experience","type":"integer"},"logo":{"title":"Logo","type":"string"},"source_ids":{"title":"Source Ids","type":"object","additionalProperties":{"type":"string"},"default":{}},"sport":{"title":"BaseSport","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"league":{"title":"BaseLeague","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"team":{"title":"BaseTeam","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"}}}}}},"page":{"title":"Page","type":"integer"},"total_pages":{"title":"Total Pages","type":"integer"}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
52
|
+
;
|
53
|
+
const GetSports = {"response":{"200":{"title":"SportsExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"Sport","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"main_markets":{"title":"Main Markets","type":"array","items":{"title":"BaseMarket","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}}}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
54
|
+
;
|
55
|
+
const GetSportsActive = {"response":{"200":{"title":"SportsExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"Sport","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"main_markets":{"title":"Main Markets","type":"array","items":{"title":"BaseMarket","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}}}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
56
|
+
;
|
57
|
+
const GetSportsbooks = {"response":{"200":{"title":"SportsbooksExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"Sportsbook","required":["id","name","logo","is_onshore","is_active"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"logo":{"title":"Logo","type":"string"},"is_onshore":{"title":"Is Onshore","type":"boolean"},"is_active":{"title":"Is Active","type":"boolean"}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
58
|
+
;
|
59
|
+
const GetSportsbooksActive = {"metadata":{"allOf":[{"type":"object","properties":{"sport":{"title":"sport","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"league":{"title":"league","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"fixture_id":{"title":"fixture_id","type":"string","$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"title":"SportsbooksExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"Sportsbook","required":["id","name","logo","is_onshore","is_active"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"logo":{"title":"Logo","type":"string"},"is_onshore":{"title":"Is Onshore","type":"boolean"},"is_active":{"title":"Is Active","type":"boolean"}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
60
|
+
;
|
61
|
+
const GetSportsbooksLastPolled = {"metadata":{"allOf":[{"type":"object","properties":{"sport":{"title":"sport","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"league":{"title":"league","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"fixture_id":{"title":"fixture_id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"sportsbook":{"title":"sportsbook","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"title":"SportsbooksLastPolledExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"SportsbooksLastPolled","required":["league","fixture_id","sportsbooks"],"type":"object","properties":{"league":{"title":"BaseLeague","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"fixture_id":{"title":"Fixture Id","type":"string"},"sportsbooks":{"title":"Sportsbooks","type":"array","items":{"title":"LastPolledSportsbook","required":["id","name","timestamp"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"timestamp":{"title":"Timestamp","type":"number"}}}}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
62
|
+
;
|
63
|
+
const GetStreamCopilotSportOdds = {"metadata":{"allOf":[{"type":"object","properties":{"sport":{"type":"string","$schema":"http://json-schema.org/draft-04/schema#"}},"required":["sport"]},{"type":"object","properties":{"key":{"title":"key","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"league":{"title":"league","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"fixture_id":{"title":"fixture_id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"market":{"title":"market","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"is_main":{"title":"is_main","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"is_live":{"title":"is_live","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"odds_format":{"title":"odds_format","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"last_entry_id":{"title":"last_entry_id","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"include_fixture_updates":{"title":"include_fixture_updates","type":"string","default":false,"$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"event":{"enum":["connected"],"type":"string","description":"`connected`"},"data":{"enum":["ok go"],"type":"string","description":"`ok go`"},"retry":{"type":"integer"}},"description":"We send a connected event."},{"type":"object","properties":{"event":{"enum":["ping"],"type":"string","description":"`ping`"},"data":{"type":"string","format":"date-time"}},"description":"We send a ping from the server to the client every 5 seconds."},{"type":"object","properties":{"id":{"type":"string"},"event":{"enum":["copilot-odds"],"type":"string","description":"`copilot-odds`"},"data":{"type":"object","properties":{"entry_id":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"fixture_id":{"type":"string"},"game_id":{"type":"string"},"grouping_key":{"type":"string"},"id":{"type":"string"},"is_live":{"type":"boolean"},"is_main":{"type":"boolean"},"league":{"type":"string"},"league_id":{"type":"string"},"market":{"type":"string"},"market_id":{"type":"string"},"name":{"type":"string"},"odd_id":{"type":"string"},"player_id":{"type":"string"},"points":{"type":"number","format":"float","minimum":-3.402823669209385e+38,"maximum":3.402823669209385e+38},"price":{"type":"number","format":"float","minimum":-3.402823669209385e+38,"maximum":3.402823669209385e+38},"selection":{"type":"string"},"selection_line":{"type":"string"},"sport":{"type":"string"},"sport_id":{"type":"string"},"team_id":{"type":"string"},"timestamp":{"type":"number","format":"float","minimum":-3.402823669209385e+38,"maximum":3.402823669209385e+38},"version_id":{"type":"integer"}}}},"type":{"enum":["copilot-odds","copilot-locked-odds"],"type":"string","description":"`copilot-odds` `copilot-locked-odds`"}}},"retry":{"type":"integer"}},"description":"If an odd gets changed or added."},{"type":"object","properties":{"id":{"type":"string"},"event":{"enum":["copilot-locked-odds"],"type":"string","description":"`copilot-locked-odds`"},"data":{"type":"object","properties":{"entry_id":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"fixture_id":{"type":"string"},"game_id":{"type":"string"},"grouping_key":{"type":"string"},"id":{"type":"string"},"is_live":{"type":"boolean"},"is_main":{"type":"boolean"},"league":{"type":"string"},"league_id":{"type":"string"},"market":{"type":"string"},"market_id":{"type":"string"},"name":{"type":"string"},"odd_id":{"type":"string"},"player_id":{"type":"string"},"points":{"type":"number","format":"float","minimum":-3.402823669209385e+38,"maximum":3.402823669209385e+38},"price":{"type":"number","format":"float","minimum":-3.402823669209385e+38,"maximum":3.402823669209385e+38},"selection":{"type":"string"},"selection_line":{"type":"string"},"sport":{"type":"string"},"sport_id":{"type":"string"},"team_id":{"type":"string"},"timestamp":{"type":"number","format":"float","minimum":-3.402823669209385e+38,"maximum":3.402823669209385e+38},"version_id":{"type":"integer"}}}},"type":{"enum":["copilot-odds","copilot-locked-odds"],"type":"string","description":"`copilot-odds` `copilot-locked-odds`"}}},"retry":{"type":"integer"}},"description":"If an odd gets locked. You can use this to tell if an odd is no longer available."},{"type":"object","properties":{"id":{"type":"string"},"event":{"enum":["copilot-settled-odds"],"type":"string","description":"`copilot-settled-odds`"},"data":{"type":"object","properties":{"entry_id":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"fixture_id":{"type":"string"},"game_id":{"type":"string"},"id":{"type":"string"},"league":{"type":"string"},"league_id":{"type":"string"},"market":{"type":"string"},"market_id":{"type":"string"},"name":{"type":"string"},"odd_id":{"type":"string"},"player_id":{"type":"string"},"sport":{"type":"string"},"sport_id":{"type":"string"},"team_id":{"type":"string"},"timestamp":{"type":"number","format":"float","minimum":-3.402823669209385e+38,"maximum":3.402823669209385e+38},"settlement":{"type":"string"},"settled_at":{"type":"string"},"version_id":{"type":"integer"}}}},"type":{"enum":["copilot-settled-odds"],"type":"string","description":"`copilot-settled-odds`"}}},"retry":{"type":"integer"}},"description":"If an odd gets settled."},{"type":"object","properties":{"id":{"type":"string"},"event":{"enum":["fixture-status"],"type":"string","description":"`fixture-status`"},"data":{"type":"object","properties":{"entry_id":{"type":"string"},"data":{"type":"object","properties":{"data":{"type":"object","properties":{"fixture":{"type":"object","properties":{"away_team_display":{"type":"string"},"game_id":{"type":"string"},"home_team_display":{"type":"string"},"id":{"type":"string"},"start_date":{"type":"string"}}},"fixture_id":{"type":"string"},"game_id":{"type":"string"},"league":{"type":"string"},"new_start_date":{"type":"string"},"new_status":{"enum":["live","half","unplayed","completed","cancelled","suspended","delayed"],"type":"string","description":"`live` `half` `unplayed` `completed` `cancelled` `suspended` `delayed`"},"old_start_date":{"type":"string"},"old_status":{"enum":["live","half","unplayed","completed","cancelled","suspended","delayed"],"type":"string","description":"`live` `half` `unplayed` `completed` `cancelled` `suspended` `delayed`"},"sport":{"type":"string"},"timestamp":{"type":"number","format":"float","minimum":-3.402823669209385e+38,"maximum":3.402823669209385e+38}}}}}}},"retry":{"type":"integer"}},"description":"If the status or time changes for a game."}]},"format":"event-stream","$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
64
|
+
;
|
65
|
+
const GetStreamOddsSport = {"metadata":{"allOf":[{"type":"object","properties":{"sport":{"type":"string","$schema":"http://json-schema.org/draft-04/schema#"}},"required":["sport"]},{"type":"object","properties":{"key":{"title":"key","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"sportsbook":{"title":"sportsbook","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"},"league":{"title":"league","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"fixture_id":{"title":"fixture_id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"market":{"title":"market","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"is_main":{"title":"is_main","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"is_live":{"title":"is_live","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"odds_format":{"title":"odds_format","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"last_entry_id":{"title":"last_entry_id","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"include_fixture_updates":{"title":"include_fixture_updates","type":"string","default":false,"$schema":"http://json-schema.org/draft-04/schema#"},"include_deep_link":{"title":"include_deep_link","type":"string","default":false,"$schema":"http://json-schema.org/draft-04/schema#"}},"required":["sportsbook"]}]},"response":{"200":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"event":{"enum":["connected"],"type":"string","description":"`connected`"},"data":{"enum":["ok go"],"type":"string","description":"`ok go`"},"retry":{"type":"integer"}},"description":"We send a connected event."},{"type":"object","properties":{"event":{"enum":["ping"],"type":"string","description":"`ping`"},"data":{"type":"string","format":"date-time"}},"description":"We send a ping from the server to the client every 5 seconds."},{"type":"object","properties":{"id":{"type":"string"},"event":{"enum":["odds"],"type":"string","description":"`odds`"},"data":{"type":"object","properties":{"entry_id":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"deep_link":{"type":"object","properties":{"ios":{"type":"string"},"android":{"type":"string"},"desktop":{"type":"string"}}},"limits":{"type":"object","properties":{"max":{"type":"number","format":"float","minimum":-3.402823669209385e+38,"maximum":3.402823669209385e+38}}},"fixture_id":{"type":"string"},"game_id":{"type":"string"},"grouping_key":{"type":"string"},"id":{"type":"string"},"is_live":{"type":"boolean"},"is_main":{"type":"boolean"},"league":{"type":"string"},"league_id":{"type":"string"},"market":{"type":"string"},"market_id":{"type":"string"},"name":{"type":"string"},"player_id":{"type":"string"},"points":{"type":"number","format":"float","minimum":-3.402823669209385e+38,"maximum":3.402823669209385e+38},"price":{"type":"number","format":"float","minimum":-3.402823669209385e+38,"maximum":3.402823669209385e+38},"selection":{"type":"string"},"selection_line":{"type":"string"},"selection_points":{"type":"number","format":"float","minimum":-3.402823669209385e+38,"maximum":3.402823669209385e+38},"sport":{"type":"string"},"sportsbook":{"type":"string"},"sportsbook_id":{"type":"string"},"team_id":{"type":"string"},"timestamp":{"type":"number","format":"float","minimum":-3.402823669209385e+38,"maximum":3.402823669209385e+38}}}}}},"retry":{"type":"integer"}},"description":"If an odd gets changed or added."},{"type":"object","properties":{"id":{"type":"string"},"event":{"enum":["locked-odds"],"type":"string","description":"`locked-odds`"},"data":{"type":"object","properties":{"entry_id":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"deep_link":{"type":"object","properties":{"ios":{"type":"string"},"android":{"type":"string"},"desktop":{"type":"string"}}},"limits":{"type":"object","properties":{"max":{"type":"number","format":"float","minimum":-3.402823669209385e+38,"maximum":3.402823669209385e+38}}},"fixture_id":{"type":"string"},"game_id":{"type":"string"},"grouping_key":{"type":"string"},"id":{"type":"string"},"is_live":{"type":"boolean"},"is_main":{"type":"boolean"},"league":{"type":"string"},"league_id":{"type":"string"},"market":{"type":"string"},"market_id":{"type":"string"},"name":{"type":"string"},"player_id":{"type":"string"},"points":{"type":"number","format":"float","minimum":-3.402823669209385e+38,"maximum":3.402823669209385e+38},"price":{"type":"number","format":"float","minimum":-3.402823669209385e+38,"maximum":3.402823669209385e+38},"selection":{"type":"string"},"selection_line":{"type":"string"},"selection_points":{"type":"number","format":"float","minimum":-3.402823669209385e+38,"maximum":3.402823669209385e+38},"sport":{"type":"string"},"sportsbook":{"type":"string"},"sportsbook_id":{"type":"string"},"team_id":{"type":"string"},"timestamp":{"type":"number","format":"float","minimum":-3.402823669209385e+38,"maximum":3.402823669209385e+38}}}}}},"retry":{"type":"integer"}},"description":"If an odd gets locked. You can use this to tell if an odd is no longer available on a sportsbook."},{"type":"object","properties":{"id":{"type":"string"},"event":{"enum":["fixture-status"],"type":"string","description":"`fixture-status`"},"data":{"type":"object","properties":{"entry_id":{"type":"string"},"data":{"type":"object","properties":{"data":{"type":"object","properties":{"fixture":{"type":"object","properties":{"away_team_display":{"type":"string"},"game_id":{"type":"string"},"home_team_display":{"type":"string"},"id":{"type":"string"},"start_date":{"type":"string"}}},"fixture_id":{"type":"string"},"game_id":{"type":"string"},"league":{"type":"string"},"new_start_date":{"type":"string"},"new_status":{"enum":["live","half","unplayed","completed","cancelled","suspended","delayed"],"type":"string","description":"`live` `half` `unplayed` `completed` `cancelled` `suspended` `delayed`"},"old_start_date":{"type":"string"},"old_status":{"enum":["live","half","unplayed","completed","cancelled","suspended","delayed"],"type":"string","description":"`live` `half` `unplayed` `completed` `cancelled` `suspended` `delayed`"},"sport":{"type":"string"},"timestamp":{"type":"number","format":"float","minimum":-3.402823669209385e+38,"maximum":3.402823669209385e+38}}}}}}},"retry":{"type":"integer"}},"description":"If the status or time changes for a game."}]},"format":"event-stream","$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
66
|
+
;
|
67
|
+
const GetStreamResultsSport = {"metadata":{"allOf":[{"type":"object","properties":{"sport":{"type":"string","$schema":"http://json-schema.org/draft-04/schema#"}},"required":["sport"]},{"type":"object","properties":{"key":{"title":"key","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"league":{"title":"league","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"fixture_id":{"title":"fixture_id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"event":{"enum":["connected"],"type":"string","description":"`connected`"},"data":{"enum":["ok go"],"type":"string","description":"`ok go`"},"retry":{"type":"integer"}},"description":"We send a connected event."},{"type":"object","properties":{"event":{"enum":["ping"],"type":"string","description":"`ping`"},"data":{"type":"string","format":"date-time"}},"description":"We send a ping from the server to the client every 5 seconds."},{"type":"object","properties":{"id":{"type":"string"},"event":{"enum":["fixture-results"],"type":"string","description":"`fixture-results`"},"data":{"type":"object","additionalProperties":true},"retry":{"type":"integer"}},"description":"The updated results for the fixture."}]},"format":"event-stream","$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
68
|
+
;
|
69
|
+
const GetTeams = {"metadata":{"allOf":[{"type":"object","properties":{"sport":{"title":"sport","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"league":{"title":"league","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"id":{"title":"id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"numerical_id":{"title":"numerical_id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"page":{"title":"page","type":"string","default":1,"$schema":"http://json-schema.org/draft-04/schema#"},"include_statsperform_id":{"title":"include_statsperform_id","type":"string","default":false,"$schema":"http://json-schema.org/draft-04/schema#"},"base_id":{"title":"base_id","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"},"division":{"title":"division","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"},"conference":{"title":"conference","type":"array","items":{"type":"string"},"$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"title":"TeamsExternalResponse","required":["data","page","total_pages"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"Team","required":["id","name","is_active","logo","sport","league"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"},"is_active":{"title":"Is Active","type":"boolean"},"city":{"title":"City","type":"string"},"mascot":{"title":"Mascot","type":"string"},"nickname":{"title":"Nickname","type":"string"},"abbreviation":{"title":"Abbreviation","type":"string"},"division":{"title":"Division","type":"string"},"conference":{"title":"Conference","type":"string"},"logo":{"title":"Logo","type":"string"},"source_ids":{"title":"Source Ids","type":"object","additionalProperties":{"type":"string"},"default":{}},"sport":{"title":"BaseSport","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"league":{"title":"BaseLeague","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}}}}},"page":{"title":"Page","type":"integer"},"total_pages":{"title":"Total Pages","type":"integer"}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
70
|
+
;
|
71
|
+
const GetTournaments = {"metadata":{"allOf":[{"type":"object","properties":{"sport":{"title":"sport","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"league":{"title":"league","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"id":{"title":"id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"numerical_id":{"title":"numerical_id","type":"array","items":{"type":"string"},"default":[],"$schema":"http://json-schema.org/draft-04/schema#"},"page":{"title":"page","type":"string","default":1,"$schema":"http://json-schema.org/draft-04/schema#"},"include_statsperform_id":{"title":"include_statsperform_id","type":"string","default":false,"$schema":"http://json-schema.org/draft-04/schema#"},"start_date_before":{"title":"start_date_before","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"start_date_after":{"title":"start_date_after","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"season_year":{"title":"season_year","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"include_tee_times":{"title":"include_tee_times","type":"string","default":false,"$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"title":"TournamentsExternalResponse","required":["data","page","total_pages"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"Tournament","required":["id","name","start_date","status","season_year","venue_name","venue_location","sport","league","is_active","is_live"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"start_date":{"title":"Start Date","type":"string","format":"date-time"},"end_date":{"title":"End Date","type":"string","format":"date-time"},"numerical_id":{"title":"Numerical Id","type":"integer"},"status":{"title":"Status","type":"string"},"season_year":{"title":"Season Year","type":"string"},"venue_name":{"title":"Venue Name","type":"string"},"venue_location":{"title":"Venue Location","type":"string"},"sport":{"title":"BaseSport","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"league":{"title":"BaseLeague","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"is_active":{"title":"Is Active","type":"boolean"},"is_live":{"title":"Is Live","type":"boolean"},"tee_times":{"title":"Tee Times","type":"array","items":{"title":"TournamentTeeTime","required":["round_number","groups"],"type":"object","properties":{"round_number":{"title":"Round Number","type":"integer"},"groups":{"title":"Groups","type":"array","items":{"title":"TournamentTeeTimeGroup","required":["tee_time","players"],"type":"object","properties":{"tee_time":{"title":"Tee Time","type":"string","format":"date-time"},"players":{"title":"Players","type":"array","items":{"title":"BasePlayer","required":["id","name","position","number"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"position":{"title":"Position","type":"string"},"number":{"title":"Number","type":"integer"},"numerical_id":{"title":"Numerical Id","type":"integer"},"base_id":{"title":"Base Id","type":"integer"}}}},"start_tee":{"title":"Start Tee","type":"integer"},"group_number":{"title":"Group Number","type":"integer"}}}}}}}}}},"page":{"title":"Page","type":"integer"},"total_pages":{"title":"Total Pages","type":"integer"}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
72
|
+
;
|
73
|
+
const GetTournamentsResults = {"metadata":{"allOf":[{"type":"object","properties":{"tournament_id":{"title":"tournament_id","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"stage":{"title":"stage","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"round_number":{"title":"round_number","type":"string","$schema":"http://json-schema.org/draft-04/schema#"},"player_id":{"title":"player_id","type":"string","$schema":"http://json-schema.org/draft-04/schema#"}},"required":["tournament_id"]}]},"response":{"200":{"title":"TournamentResultsExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"TournamentResult","required":["id","sport","league","tournament"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"},"sport":{"title":"BaseSport","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"league":{"title":"BaseLeague","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"numerical_id":{"title":"Numerical Id","type":"integer"}}},"tournament":{"title":"TournamentExtended","required":["id","name","start_date","status","season_year","venue_name","venue_location"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"start_date":{"title":"Start Date","type":"string","format":"date-time"},"end_date":{"title":"End Date","type":"string","format":"date-time"},"numerical_id":{"title":"Numerical Id","type":"integer"},"status":{"title":"Status","type":"string"},"season_year":{"title":"Season Year","type":"string"},"venue_name":{"title":"Venue Name","type":"string"},"venue_location":{"title":"Venue Location","type":"string"}}},"leaderboard":{"title":"Leaderboard","type":"array","items":{"type":"object","additionalProperties":true}},"round":{"title":"Round","type":"object","additionalProperties":true}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
74
|
+
;
|
75
|
+
const PostCopilotQueueStart = {"body":{"title":"CopilotQueueStartExtInput","required":["is_live"],"type":"object","properties":{"is_live":{"title":"Is Live","type":"boolean"},"odds_format":{"title":"Odds Format","type":"string","default":"AMERICAN"},"id":{"title":"Id","type":"integer"}},"$schema":"http://json-schema.org/draft-04/schema#"},"response":{"200":{"title":"CopilotQueueStartExtResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"CopilotQueue","required":["id","queue_name","enabled"],"type":"object","properties":{"id":{"title":"Id","type":"integer"},"queue_name":{"title":"Queue Name","type":"string"},"enabled":{"title":"Enabled","type":"boolean"},"is_live":{"title":"Is Live","type":"boolean"},"odds_format":{"title":"Odds Format","type":"string"},"num_consumers":{"title":"Num Consumers","type":"integer"},"num_messages":{"title":"Num Messages","type":"integer"},"messages_per_second":{"title":"Messages Per Second","type":"number"}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
76
|
+
;
|
77
|
+
const PostCopilotQueueStop = {"body":{"title":"CopilotQueueStopExtInput","required":["id"],"type":"object","properties":{"id":{"title":"Id","maxItems":50,"minItems":1,"type":"array","items":{"type":"integer"}}},"$schema":"http://json-schema.org/draft-04/schema#"},"response":{"200":{"title":"CopilotQueueStopExtResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"CopilotQueue","required":["id","queue_name","enabled"],"type":"object","properties":{"id":{"title":"Id","type":"integer"},"queue_name":{"title":"Queue Name","type":"string"},"enabled":{"title":"Enabled","type":"boolean"},"is_live":{"title":"Is Live","type":"boolean"},"odds_format":{"title":"Odds Format","type":"string"},"num_consumers":{"title":"Num Consumers","type":"integer"},"num_messages":{"title":"Num Messages","type":"integer"},"messages_per_second":{"title":"Messages Per Second","type":"number"}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
78
|
+
;
|
79
|
+
const PostFixtureResultsQueueStart = {"body":{"title":"FixtureResultsQueueStartExtInput","required":["sports"],"type":"object","properties":{"sports":{"title":"Sports","type":"array","items":{"type":"string"}},"leagues":{"title":"Leagues","type":"array","items":{"type":"string"}},"id":{"title":"Id","type":"integer"}},"$schema":"http://json-schema.org/draft-04/schema#"},"response":{"200":{"title":"FixtureResultsQueueStartExtResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"FixtureResultsQueue","required":["id","queue_name","enabled","sports"],"type":"object","properties":{"id":{"title":"Id","type":"integer"},"queue_name":{"title":"Queue Name","type":"string"},"enabled":{"title":"Enabled","type":"boolean"},"sports":{"title":"Sports","type":"array","items":{"type":"string"}},"leagues":{"title":"Leagues","type":"array","items":{"type":"string"}},"num_consumers":{"title":"Num Consumers","type":"integer"},"num_messages":{"title":"Num Messages","type":"integer"},"messages_per_second":{"title":"Messages Per Second","type":"number"}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
80
|
+
;
|
81
|
+
const PostFixtureResultsQueueStop = {"body":{"title":"FixtureResultsQueueStopExtInput","required":["id"],"type":"object","properties":{"id":{"title":"Id","type":"integer"}},"$schema":"http://json-schema.org/draft-04/schema#"},"response":{"200":{"title":"FixtureResultsQueueStopExtResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"array","items":{"title":"FixtureResultsQueue","required":["id","queue_name","enabled","sports"],"type":"object","properties":{"id":{"title":"Id","type":"integer"},"queue_name":{"title":"Queue Name","type":"string"},"enabled":{"title":"Enabled","type":"boolean"},"sports":{"title":"Sports","type":"array","items":{"type":"string"}},"leagues":{"title":"Leagues","type":"array","items":{"type":"string"}},"num_consumers":{"title":"Num Consumers","type":"integer"},"num_messages":{"title":"Num Messages","type":"integer"},"messages_per_second":{"title":"Messages Per Second","type":"number"}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
82
|
+
;
|
83
|
+
const PostParlayOdds = {"body":{"title":"ParlayOddsExternalInput","required":["sportsbooks","entries"],"type":"object","properties":{"sportsbooks":{"title":"Sportsbooks","minItems":1,"type":"array","items":{"type":"string"}},"entries":{"title":"Entries","maxItems":10,"minItems":2,"type":"array","items":{"title":"ParlayOddsInput","required":["market","fixture_id","name"],"type":"object","properties":{"market":{"title":"Market","type":"string"},"fixture_id":{"title":"Fixture Id","type":"string"},"name":{"title":"Name","type":"string"},"price_american":{"title":"Price American","type":"number"},"price_decimal":{"title":"Price Decimal","type":"number"}}}}},"$schema":"http://json-schema.org/draft-04/schema#"},"metadata":{"allOf":[{"type":"object","properties":{"odds_format":{"title":"odds_format","type":"string","default":"AMERICAN","$schema":"http://json-schema.org/draft-04/schema#"}},"required":[]}]},"response":{"200":{"title":"ParlayOddExternalResponse","required":["data"],"type":"object","properties":{"data":{"title":"Data","type":"object","additionalProperties":{"title":"ParlayOddsSportsbookData","type":"object","properties":{"error":{"title":"Error","type":"string"},"missing_entries":{"title":"Missing Entries","type":"array","items":{"title":"ParlayOddsSportsbookLeg","required":["fixture_id","market","name"],"type":"object","properties":{"fixture_id":{"title":"Fixture Id","type":"string"},"market":{"title":"Market","type":"string"},"name":{"title":"Name","type":"string"},"price":{"title":"Price","type":"number"}}}},"legs":{"title":"Legs","type":"array","items":{"title":"ParlayOddsSportsbookLeg","required":["fixture_id","market","name"],"type":"object","properties":{"fixture_id":{"title":"Fixture Id","type":"string"},"market":{"title":"Market","type":"string"},"name":{"title":"Name","type":"string"},"price":{"title":"Price","type":"number"}}}},"price":{"title":"Price","type":"number"},"deep_link_urls":{"title":"Deep Link Urls","type":"object","additionalProperties":{"type":"string"}}}}}},"$schema":"http://json-schema.org/draft-04/schema#"}}} as any
|
84
|
+
;
|
85
|
+
export { GetConferences, GetCopilotFixturesOdds, GetCopilotGraderOdds, GetCopilotParlayOdds, GetCopilotQueueStatus, GetDivisions, GetFixtureResultsQueueStatus, GetFixtures, GetFixturesActive, GetFixturesOdds, GetFixturesOddsHistorical, GetFixturesPlayerResults, GetFixturesPlayerResultsLastX, GetFixturesResults, GetFixturesResultsHeadToHead, GetFutures, GetFuturesOdds, GetGraderFutures, GetGraderOdds, GetInjuries, GetLeagues, GetLeaguesActive, GetMarkets, GetMarketsActive, GetMarketsSettleable, GetPlayers, GetSports, GetSportsActive, GetSportsbooks, GetSportsbooksActive, GetSportsbooksLastPolled, GetStreamCopilotSportOdds, GetStreamOddsSport, GetStreamResultsSport, GetTeams, GetTournaments, GetTournamentsResults, PostCopilotQueueStart, PostCopilotQueueStop, PostFixtureResultsQueueStart, PostFixtureResultsQueueStop, PostParlayOdds }
|