RackHD/on-http

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

Summary

Maintainability
Test Coverage
{
    "title": "vbox-obm-service",
    "definitions": {
        "ObmBase": {
            "description": "Vbox OBM settings",
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "nodeId": {
                    "type": "string"
                },
                "service": {
                    "type": "string"
                },
                "config": {
                    "type": "object",
                    "properties": {
                        "alias": {
                            "description": "Alias",
                            "type": "string"
                        },
                        "user": {
                            "description": "Username",
                            "type": "string"
                        }
                    },
                    "required": ["alias", "user"]
                }
            }
        },
        "ObmPatch": {
            "type": "object",
            "allOf": [
                {"$ref": "#/definitions/ObmBase"}
            ]
        },
        "Obm": {
            "type": "object",
            "allOf": [
                {"$ref": "#/definitions/ObmBase"},
                {"required": ["nodeId", "service", "config"]}
            ]
        }
    }
}