{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-migrate/json-schema/microsoft-azure-migrate-hyperv-site-list-result-schema.json",
  "title": "HypervSiteListResult",
  "description": "The response of a HypervSite list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-migrate-hypervsites-api-openapi.yml#/components/schemas/HypervSiteListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The HypervSite items on this page",
      "items": {
        "$ref": "#/$defs/HypervSite"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "HypervSite": {
      "type": "object",
      "description": "A HyperV SiteResource",
      "properties": {
        "properties": {
          "$ref": "#/$defs/SiteProperties",
          "description": "The resource-specific properties for this resource.",
          "x-ms-client-flatten": true,
          "x-ms-mutability": [
            "read",
            "create"
          ]
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/TrackedResource"
        }
      ]
    },
    "ProvisioningState": {
      "type": "string",
      "description": "The status of the current operation.",
      "enum": [
        "Created",
        "Updated",
        "Running",
        "Completed",
        "Failed",
        "Succeeded",
        "Canceled"
      ],
      "x-ms-enum": {
        "name": "ProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Created",
            "value": "Created",
            "description": "Created value."
          },
          {
            "name": "Updated",
            "value": "Updated",
            "description": "Updated value."
          },
          {
            "name": "Running",
            "value": "Running",
            "description": "Running value."
          },
          {
            "name": "Completed",
            "value": "Completed",
            "description": "Completed value."
          },
          {
            "name": "Failed",
            "value": "Failed",
            "description": "Failed value."
          },
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "Succeeded value."
          },
          {
            "name": "Canceled",
            "value": "Canceled",
            "description": "Canceled value."
          }
        ]
      }
    },
    "Resource": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    },
    "SiteAgentProperties": {
      "type": "object",
      "description": "Class for site agent properties.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Gets the ID of the agent.",
          "readOnly": true
        },
        "version": {
          "type": "string",
          "description": "Gets the version of the agent.",
          "readOnly": true
        },
        "lastHeartBeatUtc": {
          "type": "string",
          "format": "date-time",
          "description": "Gets the last heartbeat time of the agent in UTC.",
          "readOnly": true
        },
        "keyVaultUri": {
          "type": "string",
          "description": "Gets or sets the key vault URI."
        },
        "keyVaultId": {
          "type": "string",
          "description": "Gets or sets the key vault ARM Id."
        }
      }
    },
    "SiteProperties": {
      "type": "object",
      "description": "The properties of VMwareSiteResource",
      "properties": {
        "masterSiteId": {
          "type": "string",
          "description": "Gets the Master Site this site is linked to.",
          "readOnly": true
        },
        "servicePrincipalIdentityDetails": {
          "$ref": "#/$defs/SiteSpnProperties",
          "description": "Gets or sets the service principal identity details used by agent for\ncommunication\n            to the service."
        },
        "agentDetails": {
          "$ref": "#/$defs/SiteAgentProperties",
          "description": "Gets or sets the on-premises agent details."
        },
        "applianceName": {
          "type": "string",
          "description": "Gets or sets the Appliance Name."
        },
        "discoverySolutionId": {
          "type": "string",
          "description": "Gets or sets the ARM ID of migration hub solution for SDS."
        },
        "serviceEndpoint": {
          "type": "string",
          "description": "Gets the service endpoint.",
          "readOnly": true
        },
        "provisioningState": {
          "$ref": "#/$defs/ProvisioningState",
          "description": "The status of the last operation."
        }
      }
    },
    "SiteSpnProperties": {
      "type": "object",
      "description": "Class for site properties.",
      "properties": {
        "tenantId": {
          "type": "string",
          "description": "Gets or sets the tenant Id for the service principal with which the\non-premise\n            management/data plane components would communicate with\nour Azure services."
        },
        "applicationId": {
          "type": "string",
          "description": "Gets or sets the application/client Id for the service principal with which\nthe\n            on-premise management/data plane components would communicate\nwith our Azure \n            services."
        },
        "objectId": {
          "type": "string",
          "description": "Gets or sets the object Id of the service principal with which the on-premise\n\n           management/data plane components would communicate with our Azure\nservices."
        },
        "audience": {
          "type": "string",
          "description": "Gets or sets the intended audience for the service principal."
        },
        "aadAuthority": {
          "type": "string",
          "description": "Gets or sets the AAD Authority URL which was used to request the token for\nthe\n            service principal."
        },
        "rawCertData": {
          "type": "string",
          "description": "Gets or sets the raw certificate data for building certificate expiry flows."
        }
      }
    },
    "TrackedResource": {
      "type": "object",
      "title": "Tracked Resource",
      "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'",
      "properties": {
        "tags": {
          "type": "object",
          "description": "Resource tags.",
          "additionalProperties": {
            "type": "string"
          },
          "x-ms-mutability": [
            "read",
            "create",
            "update"
          ]
        },
        "location": {
          "type": "string",
          "description": "The geo-location where the resource lives",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        }
      },
      "required": [
        "location"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    }
  }
}