{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "definitions": {
        "jumpGateCapability": {
            "title": "Capability description for using jump gates",
            "description": "This capability allows the usage of jump gates between systems.",
            "id": "#jumpGateCapability",
            "type": "object"
        },
        "jumpDriveCapability": {
            "title": "Capability description for using jump drives",
            "description": "This capability allows the usage of jump drives between systems of New Eden.",
            "id": "#jumpDriveCapability",
            "type": "object",
            "properties": {
                "distanceLimit": {
                    "description": "The upper limit in light years that can be travelled in one jump.",
                    "type": "number",
                    "minimum": 0
                }
            },
            "required": [
                "distanceLimit"
            ]
        }
    },
    "title": "Collection of travelling capabilities",
    "description": "Set one or several of the optional capabilities to indicate their availability.",
    "type": "object",
    "properties": {
        "jumpGate": {
            "$ref": "#jumpGateCapability"
        },
        "jumpDrive": {
            "$ref": "#jumpDriveCapability"
        }
    }
}