RackHD/on-http

View on GitHub
static/schemas/obms/vmrun-obm-service.json

Summary

Maintainability
Test Coverage
{
    "title": "default-obm-service",
    "definitions": {
        "ObmPatch": {
            "description": "Vmrun settings",
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "nodeId": {
                    "type": "string"
                },
                "service": {
                    "type": "string"
                },
                "config": {
                    "type": "object",
                    "properties": {
                        "vmxpath": {
                            "description": "VMX path",
                            "type": "string"
                        }
                    },
                    "required": ["vmxpath"]
                }
            }
        },
        "ObmPatch": {
            "type": "object",
            "allOf": [
                {"$ref": "#/definitions/ObmBase"}
            ]
        },
        "Obm": {
            "type": "object",
            "allOf": [
                {"$ref": "#/definitions/ObmBase"},
                {"required": ["nodeId", "service", "config"]}
            ]
        }
    }
}