{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "array",
    "items": {
        "type": "object",
        "properties": {
            "id": {
                "type": "string"
            },
            "start_time": {
                "type": "string"
            },
            "end_time": {
                "type": "string"
            },
            "scores": {
                "type": "object",
                "properties": {
                    "red": {
                        "type": "number"
                    },
                    "blue": {
                        "type": "number"
                    },
                    "green": {
                        "type": "number"
                    }
                }
            },
            "worlds": {
                "type": "object",
                "properties": {
                    "red": {
                        "type": "number"
                    },
                    "blue": {
                        "type": "number"
                    },
                    "green": {
                        "type": "number"
                    }
                }
            },
            "all_worlds": {
                "type": "object",
                "properties": {
                    "red": {
                        "type": "array",
                        "items": {
                            "type": "number"
                        }
                    },
                    "blue": {
                        "type": "array",
                        "items": {
                            "type": "number"
                        }
                    },
                    "green": {
                        "type": "array",
                        "items": {
                            "type": "number"
                        }
                    }
                }
            },
            "deaths": {
                "type": "object",
                "properties": {
                    "red": {
                        "type": "number"
                    },
                    "blue": {
                        "type": "number"
                    },
                    "green": {
                        "type": "number"
                    }
                }
            },
            "kills": {
                "type": "object",
                "properties": {
                    "red": {
                        "type": "number"
                    },
                    "blue": {
                        "type": "number"
                    },
                    "green": {
                        "type": "number"
                    }
                }
            },
            "victory_points": {
                "type": "object",
                "properties": {
                    "red": {
                        "type": "number"
                    },
                    "blue": {
                        "type": "number"
                    },
                    "green": {
                        "type": "number"
                    }
                }
            },
            "skirmishes": {
                "type": "array",
                "items": {
                    "type": "object",
                    "properties": {
                        "id": {
                            "type": "number"
                        },
                        "scores": {
                            "type": "object",
                            "properties": {
                                "red": {
                                    "type": "number"
                                },
                                "blue": {
                                    "type": "number"
                                },
                                "green": {
                                    "type": "number"
                                }
                            }
                        },
                        "map_scores": {
                            "type": "array",
                            "items": {
                                "type": "object",
                                "properties": {
                                    "type": {
                                        "type": "string"
                                    },
                                    "scores": {
                                        "type": "object",
                                        "properties": {
                                            "red": {
                                                "type": "number"
                                            },
                                            "blue": {
                                                "type": "number"
                                            },
                                            "green": {
                                                "type": "number"
                                            }
                                        }
                                    }
                                },
                                "required": [
                                    "type",
                                    "scores"
                                ]
                            }
                        }
                    }
                }
            },
            "maps": {
                "type": "array",
                "items": {
                    "type": "object",
                    "properties": {
                        "id": {
                            "type": "number"
                        },
                        "type": {
                            "type": "string"
                        },
                        "scores": {
                            "type": "object",
                            "properties": {
                                "red": {
                                    "type": "number"
                                },
                                "blue": {
                                    "type": "number"
                                },
                                "green": {
                                    "type": "number"
                                }
                            }
                        },
                        "bonuses": {
                            "type": "array",
                            "items": {
                                "type": "object",
                                "properties": {
                                    "type": {
                                        "type": "string"
                                    },
                                    "owner": {
                                        "type": "string"
                                    }
                                }
                            }
                        },
                        "objectives": {
                            "type": "array",
                            "items": {
                                "type": "object",
                                "properties": {
                                    "id": {
                                        "type": "string"
                                    },
                                    "type": {
                                        "type": "string"
                                    },
                                    "owner": {
                                        "type": "string"
                                    },
                                    "last_flipped": {
                                        "type": "string"
                                    },
                                    "claimed_by": {
                                        "oneOf": [
                                            {
                                                "type": "string"
                                            },
                                            {
                                                "type": "null"
                                            }
                                        ]
                                    },
                                    "claimed_at": {
                                        "oneOf": [
                                            {
                                                "type": "string"
                                            },
                                            {
                                                "type": "null"
                                            }
                                        ]
                                    },
                                    "points_tick": {
                                        "type": "number"
                                    },
                                    "points_capture": {
                                        "type": "number"
                                    },
                                    "yaks_delivered": {
                                        "type": "number"
                                    },
                                    "guild_upgrades": {
                                        "type": "array",
                                        "items": {}
                                    }
                                },
                                "required": [
                                    "id",
                                    "type",
                                    "owner",
                                    "last_flipped",
                                    "points_tick",
                                    "points_capture"
                                ]
                            }
                        },
                        "deaths": {
                            "type": "object",
                            "properties": {
                                "red": {
                                    "type": "number"
                                },
                                "blue": {
                                    "type": "number"
                                },
                                "green": {
                                    "type": "number"
                                }
                            }
                        },
                        "kills": {
                            "type": "object",
                            "properties": {
                                "red": {
                                    "type": "number"
                                },
                                "blue": {
                                    "type": "number"
                                },
                                "green": {
                                    "type": "number"
                                }
                            }
                        }
                    },
                    "required": [
                        "id",
                        "type",
                        "scores",
                        "bonuses",
                        "objectives",
                        "deaths",
                        "kills"
                    ]
                }
            }
        },
        "required": [
            "id",
            "start_time",
            "end_time",
            "scores",
            "worlds",
            "all_worlds",
            "deaths",
            "kills",
            "victory_points",
            "skirmishes",
            "maps"
        ]
    },
    "properties": {},
    "additionalProperties": false
}