Skip to content

Commit e09daef

Browse files
committed
Document squad number constraint
1 parent bb21092 commit e09daef

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

models/player_model.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ class PlayerRequestModel(MainModel):
5353
middle_name (Optional[str]): The middle name of the Player, if any.
5454
last_name (str): The last name of the Player.
5555
date_of_birth (Optional[str]): The date of birth of the Player, if provided.
56-
squad_number (int): The unique squad number assigned to the Player.
56+
squad_number (int): The unique, positive squad number assigned to the
57+
Player.
5758
position (str): The playing position of the Player.
5859
abbr_position (Optional[str]): The abbreviated form of the Player's position,
5960
if any.

0 commit comments

Comments
 (0)