{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-migrate/json-schema/microsoft-azure-migrate-virtual-desktop-user-collection-schema.json",
  "title": "VirtualDesktopUserCollection",
  "description": "Collection of virtual desktop users.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-migrate-virtualdesktopusercontroller-api-openapi.yml#/components/schemas/VirtualDesktopUserCollection",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/VirtualDesktopUser"
      }
    },
    "nextLink": {
      "type": "string"
    }
  },
  "$defs": {
    "VirtualDesktopUser": {
      "type": "object",
      "description": "Class representing virtual desktop user.",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "readOnly": true
        },
        "properties": {
          "$ref": "#/$defs/VirtualDesktopUserProperties"
        }
      }
    },
    "VirtualDesktopUserAssessmentDetails": {
      "type": "object",
      "description": "Details of assessment data of virtual desktop user.",
      "properties": {
        "lastUpdatedTime": {
          "format": "date-time",
          "type": "string"
        },
        "userId": {
          "type": "string"
        },
        "id": {
          "description": "Gets the relative URL to get to this VirtualDesktopUserAssessmentDetails resource.",
          "type": "string"
        },
        "enqueueTime": {
          "type": "string"
        },
        "solutionName": {
          "type": "string"
        },
        "userName": {
          "type": "string"
        },
        "userAccount": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "devicesUsed": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "virtualization": {
          "type": "string"
        },
        "totalApplicationsCount": {
          "format": "int32",
          "type": "integer"
        },
        "criticalApplications": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "osUsed": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "multiUserWindows10": {
          "type": "boolean"
        },
        "windows7": {
          "type": "boolean"
        },
        "persona": {
          "type": "string"
        },
        "assessmentId": {
          "type": "string"
        },
        "targetLocation": {
          "type": "string"
        },
        "isReadyForMigration": {
          "type": "boolean"
        },
        "targetAzureVmSize": {
          "type": "string"
        },
        "targetStorageType": {
          "type": "string"
        },
        "activeWeeklyHours": {
          "format": "int32",
          "type": "integer"
        },
        "userExperienceScore": {
          "format": "double",
          "type": "number"
        },
        "egressBandwidthWeekly": {
          "format": "double",
          "type": "number"
        },
        "extendedInfo": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "VirtualDesktopUserProperties": {
      "type": "object",
      "description": "Properties of class representing virtual desktop user.",
      "properties": {
        "assessmentData": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/VirtualDesktopUserAssessmentDetails"
          }
        },
        "lastUpdatedTime": {
          "format": "date-time",
          "type": "string"
        }
      }
    }
  }
}