{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "definitions": {
        "capability": {
            "type": "object",
            "properties": {
                "name": {
                    "type": "string"
                }
            },
            "required": [
                "name"
            ],
            "additionalProperties": false
        }
    },
    "type": "object",
    "properties": {
        "capabilities": {
            "type": "array",
            "items": {
                "$ref": "#/definitions/capability"
            }
        }
    },
    "required": [
        "capabilities"
    ],
    "additionalProperties": false
}