# \<tournament>

#### What is tournament Element? <a href="#uofapi-less-than-tournament-greater-than-whatistournamentelement" id="uofapi-less-than-tournament-greater-than-whatistournamentelement"></a>

The tournament element provides information about a particular tournament and contains 2 sub-elements

* <[sport](https://docs.sportradar.com/uof/api-and-structure/api/elements/less-than-sport-greater-than)>
* <[category](https://docs.sportradar.com/uof/api-and-structure/api/elements/less-than-category-greater-than)>

#### Example XML Response Snippet <a href="#uofapi-less-than-tournament-greater-than-examplexmlresponsesnippet" id="uofapi-less-than-tournament-greater-than-examplexmlresponsesnippet"></a>

Here is an example of the tournament element shown in the fixture endpoint.

```xml
<tournament id="sr:tournament:132" name="NBA">            <sport id="sr:sport:2" name="Basketball"/>            <category id="sr:category:15" name="USA" country_code="USA"/></tournament>
```

#### Element Attributes <a href="#uofapi-less-than-tournament-greater-than-elementattributes" id="uofapi-less-than-tournament-greater-than-elementattributes"></a>

List of attributes in the tournament element:

| Attribute | Meaning                                                           | Possible values                                                     |
| --------- | ----------------------------------------------------------------- | ------------------------------------------------------------------- |
| *id*      | Unique ID of the competition the fixture belongs in               | <p>String value,</p><p>Example: <em>id="sr:tournament:132"</em></p> |
| *name*    | Name of the tournament  (main competition) the fixture belongs in | <p>String value,</p><p>Example: <em>name="NBA"</em></p>             |
