     init?(json: [String: Any]) {
         self.numTeams = json["num_teams"] as? Int
         self.status = json["status"] as? String
-        
+
         if let rankingJSON = json["ranking"] as? [String: Any] {
             self.ranking = TBAEventRanking(json: rankingJSON)
         }
-        
+
         if let sortOrdersJSON = json["sort_order_info"] as? [[String: Any]] {
             self.sortOrder = sortOrdersJSON.compactMap({ (sortOrderJSON) -> TBAEventRankingSortOrder? in
                 return TBAEventRankingSortOrder(json: sortOrderJSON)
             })
         }
     }
-    
+
 }
 
 public struct TBAEventStatusAlliance: TBAModel {
-    
+
     public var number: Int
     public var pick: Int
     public var name: String?

            return nil
        }
        self.eventKey = eventKey
        
        if let qualJSON = json["qual"] as? [String: Any] {
            self.qual = TBAEventStatusQual(json: qualJSON)
        }
        
        if let allianceJSON = json["alliance"] as? [String: Any] {
            self.alliance = TBAEventStatusAlliance(json: allianceJSON)
        }
        
        if let playoffJSON = json["playoff"] as? [String: Any] {
            self.playoff = TBAAllianceStatus(json: playoffJSON)
        }

}

public struct TBAEventStatus: TBAModel {

    public var teamKey: String
    public var eventKey: String

    public var qual: TBAEventStatusQual?
    public var alliance: TBAEventStatusAlliance?
    public var playoff: TBAAllianceStatus?

    public var allianceStatusString: String?
    public var playoffStatusString: String?
    public var overallStatusString: String?

    public var nextMatchKey: String?
    public var lastMatchKey: String?

