{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Stadium",
"title": "Stadium",
"properties": {
"StadiumID": {
"type": "integer",
"description": "The unique ID of the stadium"
},
"Active": {
"type": "boolean",
"description": "Whether or not this stadium is active"
},
"Name": {
"type": [
"string",
"null"
],
"description": "The full name of the stadium"
},
"City": {
"type": [
"string",
"null"
],
"description": "The city where the stadium is located"
},
"State": {
"type": [
"string",
"null"
],
"description": "The state where the stadium is located (only US and Canadian stadiums will have values)"
},
"Country": {
"type": [
"string",
"null"
],
"description": "The 3-digit country code where the stadium is located"
},
"Capacity": {
"type": [
"integer",
"null"
],
"description": "The estimated seating capacity of the stadium"
},
"Surface": {
"type": [
"string",
"null"
],
"description": "The playing surface of the stadium (Grass, Artificial or Dome)"
},
"LeftField": {
"type": [
"integer",
"null"
],
"description": "The estimated\u00a0distance between home plate and the left field wall"
},
"MidLeftField": {
"type": [
"integer",
"null"
],
"description": "The estimated distance between home plate and the mid left field wall"
},
"LeftCenterField": {
"type": [
"integer",
"null"
],
"description": "The estimated distance between home plate and the left center field wall"
},
"MidLeftCenterField": {
"type": [
"integer",
"null"
],
"description": "The estimated distance between home plate and the mid\u00a0left center field wall"
},
"CenterField": {
"type": [
"integer",
"null"
],
"description": "The estimated distance between home plate and the center field wall"
},
"MidRightCenterField": {
"type": [
"integer",
"null"
],
"description": "The estimated distance between home plate and the mid right center field wall"
},
"RightCenterField": {
"type": [
"integer",
"null"
],
"description": "The estimated distance between home plate and the right center field wall"
},
"MidRightField": {
"type": [
"integer",
"null"
],
"description": "The estimated distance between home plate and the mid right\u00a0field wall"
},
"RightField": {
"type": [
"integer",
"null"
],
"description": "The estimated distance between home plate and the right\u00a0field wall"
},
"GeoLat": {
"type": [
"number",
"null"
],
"description": "The geographic latitude coordinate of this venue"
},
"GeoLong": {
"type": [
"number",
"null"
],
"description": "The geographic longitude coordinate of this venue"
},
"Altitude": {
"type": [
"integer",
"null"
],
"description": "The altitude of the stadium in feet"
},
"HomePlateDirection": {
"type": [
"integer",
"null"
],
"description": "The direction that the batter is facing while looking at the pitcher's mound. If the home plate is at the north of the stadium, the batter is facing south, so the value is given as 180 degrees. If home plate is at the east the batter faces west, so it's 270 degrees. If the home plate is at the south the batter faces north, so it's 0 degrees. If the home plate is at the west the batter faces east, so it's 90 degrees."
},
"Type": {
"type": [
"string",
"null"
],
"description": "The type of the stadium (possible values: Outdoor, Dome, RetractableDome)"
}
}
}