{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/anchoredip-com/json-schema/anchoredip-com-post-api-leases-accesstoken-tunnels-request-schema.json",
  "title": "PostApiLeasesAccesstokenTunnelsRequest",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/anchoredip-com-openapi-generated.yml#/components/schemas/PostApiLeasesAccesstokenTunnelsRequest",
  "type": "object",
  "properties": {
    "transport": {
      "type": "string",
      "description": "\"wireguard\" or \"amneziawg\""
    },
    "routing_mode": {
      "type": "string",
      "description": "\"source\" | \"full\" | \"destinations\""
    },
    "destinations": {
      "type": "array",
      "description": "Required when routing_mode is \"destinations\""
    },
    "label": {
      "type": "string"
    }
  },
  "required": [
    "transport",
    "routing_mode",
    "label"
  ]
}