# \<jersey>

#### Element Description <a href="#uofapi-less-than-jersey-greater-than-elementdescription" id="uofapi-less-than-jersey-greater-than-elementdescription"></a>

The jersey element provides information related to the jersey of the team.

#### XML Example <a href="#uofapi-less-than-jersey-greater-than-xmlexample" id="uofapi-less-than-jersey-greater-than-xmlexample"></a>

```xml
<jerseys>
   <jersey type="home" base="ffffff" sleeve="cc0000" number="000000" stripes="false" horizontal_stripes="false" squares="false" splits="false" shirt_type="no_sleeve"/>
   <jersey type="away" base="cc0000" sleeve="000000" number="ffffff" stripes="false" horizontal_stripes="false" squares="false" splits="false" shirt_type="no_sleeve"/>
   <jersey type="home" base="000000" sleeve="990000" number="ffffff" stripes="false" horizontal_stripes="false" squares="false" splits="false" shirt_type="no_sleeve"/>
</jerseys>
```

#### **Attributes Explained** <a href="#uofapi-less-than-jersey-greater-than-attributesexplained" id="uofapi-less-than-jersey-greater-than-attributesexplained"></a>

Attributes of the jersey element are listed in table below:

| Attribute             | Type      | Meaning                                                                       | Possible values     |
| --------------------- | --------- | ----------------------------------------------------------------------------- | ------------------- |
| *stripes*             | boolean   | it identifies if the jersey has vertical stripes                              | true, false         |
| *horizontal\_stripes* | boolean   | it identifies if the jersey has horizontal stripes                            | true, false         |
| *squares*             | boolean   | it identifies if the jersey has squares                                       | true, false         |
| *split*               | boolean   | it identifies if the jersey is split into 2 different colors                  | true, false         |
| *base*                | hex color | base color of the jersey                                                      | all colors          |
| *sleeve*              | hex color | main color of the whole sleeve                                                | all colors          |
| *number*              | hex color | color of the number                                                           | all colors          |
| *sleeve\_details*     | hex color | color of the end of the sleeves, present only if sleeves  are present         | all colors          |
| *type*                | string    | it identifies if the jersey described belongs to the home or to the away team | home, away          |
| *shirt\_type*         | string    | it identifies if the shirt has long or short sleeves                          | short, long sleeves |
