Categories

Michael Kent
2024-12-04T18:23:53Z

Category JSON description:

Category is tournament group by country or championship type.

{
  "id": string, // Category string id
  "name": {
    string: string, //-  key: value map where left side is key is string language id (en, ro, fr, etc.), right side is value - string
  },
  "timestamp": DateTime, // date time with time zone
  "dataVersion": int, // version of category with current id, increments when one of category fields are changed
  "slug": string, // short name of category for SEO links
  "sport": string, // sport string id, "Football" for example
}

Example:

{
  "id": "d51986ee879f49e99e0597b820a34ff6",
  "name": {
    "en": "USA",
    "uk": "США",
    "uz": "AQSh",
    "vi": "Mỹ",
    "zn": "美国",
    "sw": "USA",
    "my": "USA",
    "ru": "США",
    "pt": "EUA",
    "ro": "SUA",
    "es": "Estados Unidos",
    "ms": "USA",
    "th": "สหรัฐอเมริกา",
    "fa": "ایالات متحده آمریکا",
    "zh": "美国"
  },
  "timestamp": "2022-12-22T20:10:28.7454716Z",
  "dataVersion": 75,
  "slug": "usa",
  "sport": "AmericanFootball",
}