SportsGameOdds · Schema

SportsGameOdds Market

A betting market type defining how a wager can be placed on a sporting event

Sports BettingOddsSports DataFantasy SportsGambling

Properties

Name Type Description
marketId string Unique market identifier
name string Human-readable market name
description string Detailed description of the betting market
betType string Category of bet type
period string Game period this market applies to
sports array Sports this market is available for
leagues array Specific leagues this market is available for
View JSON Schema on GitHub

JSON Schema

sportsgameodds-market-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://sportsgameodds.com/schemas/market",
  "title": "SportsGameOdds Market",
  "description": "A betting market type defining how a wager can be placed on a sporting event",
  "type": "object",
  "required": ["marketId", "name", "betType"],
  "properties": {
    "marketId": {
      "type": "string",
      "description": "Unique market identifier"
    },
    "name": {
      "type": "string",
      "description": "Human-readable market name",
      "examples": ["Full Game Moneyline", "First Half Spread", "Player Passing Yards"]
    },
    "description": {
      "type": "string",
      "description": "Detailed description of the betting market"
    },
    "betType": {
      "type": "string",
      "enum": ["moneyline", "spread", "total", "prop"],
      "description": "Category of bet type"
    },
    "period": {
      "type": "string",
      "description": "Game period this market applies to",
      "enum": ["full_game", "first_half", "second_half", "first_quarter", "second_quarter", "third_quarter", "fourth_quarter", "overtime"]
    },
    "sports": {
      "type": "array",
      "description": "Sports this market is available for",
      "items": {
        "type": "string"
      },
      "examples": [["football"], ["basketball"], ["football", "basketball"]]
    },
    "leagues": {
      "type": "array",
      "description": "Specific leagues this market is available for",
      "items": {
        "type": "string"
      }
    }
  }
}