{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2/json-schema/amazon-ec2-describe-client-vpn-routes-result-schema.json",
  "title": "DescribeClientVpnRoutesResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-client-vpn-route-api-openapi.yml#/components/schemas/DescribeClientVpnRoutesResult",
  "type": "object",
  "properties": {
    "Routes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ClientVpnRoute"
      },
      "description": "Information about the Client VPN endpoint routes."
    },
    "NextToken": {
      "type": "string",
      "description": "The token to use to retrieve the next page of results. This value is null when there are no more results to return."
    }
  },
  "$defs": {
    "ClientVpnRoute": {
      "type": "object",
      "properties": {
        "ClientVpnEndpointId": {
          "type": "string",
          "description": "The ID of the Client VPN endpoint with which the route is associated."
        },
        "DestinationCidr": {
          "type": "string",
          "description": "The IPv4 address range, in CIDR notation, of the route destination."
        },
        "TargetSubnet": {
          "type": "string",
          "description": "The ID of the subnet through which traffic is routed."
        },
        "Type": {
          "type": "string",
          "description": "The route type."
        },
        "Origin": {
          "type": "string",
          "description": "Indicates how the route was associated with the Client VPN endpoint. associate indicates that the route was automatically added when the target network was associated with the Client VPN endpoint. add-route indicates that the route was manually added using the CreateClientVpnRoute action."
        },
        "Status": {
          "$ref": "#/$defs/ClientVpnRouteStatus"
        },
        "Description": {
          "type": "string",
          "description": "A brief description of the route."
        },
        "TransitGatewayAttachmentId": {
          "type": "string",
          "description": "The ID of the Transit Gateway attachment, if the route targets a Transit Gateway."
        }
      }
    },
    "ClientVpnRouteStatus": {
      "type": "object",
      "properties": {
        "Code": {
          "type": "string",
          "enum": [
            "creating",
            "active",
            "failed",
            "deleting"
          ],
          "description": "The state of the Client VPN endpoint route."
        },
        "Message": {
          "type": "string",
          "description": "A message about the status of the Client VPN endpoint route, if applicable."
        }
      }
    }
  }
}