{
    "$schema": "http://json-schema.org/draft-06/schema#",
    "type": "object",
    "properties": {
        "name": {
            "type": "string"
        },
        "label": {
            "type": "string"
        },
        "version": {
            "type": "integer",
            "default": 1
        },
        "regions": {
            "type": "array",
            "items": {
                "$ref": "#/definitions/regionName"
            }
        }
    },
    "required": [
        "name",
        "label",
        "version",
        "regions"
    ],
    "definitions": {
        "regionName": {
            "type": "string",
            "pattern": "^[a-z]+(?:-+[a-z]+)*-v\\d+$"
        }
    }
}