{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://showbridge.io/config.schema.json",
  "title": "Config",
  "description": "showbridge configuration",
  "type": "object",
  "properties": {
    "api": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Whether the API server is enabled"
        },
        "port": {
          "type": "integer",
          "description": "Port for the API server to listen on"
        }
      },
      "required": ["port"]
    },
    "modules": {
      "$ref": "https://showbridge.io/modules.schema.json"
    },
    "routes": {
      "$ref": "https://showbridge.io/routes.schema.json"
    }
  }
}
