judobase.schemas.CountryShort

pydantic model judobase.schemas.CountryShort

Represents the condensed data about a country.

Provided by the country.get_list method of Judobase API.

Show JSON schema
{
   "title": "CountryShort",
   "description": "Represents the condensed data about a country.\n\nProvided by the ``country.get_list`` method of Judobase API.",
   "type": "object",
   "properties": {
      "name": {
         "description": "The full name of the country.",
         "title": "Country Name",
         "type": "string"
      },
      "id_country": {
         "description": "The unique identifier for the country.",
         "title": "Country ID",
         "type": "string"
      },
      "ioc": {
         "description": "International Olympic Committee code.",
         "title": "IOC code",
         "type": "string"
      }
   },
   "required": [
      "name",
      "id_country",
      "ioc"
   ]
}

Fields:
field id_country: str [Required]

The unique identifier for the country.

field ioc: str [Required]

International Olympic Committee code.

field name: str [Required]

The full name of the country.