{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "definitions": {
        "Status": {
            "type": "string",
            "enum": [
                "connected",
                "connecting",
                "disconnected",
                "error"
            ],
            "default": "disconnected"
        }
    },
    "type": "object",
    "description": "Login information for OBS Websocket, used to communicate with and remotely control OBS Studio.",
    "additionalProperties": false,
    "properties": {
        "ip": {
            "type": "string",
            "default": "localhost"
        },
        "port": {
            "type": "number",
            "default": 4444
        },
        "password": {
            "type": "string",
            "default": ""
        },
        "status": {
            "$ref": "#/definitions/Status"
        }
    },
    "required": [
        "ip",
        "port",
        "password",
        "status"
    ]
}