{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/traefik/main/json-schema/traefik-tcpmiddleware-schema.json",
  "title": "TCPMiddleware",
  "description": "A TCP middleware that modifies TCP connections.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/traefik-tcp-api-openapi.yml#/components/schemas/TCPMiddleware",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the TCP middleware in name@provider format."
    },
    "type": {
      "type": "string",
      "description": "The type of TCP middleware (e.g., ipAllowList, inFlightConn)."
    },
    "status": {
      "type": "string",
      "enum": [
        "enabled",
        "disabled",
        "warning"
      ]
    },
    "provider": {
      "type": "string"
    }
  }
}