{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/localtonet-com/json-schema/localtonet-com-update-client-for-rotating-proxy-tunnel-for-api-vm-schema.json",
  "title": "UpdateClientForRotatingProxyTunnelForApiVM",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/localtonet-com-openapi.json#/components/schemas/UpdateClientForRotatingProxyTunnelForApiVM",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "tunnelId": {
      "type": "integer",
      "format": "int64"
    },
    "username": {
      "type": [
        "string",
        "null"
      ]
    },
    "password": {
      "type": [
        "string",
        "null"
      ]
    },
    "enableExpirationDate": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "expirationDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "enableBandwidthLimit": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "dataSizeType": {
      "$ref": "#/$defs/DataSizeType"
    },
    "bandwidthLimit": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64"
    },
    "enableThreadLimit": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "threadLimit": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false,
  "$defs": {
    "DataSizeType": {
      "enum": [
        "1 = Bytes",
        "1024 = KB",
        "125000 = Mbps",
        "1048576 = MB",
        "1073741824 = GB",
        "1099511627776 = TB"
      ],
      "type": "integer",
      "format": "int64"
    }
  }
}