{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sportstatsapi/json-schema/sportstatsapi-dto-ski-standings-response-schema.json",
  "title": "dto.SkiStandingsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sportstatsapi-alpine-skiing-api-openapi.yml#/components/schemas/dto.SkiStandingsResponse",
  "properties": {
    "discipline": {
      "type": "string"
    },
    "gender": {
      "enum": [
        "men",
        "women",
        "all"
      ],
      "type": "string"
    },
    "info": {
      "type": "string"
    },
    "nations": {
      "type": "boolean"
    },
    "races_done": {
      "type": "integer"
    },
    "races_total": {
      "type": "integer"
    },
    "rows": {
      "items": {
        "$ref": "#/$defs/database.SkiStandingRow"
      },
      "type": "array"
    },
    "season": {
      "type": "string"
    },
    "updated_at": {
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "database.SkiStandingRow": {
      "properties": {
        "athlete_id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "nation": {
          "type": "string"
        },
        "points": {
          "type": "string"
        },
        "rank": {
          "type": "integer"
        }
      },
      "type": "object"
    }
  }
}