judobase.schemas.RankingEntry

pydantic model judobase.schemas.RankingEntry

Represents one place in the current World Ranking List.

Provided by the ranking.get_list method of Judobase API.

Show JSON schema
{
   "title": "RankingEntry",
   "description": "Represents one place in the current World Ranking List.\n\nProvided by the ``ranking.get_list`` method of Judobase API.",
   "type": "object",
   "properties": {
      "id_person": {
         "description": "The ranked competitor.",
         "title": "Person ID",
         "type": "integer"
      },
      "id_age": {
         "description": "Age group and gender: 1 senior men, 2 senior women; others are juniors and cadets.",
         "title": "Age ID",
         "type": "integer"
      },
      "id_weight": {
         "description": "Weight category; 1-14 are the senior ones.",
         "title": "Weight ID",
         "type": "integer"
      },
      "place": {
         "description": "Place in the weight category.",
         "title": "Place",
         "type": "integer"
      },
      "sum_points": {
         "description": "Ranking points.",
         "title": "Points",
         "type": "integer"
      }
   },
   "required": [
      "id_person",
      "id_age",
      "id_weight",
      "place",
      "sum_points"
   ]
}

Fields:
field id_age: int [Required]

Age group and gender: 1 senior men, 2 senior women; others are juniors and cadets.

field id_person: int [Required]

The ranked competitor.

field id_weight: int [Required]

Weight category; 1-14 are the senior ones.

field place: int [Required]

Place in the weight category.

field sum_points: int [Required]

Ranking points.