{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-migrate/json-schema/microsoft-azure-migrate-assessed-web-app-v2-list-result-schema.json",
  "title": "AssessedWebAppV2ListResult",
  "description": "The response of a AssessedWebAppV2 list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-migrate-assessedwebappv2operations-api-openapi.yml#/components/schemas/AssessedWebAppV2ListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The AssessedWebAppV2 items on this page",
      "items": {
        "$ref": "#/$defs/AssessedWebAppV2"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "AssessedWebAppV2": {
      "type": "object",
      "description": "Assessed Web app web model class.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/AssessedWebAppV2Properties",
          "description": "The resource-specific properties for this resource.",
          "x-ms-client-flatten": true,
          "x-ms-mutability": [
            "read",
            "create"
          ]
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "AssessedWebAppV2Properties": {
      "type": "object",
      "description": "Assessed Web app database properties web model.",
      "properties": {
        "webAppType": {
          "$ref": "#/$defs/WebAppType",
          "description": "Gets or sets the web app type.",
          "readOnly": true
        },
        "targetSpecificResult": {
          "type": "object",
          "description": "Gets or sets the target specific result.",
          "additionalProperties": {
            "$ref": "#/$defs/TargetSpecificResult"
          },
          "readOnly": true
        },
        "appServicePlanName": {
          "type": "string",
          "description": "Gets or sets the app service plan name.",
          "readOnly": true
        },
        "machineName": {
          "type": "string",
          "description": "Gets the machine name.",
          "readOnly": true
        },
        "serverArmId": {
          "type": "string",
          "description": "Gets or sets the server ARM Id.",
          "readOnly": true
        },
        "webServerName": {
          "type": "string",
          "description": "Gets or sets the web server name.",
          "readOnly": true
        },
        "webAppName": {
          "type": "string",
          "description": "Gets or sets web app name.",
          "readOnly": true
        },
        "discoveredWebAppId": {
          "type": "string",
          "description": "Gets the discovered web app ID.",
          "readOnly": true
        },
        "discoveredMachineId": {
          "type": "string",
          "description": "Machine arm id.",
          "readOnly": true
        },
        "confidenceRatingInPercentage": {
          "type": "number",
          "format": "float",
          "description": "Confidence Rating in Percentage.",
          "readOnly": true
        },
        "createdTimestamp": {
          "type": "string",
          "format": "date-time",
          "description": "When was assessed SQL database first created.",
          "readOnly": true
        },
        "updatedTimestamp": {
          "type": "string",
          "format": "date-time",
          "description": "When was assessed Web app database last updated.",
          "readOnly": true
        }
      },
      "required": [
        "appServicePlanName",
        "machineName"
      ]
    },
    "AssessmentResult": {
      "type": "object",
      "description": "Assessment results.",
      "properties": {
        "appServicePlanName": {
          "type": "string",
          "description": "Gets or sets the app service plan name."
        },
        "suitability": {
          "$ref": "#/$defs/CloudSuitability",
          "description": "Gets or sets the suitability."
        },
        "securitySuitability": {
          "$ref": "#/$defs/CloudSuitability",
          "description": "Gets or sets the security suitability."
        },
        "webAppSkuName": {
          "type": "string",
          "description": "Gets or sets the web app sku name."
        },
        "webAppSkuSize": {
          "type": "string",
          "description": "Gets or sets the web app sku size."
        }
      },
      "required": [
        "appServicePlanName",
        "suitability",
        "securitySuitability",
        "webAppSkuName",
        "webAppSkuSize"
      ]
    },
    "AzureWebAppSuitabilityIssueCategory": {
      "type": "string",
      "enum": [
        "Unknown",
        "Issue",
        "Info"
      ],
      "x-ms-enum": {
        "name": "AzureWebAppSuitabilityIssueCategory",
        "modelAsString": true
      }
    },
    "CloudSuitability": {
      "type": "string",
      "description": "Cloud Suitability for Azure.",
      "enum": [
        "Unknown",
        "NotSuitable",
        "Suitable",
        "ConditionallySuitable",
        "ReadinessUnknown"
      ],
      "x-ms-enum": {
        "name": "CloudSuitability",
        "modelAsString": true,
        "values": [
          {
            "name": "Unknown",
            "value": "Unknown",
            "description": "Unknown. Indicates missing data."
          },
          {
            "name": "NotSuitable",
            "value": "NotSuitable",
            "description": "Not Suitable for Azure."
          },
          {
            "name": "Suitable",
            "value": "Suitable",
            "description": "Suitable for Azure."
          },
          {
            "name": "ConditionallySuitable",
            "value": "ConditionallySuitable",
            "description": "Conditionally Suitable for Azure."
          },
          {
            "name": "ReadinessUnknown",
            "value": "ReadinessUnknown",
            "description": "Unknown Readiness for Azure."
          }
        ]
      }
    },
    "ProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "TargetSpecificResult": {
      "type": "object",
      "description": "Target specific result.",
      "properties": {
        "assessmentResult": {
          "$ref": "#/$defs/AssessmentResult",
          "description": "Gets or sets the assessment result."
        },
        "migrationIssues": {
          "type": "array",
          "description": "Gets or sets the web app migration issues.",
          "items": {
            "$ref": "#/$defs/WebAppMigrationIssues"
          },
          "x-ms-identifiers": []
        }
      },
      "required": [
        "assessmentResult",
        "migrationIssues"
      ]
    },
    "WebAppMigrationIssues": {
      "type": "object",
      "description": "Web app migration issues.",
      "properties": {
        "issueId": {
          "type": "string",
          "description": "Gets or sets the issue Id."
        },
        "issueCategory": {
          "$ref": "#/$defs/AzureWebAppSuitabilityIssueCategory",
          "description": "Gets or sets the issue category."
        },
        "issueDescriptionList": {
          "type": "array",
          "description": "Gets or sets the issue description list.",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "issueId",
        "issueCategory",
        "issueDescriptionList"
      ]
    },
    "WebAppType": {
      "type": "string",
      "description": "Web App Type.",
      "enum": [
        "Unknown",
        "IIS",
        "Tomcat"
      ],
      "x-ms-enum": {
        "name": "WebAppType",
        "modelAsString": true,
        "values": [
          {
            "name": "Unknown",
            "value": "Unknown",
            "description": "Unknown. Indicates Missing Data."
          },
          {
            "name": "IIS",
            "value": "IIS",
            "description": "ASP.NET Web App."
          },
          {
            "name": "Tomcat",
            "value": "Tomcat",
            "description": "Java Web App."
          }
        ]
      }
    }
  }
}