{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Service",
  "title": "Service",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Service name",
      "example": "Example Title"
    },
    "type": {
      "type": "string",
      "description": "Service type",
      "enum": [
        "AdminServer",
        "DistributionServer",
        "ReceiverServer",
        "PerformanceMetricsServer"
      ],
      "example": "AdminServer"
    },
    "status": {
      "type": "string",
      "description": "Service status",
      "enum": [
        "running",
        "stopped",
        "error"
      ],
      "example": "running"
    },
    "port": {
      "type": "integer",
      "description": "Service listening port",
      "example": 10
    },
    "secure": {
      "type": "boolean",
      "description": "Whether the service uses SSL/TLS",
      "example": true
    }
  }
}