{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "dolittle.io/schemas/Runtime/Server/server.json",
    "title": "Server Configuration",
    "description": "The event horizon server configuration",
    "type": "object",
    "properties": {
        "interaction": {
            "description": "The configuration for the interaction server",
            "type": "object",
            "properties": {
                "enabled": {
                    "description": "Whether or not the interaction server is enabled",
                    "type": "boolean"
                },
                "port": {
                    "description": "The port to use for exposing the interaction server",
                    "type": "number"
                },
                "unixSocket": {
                    "description": "The unix socket to use for exposing the interaction server on",
                    "type": "string",
                    "format": "uri-reference"
                }
            }
        },
        "management": {
            "port": {
                "description": "The port to use for exposing the management server",
                "type": "number"
            },
            "unixSocket": {
                "description": "The unix socket to use for exposing the management server on",
                "type": "string",
                "format": "uri-reference"
            }
        }
    },
    "required": [
        "interaction",
        "management"
    ]
}