{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/localtonet-com/json-schema/localtonet-com-create-proxy-server-with-detail-for-api-vm-schema.json",
  "title": "CreateProxyServerWithDetailForApiVM",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/localtonet-com-openapi.json#/components/schemas/CreateProxyServerWithDetailForApiVM",
  "type": "object",
  "properties": {
    "protocolType": {
      "type": "integer",
      "format": "int32"
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "authToken": {
      "type": [
        "string",
        "null"
      ]
    },
    "serverPort": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "serverCode": {
      "type": [
        "string",
        "null"
      ]
    },
    "subDomainName": {
      "type": [
        "string",
        "null"
      ]
    },
    "domainName": {
      "type": [
        "string",
        "null"
      ]
    },
    "localServerIp": {
      "type": [
        "string",
        "null"
      ]
    },
    "isStartAfterCreate": {
      "type": "boolean"
    },
    "expirationDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "arguments": {
      "type": [
        "string",
        "null"
      ]
    },
    "externalId": {
      "type": [
        "string",
        "null"
      ]
    },
    "justConnectWithIpv4": {
      "type": "boolean"
    },
    "isWifiSplitOn": {
      "type": "boolean"
    },
    "isLegacyConnect": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "userUsbDeviceId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "accessControlData": {
      "$ref": "#/$defs/TunnelAccessControlForApiVM"
    },
    "ipRestrictionData": {
      "$ref": "#/$defs/TunnelIpRestrictionForApiVM"
    },
    "authenticationData": {
      "$ref": "#/$defs/TunnelAuthenticationForApiVM"
    },
    "bandwidthLimitData": {
      "$ref": "#/$defs/TunnelBandwidthLimitForApiVM"
    },
    "rateLimitData": {
      "$ref": "#/$defs/TunnelRateLimitForApiVM"
    },
    "upstreamSetting": {
      "$ref": "#/$defs/TunnelUpstreamProxySettingForApiVM"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "TunnelAccessControlForApiVM": {
      "type": "object",
      "properties": {
        "isAllow": {
          "type": "boolean"
        },
        "addresses": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": false
    },
    "TunnelAuthenticationForApiVM": {
      "type": "object",
      "properties": {
        "userName": {
          "type": [
            "string",
            "null"
          ]
        },
        "password": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "TunnelBandwidthLimitForApiVM": {
      "type": "object",
      "properties": {
        "dataSize": {
          "type": "integer",
          "format": "int32"
        },
        "dataSizeType": {
          "type": "integer",
          "format": "int32"
        }
      },
      "additionalProperties": false
    },
    "TunnelIpRestrictionForApiVM": {
      "type": "object",
      "properties": {
        "isAllow": {
          "type": "boolean"
        },
        "ipAddresses": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": false
    },
    "TunnelRateLimitForApiVM": {
      "type": "object",
      "properties": {
        "uploadRateLimitSize": {
          "type": "integer",
          "format": "int32"
        },
        "uploadRateLimitSizeType": {
          "type": "integer",
          "format": "int32"
        },
        "downloadRateLimitSize": {
          "type": "integer",
          "format": "int32"
        },
        "downloadRateLimitSizeType": {
          "type": "integer",
          "format": "int32"
        }
      },
      "additionalProperties": false
    },
    "TunnelUpstreamProxySettingForApiVM": {
      "type": "object",
      "properties": {
        "type": {
          "type": [
            "string",
            "null"
          ]
        },
        "host": {
          "type": [
            "string",
            "null"
          ]
        },
        "port": {
          "type": "integer",
          "format": "int32"
        },
        "username": {
          "type": [
            "string",
            "null"
          ]
        },
        "password": {
          "type": [
            "string",
            "null"
          ]
        },
        "seperator": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    }
  }
}