{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thesports/json-schema/thesports-standings-response-schema.json",
  "title": "StandingsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thesports-standings-api-openapi.yml#/components/schemas/StandingsResponse",
  "type": "object",
  "properties": {
    "code": {
      "type": "integer"
    },
    "message": {
      "type": "string"
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/StandingEntry"
      }
    }
  },
  "$defs": {
    "StandingEntry": {
      "type": "object",
      "properties": {
        "team_id": {
          "type": "string"
        },
        "team_name": {
          "type": "string"
        },
        "position": {
          "type": "integer"
        },
        "played": {
          "type": "integer"
        },
        "won": {
          "type": "integer"
        },
        "drawn": {
          "type": "integer"
        },
        "lost": {
          "type": "integer"
        },
        "goals_for": {
          "type": "integer"
        },
        "goals_against": {
          "type": "integer"
        },
        "goal_difference": {
          "type": "integer"
        },
        "points": {
          "type": "integer"
        }
      }
    }
  }
}