<jersey>

Element Description

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

XML Example

<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

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

Last updated

Was this helpful?