{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/realtimesportsapi-com/json-schema/realtimesportsapi-com-league-detail-schema.json",
  "title": "LeagueDetail",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/realtimesportsapi-com-sports-api-openapi.yml#/components/schemas/LeagueDetail",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "displayName": {
      "type": "string"
    },
    "abbreviation": {
      "type": "string"
    },
    "shortName": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "currentSeason": {
      "type": "object",
      "properties": {
        "year": {
          "type": "integer"
        },
        "type": {
          "type": "string"
        },
        "startDate": {
          "type": "string"
        },
        "endDate": {
          "type": "string"
        }
      }
    },
    "endpoints": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Relative URLs of related endpoints."
    }
  }
}