{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-migrate/json-schema/microsoft-azure-migrate-project-result-list-schema.json",
  "title": "ProjectResultList",
  "description": "List of projects.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-migrate-subscriptions-api-openapi.yml#/components/schemas/ProjectResultList",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "List of projects.",
      "items": {
        "$ref": "#/$defs/MigrateProject"
      }
    },
    "nextLink": {
      "type": "string"
    }
  },
  "$defs": {
    "MigrateProject": {
      "type": "object",
      "x-ms-azure-resource": true,
      "description": "Migrate project.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/MigrateProjectProperties"
        },
        "eTag": {
          "type": "string",
          "description": "For optimistic concurrency control."
        },
        "location": {
          "type": "string",
          "description": "Azure location in which project is created.",
          "x-ms-mutability": [
            "create",
            "read"
          ]
        },
        "id": {
          "type": "string",
          "description": "Path reference to this project /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{projectName}",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "Name of the project.",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "Type of the object = [Microsoft.Migrate/migrateProjects].",
          "readOnly": true
        },
        "systemData": {
          "$ref": "#/$defs/systemData",
          "readOnly": true
        }
      }
    },
    "MigrateProjectProperties": {
      "type": "object",
      "description": "Properties of a migrate project.",
      "properties": {
        "registeredTools": {
          "type": "array",
          "description": "Register tools inside project.",
          "items": {
            "enum": [
              "ServerDiscovery",
              "ServerAssessment",
              "ServerMigration",
              "Cloudamize",
              "Turbonomic",
              "Zerto",
              "CorentTech",
              "ServerAssessmentV1",
              "ServerMigration_Replication",
              "Carbonite",
              "DataMigrationAssistant",
              "DatabaseMigrationService",
              "Device42",
              "JetStream",
              "RackWare",
              "UnifyCloud",
              "Flexera",
              "ServerDiscovery_Import",
              "Lakeside",
              "AppServiceMigrationAssistant",
              "Movere",
              "CloudSphere",
              "Modernization",
              "ServerMigration_DataReplication",
              "Unknown"
            ],
            "type": "string",
            "x-ms-enum": {
              "name": "items",
              "modelAsString": true
            }
          },
          "readOnly": true
        },
        "serviceEndpoint": {
          "type": "string",
          "description": "Service endpoint."
        },
        "summary": {
          "type": "object",
          "description": "Project summary.",
          "additionalProperties": {
            "$ref": "#/$defs/ProjectSummary"
          },
          "readOnly": true
        },
        "lastSummaryRefreshedTime": {
          "format": "date-time",
          "type": "string",
          "description": "Last summary refresh time.",
          "readOnly": true
        },
        "refreshSummaryState": {
          "enum": [
            "Started",
            "InProgress",
            "Completed",
            "Failed"
          ],
          "type": "string",
          "description": "Refresh summary state.",
          "readOnly": true,
          "x-ms-enum": {
            "name": "refreshSummaryState",
            "modelAsString": true
          }
        },
        "utilityStorageAccountId": {
          "type": "string",
          "description": "Utility storage account id."
        },
        "publicNetworkAccess": {
          "description": "Gets or sets the state of public network access.",
          "enum": [
            "NotSpecified",
            "Enabled",
            "Disabled"
          ],
          "x-ms-enum": {
            "name": "publicNetworkAccess",
            "modelAsString": true
          },
          "type": "string"
        },
        "privateEndpointConnections": {
          "description": "Gets the private endpoint connections.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/PrivateEndpointConnection"
          },
          "readOnly": true
        }
      }
    },
    "PrivateEndpointConnection": {
      "description": "REST model used to encapsulate the user visible state of a PrivateEndpoint.",
      "type": "object",
      "x-ms-azure-resource": true,
      "properties": {
        "id": {
          "description": "Relative URL to get this Sites.",
          "type": "string",
          "readOnly": true
        },
        "name": {
          "description": "Gets the name of the resource.",
          "type": "string",
          "readOnly": true
        },
        "type": {
          "description": "Gets the resource type.",
          "type": "string",
          "readOnly": true
        },
        "eTag": {
          "description": "Gets the tag for optimistic concurrency control.",
          "type": "string",
          "readOnly": true
        },
        "properties": {
          "$ref": "#/$defs/PrivateEndpointConnectionProperties",
          "description": "Gets the properties of the object."
        },
        "systemData": {
          "$ref": "#/$defs/systemData",
          "readOnly": true
        }
      }
    },
    "PrivateEndpointConnectionProperties": {
      "type": "object",
      "description": "Properties of a private endpoint connection.",
      "properties": {
        "provisioningState": {
          "enum": [
            "Accepted",
            "InProgress",
            "Succeeded",
            "Failed",
            "Canceled"
          ],
          "type": "string",
          "description": "Provisioning state.",
          "x-ms-enum": {
            "name": "provisioningState",
            "modelAsString": true
          },
          "readOnly": true
        },
        "privateEndpoint": {
          "$ref": "#/$defs/ResourceId",
          "readOnly": true
        },
        "privateLinkServiceConnectionState": {
          "$ref": "#/$defs/PrivateLinkServiceConnectionState",
          "description": "Gets the properties of the object."
        }
      }
    },
    "PrivateLinkServiceConnectionState": {
      "type": "object",
      "description": "Private endpoint connection state.",
      "properties": {
        "status": {
          "enum": [
            "Approved",
            "Pending",
            "Rejected",
            "Disconnected"
          ],
          "type": "string",
          "description": "Private link connection state.",
          "x-ms-enum": {
            "name": "PrivateLinkServiceConnectionState_status",
            "modelAsString": true
          }
        },
        "description": {
          "type": "string",
          "description": "Description of the object."
        },
        "actionsRequired": {
          "type": "string",
          "description": "Action required."
        }
      }
    },
    "ProjectSummary": {
      "type": "object",
      "description": "Project summary.",
      "properties": {
        "instanceType": {
          "type": "string",
          "description": "Instance type.",
          "readOnly": true
        },
        "refreshSummaryState": {
          "enum": [
            "Started",
            "InProgress",
            "Completed",
            "Failed"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "refreshSummaryState",
            "modelAsString": true
          },
          "description": "Refresh summary state."
        },
        "lastSummaryRefreshedTime": {
          "format": "date-time",
          "type": "string",
          "description": "Last summary refresh time."
        },
        "extendedSummary": {
          "type": "object",
          "description": "Extended summary.",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "ResourceId": {
      "description": "Defines resource ID of a private endpoint connection.",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "readOnly": true
        }
      }
    },
    "systemData": {
      "type": "object",
      "description": "Metadata pertaining to creation and last modification of the resource.",
      "properties": {
        "createdBy": {
          "type": "string",
          "description": "The identity that created the resource."
        },
        "createdByType": {
          "type": "string",
          "description": "The type of identity that created the resource.",
          "enum": [
            "User",
            "Application",
            "ManagedIdentity",
            "Key"
          ],
          "x-ms-enum": {
            "name": "createdByType",
            "modelAsString": true
          }
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp of resource creation (UTC)."
        },
        "lastModifiedBy": {
          "type": "string",
          "description": "The identity that last modified the resource."
        },
        "lastModifiedByType": {
          "type": "string",
          "description": "The type of identity that last modified the resource.",
          "enum": [
            "User",
            "Application",
            "ManagedIdentity",
            "Key"
          ],
          "x-ms-enum": {
            "name": "createdByType",
            "modelAsString": true
          }
        },
        "lastModifiedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp of resource last modification (UTC)"
        }
      },
      "readOnly": true
    }
  }
}