{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/odds-api-io/json-schema/odds-api-io-dto-outright-dto-schema.json",
  "title": "dto.OutrightDto",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/odds-api-io-openapi.json#/components/schemas/dto.OutrightDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64"
    },
    "name": {
      "type": "string"
    },
    "date": {
      "type": "string",
      "format": "date-time",
      "description": "Scheduled start of the first round"
    },
    "status": {
      "type": "string",
      "enum": [
        "pending",
        "live",
        "settled",
        "cancelled"
      ]
    },
    "sport": {
      "$ref": "#/$defs/dto.Sport"
    },
    "league": {
      "$ref": "#/$defs/dto.League"
    },
    "bookmakerCount": {
      "type": "integer",
      "description": "How many bookmakers you can request in /outrights/odds currently price this outright: any bookmaker with a current price for at least one golfer counts."
    }
  },
  "$defs": {
    "dto.League": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        }
      }
    },
    "dto.Sport": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        }
      }
    }
  }
}