{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-migrate/json-schema/microsoft-azure-migrate-web-site-schema.json",
  "title": "WebSite",
  "description": "Class representing a web site.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-migrate-websitescontroller-api-openapi.yml#/components/schemas/WebSite",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "readOnly": true
    },
    "properties": {
      "$ref": "#/$defs/WebSiteProperties"
    }
  },
  "$defs": {
    "WebSiteAssessmentDetails": {
      "type": "object",
      "description": "Details of assessment data of web site.",
      "properties": {
        "assessmentId": {
          "type": "string"
        },
        "id": {
          "description": "Gets the relative URL to get to this WebSiteAssessmentDetails resource.",
          "type": "string"
        },
        "isReadyForMigration": {
          "type": "boolean"
        },
        "assessmentTargetType": {
          "type": "string"
        },
        "migrationBlockersCount": {
          "format": "int32",
          "type": "integer"
        },
        "successList": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "warningList": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "errorList": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "framework": {
          "type": "string"
        },
        "frameworkVersion": {
          "type": "string"
        },
        "lastUpdatedTime": {
          "format": "date-time",
          "type": "string"
        },
        "webServerId": {
          "type": "string"
        },
        "webServerType": {
          "type": "string"
        },
        "webSiteName": {
          "type": "string"
        },
        "enqueueTime": {
          "type": "string"
        },
        "solutionName": {
          "type": "string"
        },
        "port": {
          "format": "int32",
          "type": "integer"
        },
        "extendedInfo": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "WebSiteDiscoveryDetails": {
      "type": "object",
      "description": "Details of discovery data of web site.",
      "properties": {
        "lastUpdatedTime": {
          "format": "date-time",
          "type": "string"
        },
        "id": {
          "description": "Gets the relative URL to get to this WebSiteDiscoveryDetails resource.",
          "type": "string"
        },
        "webServerId": {
          "type": "string"
        },
        "webServerType": {
          "type": "string"
        },
        "webSiteName": {
          "type": "string"
        },
        "enqueueTime": {
          "type": "string"
        },
        "solutionName": {
          "type": "string"
        },
        "port": {
          "format": "int32",
          "type": "integer"
        },
        "extendedInfo": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "WebSiteMigrationDetails": {
      "type": "object",
      "description": "Details of migration data of web site.",
      "properties": {
        "id": {
          "description": "Gets the relative URL to get to this WebSiteMigrationDetails resource.",
          "type": "string"
        },
        "migrationPhase": {
          "type": "string"
        },
        "progressPercentage": {
          "format": "int32",
          "type": "integer"
        },
        "targetAppServiceArmId": {
          "type": "string"
        },
        "lastUpdatedTime": {
          "format": "date-time",
          "type": "string"
        },
        "webServerId": {
          "type": "string"
        },
        "webServerType": {
          "type": "string"
        },
        "webSiteName": {
          "type": "string"
        },
        "enqueueTime": {
          "type": "string"
        },
        "solutionName": {
          "type": "string"
        },
        "port": {
          "format": "int32",
          "type": "integer"
        },
        "extendedInfo": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "WebSiteProperties": {
      "type": "object",
      "description": "Properties of class representing web site.",
      "properties": {
        "discoveryData": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/WebSiteDiscoveryDetails"
          }
        },
        "assessmentData": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/WebSiteAssessmentDetails"
          }
        },
        "migrationData": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/WebSiteMigrationDetails"
          }
        },
        "lastUpdatedTime": {
          "format": "date-time",
          "type": "string"
        }
      }
    }
  }
}