{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloud-wan/json-schema/amazon-cloud-wan-create-link-request-schema.json",
  "title": "CreateLinkRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloud-wan-links-api-openapi.yml#/components/schemas/CreateLinkRequest",
  "type": "object",
  "properties": {
    "GlobalNetworkId": {
      "type": "string",
      "description": "The ID of the global network."
    },
    "Description": {
      "type": "string",
      "description": "A description of the link. Constraints: Maximum length of 256 characters."
    },
    "Type": {
      "type": "string",
      "description": "The type of the link. Constraints: Maximum length of 128 characters. Cannot include the following characters: | \\ ^"
    },
    "Bandwidth": {
      "$ref": "#/$defs/Bandwidth"
    },
    "Provider": {
      "type": "string",
      "description": "The provider of the link. Constraints: Maximum length of 128 characters. Cannot include the following characters: | \\ ^"
    },
    "SiteId": {
      "type": "string",
      "description": "The ID of the site."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "The tags to apply to the resource during creation."
    }
  },
  "required": [
    "GlobalNetworkId",
    "Bandwidth",
    "SiteId"
  ],
  "$defs": {
    "Bandwidth": {
      "type": "object",
      "properties": {
        "UploadSpeed": {
          "type": "integer",
          "description": "Upload speed in Mbps."
        },
        "DownloadSpeed": {
          "type": "integer",
          "description": "Download speed in Mbps."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The tag key. Constraints: Maximum length of 128 characters."
        },
        "Value": {
          "type": "string",
          "description": "The tag value. Constraints: Maximum length of 256 characters."
        }
      }
    }
  }
}