{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/BettingMarketResult", "title": "BettingMarketResult", "properties": { "BettingMarketID": { "type": "integer", "description": "The unique ID associated with the betting market" }, "BettingMarketTypeID": { "type": "integer", "description": "The unique ID associated with the market type of the betting market" }, "BettingMarketType": { "type": [ "string", "null" ], "description": "The name of the market type within a market (e.g. Player Prop, Team Prop, Game Prop, etc.)" }, "BettingBetTypeID": { "type": "integer", "description": "The ID associated with the name of the bet type within a market" }, "BettingBetType": { "type": [ "string", "null" ], "description": "The name of the bet type within a market (e.g. Total Runs, Moneyline, Run Line, etc.)" }, "BettingPeriodTypeID": { "type": "integer", "description": "The BettingPeriodTypeID of this market" }, "BettingPeriodType": { "type": [ "string", "null" ], "description": "The BettingPeriodType of this market (e.g. Full Game; 1st-5th Inning; 2nd Inning; Regular Season)" }, "Name": { "type": [ "string", "null" ], "description": "The generic name of this market" }, "TeamID": { "type": [ "integer", "null" ], "description": "The team's unique TeamID as assigned by SportsDataIO tied this market (if applicable)" }, "TeamKey": { "type": [ "string", "null" ], "description": "The abbreviation [Key] of the team tied to this market (if applicable)" }, "PlayerID": { "type": [ "integer", "null" ], "description": "The player's unique PlayerID as assigned by SportsDataIO tied to this result (if applicable) Note: this ID will stay with the player throughout their MLB career" }, "PlayerName": { "type": [ "string", "null" ], "description": "The full name of the player associated with this market" }, "BettingOutcomeResults": { "type": "array", "items": { "$ref": "#/components/schemas/BettingOutcomeResult" }, "description": "The list of outcomes under this market with results" }, "IsMarketResultingSupported": { "type": "boolean", "description": "Indicates whether resulting is supported for this kind of BettingMarket (true/false)" } } }