{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Generated schema for Root",
  "type": "object",
  "properties": {
    "league": {
      "type": "object",
      "properties": {
        "game": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "date": {
                "type": "string"
              },
              "homeScore": {
                "type": "number"
              },
              "kickoff": {
                "type": "string"
              },
              "awayTeam": {
                "type": "string"
              },
              "awayScore": {
                "type": "number"
              },
              "players": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "team": {
                      "type": "string"
                    },
                    "player": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "endMin": {
                            "type": "string"
                          },
                          "fouls": {
                            "type": "string"
                          },
                          "penaltySaved": {
                            "type": "string"
                          },
                          "yellow": {
                            "type": "string"
                          },
                          "shotsOnTarget": {
                            "type": "string"
                          },
                          "startMin": {
                            "type": "string"
                          },
                          "ownGoal": {
                            "type": "string"
                          },
                          "red": {
                            "type": "string"
                          },
                          "saves": {
                            "type": "string"
                          },
                          "assists": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "penaltyConceded": {
                            "type": "string"
                          },
                          "penaltyMissed": {
                            "type": "string"
                          },
                          "shots": {
                            "type": "string"
                          },
                          "foulsDrawn": {
                            "type": "string"
                          },
                          "goals": {
                            "type": "string"
                          },
                          "penaltyScored": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "endMin",
                          "fouls",
                          "penaltySaved",
                          "yellow",
                          "shotsOnTarget",
                          "startMin",
                          "ownGoal",
                          "red",
                          "saves",
                          "assists",
                          "name",
                          "penaltyConceded",
                          "penaltyMissed",
                          "shots",
                          "foulsDrawn",
                          "goals",
                          "penaltyScored"
                        ]
                      }
                    }
                  },
                  "required": [
                    "team",
                    "player"
                  ]
                }
              },
              "homeTeam": {
                "type": "string"
              },
              "goalTime": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "homeGoalTime": {
                      "type": "string"
                    },
                    "awayGoalTime": {
                      "type": "string"
                    }
                  },
                  "required": []
                }
              },
              "status": {
                "type": "string"
              }
            },
            "required": [
              "date",
              "kickoff",
              "awayTeam",
              "homeTeam",
              "status"
            ]
          }
        },
        "week": {
          "type": "string"
        },
        "response": {
          "type": "string"
        },
        "season": {
          "type": "string"
        },
        "id": {
          "type": "string"
        }
      },
      "required": [
        "game",
        "week",
        "response",
        "season",
        "id"
      ]
    }
  },
  "required": [
    "league"
  ]
}