# \<sport\_event\_conditions>

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

This element includes information about the venue, weather, referee, pitcher, pitcher history, etc.

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

```xml
< sport_event_conditions match_mode="bo5">
<venue id="sr: venue:1310" name="Arthur Ashe Stadium" capacity="22547" city_name="New York" country_name="USA" country_code="USA"
state="NY" />
</sport_event_conditions>
< sport_event_conditions>
<referee id="sr:referee:81627" name="Pawson, Craig" nationality="England" />
<venue id="sr: venue:2223" name="Elland Road" capacity="40242" city_name="Leeds" country_name="England" country_code= "ENG"
map_coordinates="53.777808, -1.572227" /> </sport_event_conditions>
< sport_event_conditions attendance="18842">
<pitchers>
<pitcher name="Casey Mize" hand="R" competitor="home" id="sr:player:1473712"/>
<pitcher name="Christopher Archer" hand="R" competitor="away" id="sr:player:843249" />
</pitchers>
<pitcherHistory>
<pitcher name="Casey Mize" hand="R" competitor="home" id="sr:player:1473712" changed_at="2021-09-11T22:54:27+00:00" /> <pitcher name="Bryan Garcia" hand="R" competitor="home" id="sr:player:1119703" changed_at="2021-09-11T23:15:42+00:00" />
<pitcher name="Ian Krol" hand="L" competitor="home" id="sr:player:849464" changed_at="2021-09-11T23:31:21+00:00" /> <pitcher name="Andrew Hutchison" hand="R" competitor="home" id="sr:player:843051" changed_at="2021-09-12T00: 36:44+00:00"/>
</pitcherHistory>
enue id="sr:venue: 21884" name="Comerica Park" capacity="41083" city_name="Detroit" country_name="USA" country_code="USA"
map_coordinates="42. 3391886, -83.04947829999999" state="MI" /> 
</sport_event_conditions>
```

#### *sport\_event\_condition* Attributes <a href="#uofapi-less-than-sport_event_conditions-greater-than-sport_event_conditionattributes" id="uofapi-less-than-sport_event_conditions-greater-than-sport_event_conditionattributes"></a>

| *Attributes of sport\_event\_condition* | possible values | Meaning                                                 |
| --------------------------------------- | --------------- | ------------------------------------------------------- |
| *Attendance*                            | Integer         | number of people who attended the match                 |
| *match\_mode*                           | bo3, bo5, bo7   | used for sports like tennis which has best of 3,5,7 etc |

#### *sport\_event\_condition* Sub-elements <a href="#uofapi-less-than-sport_event_conditions-greater-than-sport_event_conditionsub-elements" id="uofapi-less-than-sport_event_conditions-greater-than-sport_event_conditionsub-elements"></a>

* sport\_event\_condition
  * referee
  * venue
  * pitcher
  * pitcher\_history

Attributes of **\<referee>** with possible values and meaning

| *Attributes of referee* | Meaning                    | Possible values  |
| ----------------------- | -------------------------- | ---------------- |
| *id*                    | id of the referee          | sr:referee:81627 |
| *name*                  | name of the referee        | string           |
| *nationality*           | nationality of the referee | string           |
