{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "name": "map config file",
    "type": "array",
    "minItems": 1,
    "items": {
        "type": "object",
        "properties": {
            "filename": {
                "type": "string",
                "title": "Map file",
                "examples": [
                    "./maps/default.json"
                ]
            },
            "rounds": {
                "type": "integer",
                "title": "Rounds in a row",
                "description": "Minimum number of rounds that this map will be invoked in a row",
                "default": 0,
                "examples": [
                    3
                ]
            },
            "weight": {
                "type": "integer",
                "title": "Weight of this map compared to others",
                "description": "",
                "default": 1,
                "examples": [
                    2
                ]
            }
        },
        "required": [
            "filename"
        ]
    }
}