{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloud-wan/json-schema/amazon-cloud-wan-update-device-request-schema.json",
  "title": "UpdateDeviceRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloud-wan-devices-api-openapi.yml#/components/schemas/UpdateDeviceRequest",
  "type": "object",
  "properties": {
    "GlobalNetworkId": {
      "type": "string",
      "description": "The ID of the global network."
    },
    "DeviceId": {
      "type": "string",
      "description": "The ID of the device."
    },
    "AWSLocation": {
      "$ref": "#/$defs/AWSLocation"
    },
    "Description": {
      "type": "string",
      "description": "A description of the device. Constraints: Maximum length of 256 characters."
    },
    "Type": {
      "type": "string",
      "description": "The type of the device."
    },
    "Vendor": {
      "type": "string",
      "description": "The vendor of the device. Constraints: Maximum length of 128 characters."
    },
    "Model": {
      "type": "string",
      "description": "The model of the device. Constraints: Maximum length of 128 characters."
    },
    "SerialNumber": {
      "type": "string",
      "description": "The serial number of the device. Constraints: Maximum length of 128 characters."
    },
    "Location": {
      "$ref": "#/$defs/Location"
    },
    "SiteId": {
      "type": "string",
      "description": "The ID of the site."
    }
  },
  "required": [
    "GlobalNetworkId",
    "DeviceId"
  ],
  "$defs": {
    "AWSLocation": {
      "type": "object",
      "properties": {
        "Zone": {
          "type": "string",
          "description": "The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost."
        },
        "SubnetArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the subnet that the device is located in."
        }
      }
    },
    "Location": {
      "type": "object",
      "properties": {
        "Address": {
          "type": "string",
          "description": "The physical address."
        },
        "Latitude": {
          "type": "string",
          "description": "The latitude."
        },
        "Longitude": {
          "type": "string",
          "description": "The longitude."
        }
      }
    }
  }
}