{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/dolittle-server-configuration/latest.json",
  "title": "Server Configuration",
  "description": "The event horizon server configuration",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/dolittle/Runtime/master/Schemas/Server/server.json",
    "sourceSha256": "2cbe92f165fea5e14fe5ccbd479537be8b829e17da1668a0536545a7cf6a2ee7",
    "fileMatch": [
      "**/.dolittle/server.json"
    ],
    "parsers": [
      "json"
    ]
  },
  "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"
  ]
}
