{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/traefik/main/json-schema/traefik-tcpservice-schema.json",
  "title": "TCPService",
  "description": "A TCP service representing one or more backend TCP servers.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/traefik-tcp-api-openapi.yml#/components/schemas/TCPService",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the TCP service in name@provider format."
    },
    "type": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "enabled",
        "disabled",
        "warning"
      ]
    },
    "provider": {
      "type": "string"
    },
    "loadBalancer": {
      "type": "object",
      "properties": {
        "servers": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "address": {
                "type": "string",
                "description": "The address of the backend TCP server (host:port)."
              }
            }
          }
        }
      }
    }
  }
}