{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thesports/json-schema/thesports-player-details-response-schema.json",
  "title": "PlayerDetailsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thesports-players-api-openapi.yml#/components/schemas/PlayerDetailsResponse",
  "type": "object",
  "properties": {
    "code": {
      "type": "integer"
    },
    "message": {
      "type": "string"
    },
    "results": {
      "$ref": "#/$defs/Player"
    }
  },
  "$defs": {
    "Player": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "common_name": {
          "type": "string"
        },
        "logo": {
          "type": "string"
        },
        "team_id": {
          "type": "string"
        },
        "country_id": {
          "type": "string"
        },
        "position": {
          "type": "string"
        },
        "jersey_number": {
          "type": "integer"
        },
        "age": {
          "type": "integer"
        },
        "height": {
          "type": "integer"
        },
        "weight": {
          "type": "integer"
        },
        "market_value": {
          "type": "string"
        }
      }
    }
  }
}