{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-workspaces/json-schema/amazon-workspaces-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-workspaces-devices-api-openapi.yml#/components/schemas/UpdateDeviceRequest",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of the device to update."
    },
    "name": {
      "type": "string",
      "description": "The name of the device to update."
    },
    "desiredSoftwareSetId": {
      "type": "string",
      "description": "The ID of the software set to apply."
    },
    "softwareSetUpdateSchedule": {
      "type": "string",
      "enum": [
        "USE_MAINTENANCE_WINDOW",
        "APPLY_IMMEDIATELY"
      ],
      "description": "An option to define if software updates should be applied within a maintenance window."
    }
  },
  "required": [
    "id"
  ]
}