WeatherAPI · JSON Structure

Weatherapi Sports Response Structure

SportsResponse schema from WeatherAPI.com

Type: object Properties: 3
WeatherForecastHistoryMarineAstronomyGeolocationSportsAlertsPublic APIs

SportsResponse is a JSON Structure definition published by WeatherAPI, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

football cricket golf

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/weatherapi/refs/heads/main/json-structure/weatherapi-sports-response-structure.json",
  "name": "SportsResponse",
  "description": "SportsResponse schema from WeatherAPI.com",
  "type": "object",
  "properties": {
    "football": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "stadium": {
            "type": "string",
            "example": "Wembley Stadium"
          },
          "country": {
            "type": "string",
            "example": "United Kingdom"
          },
          "region": {
            "type": "string",
            "example": "City of London, Greater London"
          },
          "tournament": {
            "type": "string",
            "example": "Premier League"
          },
          "start": {
            "type": "string",
            "description": "Local start datetime yyyy-MM-dd HH:mm",
            "example": "sample value"
          },
          "match": {
            "type": "string",
            "example": "Manchester United vs Liverpool"
          }
        }
      }
    },
    "cricket": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "stadium": {
            "type": "string",
            "example": "Wembley Stadium"
          },
          "country": {
            "type": "string",
            "example": "United Kingdom"
          },
          "region": {
            "type": "string",
            "example": "City of London, Greater London"
          },
          "tournament": {
            "type": "string",
            "example": "Premier League"
          },
          "start": {
            "type": "string",
            "description": "Local start datetime yyyy-MM-dd HH:mm",
            "example": "sample value"
          },
          "match": {
            "type": "string",
            "example": "Manchester United vs Liverpool"
          }
        }
      }
    },
    "golf": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "stadium": {
            "type": "string",
            "example": "Wembley Stadium"
          },
          "country": {
            "type": "string",
            "example": "United Kingdom"
          },
          "region": {
            "type": "string",
            "example": "City of London, Greater London"
          },
          "tournament": {
            "type": "string",
            "example": "Premier League"
          },
          "start": {
            "type": "string",
            "description": "Local start datetime yyyy-MM-dd HH:mm",
            "example": "sample value"
          },
          "match": {
            "type": "string",
            "example": "Manchester United vs Liverpool"
          }
        }
      }
    }
  }
}