{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-migrate/json-schema/microsoft-azure-migrate-solutions-collection-schema.json",
  "title": "SolutionsCollection",
  "description": "Collection of solutions.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-migrate-solutionscontroller-api-openapi.yml#/components/schemas/SolutionsCollection",
  "type": "object",
  "properties": {
    "value": {
      "description": "Gets or sets the list of solutions.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Solution"
      }
    },
    "nextLink": {
      "description": "Gets or sets the value of next link.",
      "type": "string"
    }
  },
  "$defs": {
    "Solution": {
      "description": "Solution REST Resource.",
      "x-ms-azure-resource": true,
      "type": "object",
      "properties": {
        "id": {
          "description": "Gets the relative URL to get to this REST resource.",
          "type": "string",
          "readOnly": true
        },
        "name": {
          "description": "Gets the name of this REST resource.",
          "type": "string",
          "readOnly": true
        },
        "type": {
          "description": "Gets the type of this REST resource.",
          "type": "string",
          "readOnly": true
        },
        "etag": {
          "description": "Gets or sets the ETAG for optimistic concurrency control.",
          "type": "string"
        },
        "properties": {
          "$ref": "#/$defs/SolutionProperties",
          "description": "Gets or sets the properties of the solution."
        }
      }
    },
    "SolutionDetails": {
      "description": "Class representing the details of the solution.",
      "type": "object",
      "properties": {
        "groupCount": {
          "format": "int32",
          "description": "Gets or sets the count of groups reported by the solution.",
          "type": "integer"
        },
        "assessmentCount": {
          "format": "int32",
          "description": "Gets or sets the count of assessments reported by the solution.",
          "type": "integer"
        },
        "extendedDetails": {
          "description": "Gets or sets the extended details reported by the solution.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "SolutionProperties": {
      "description": "Class for solution properties.",
      "type": "object",
      "properties": {
        "tool": {
          "description": "Gets or sets the tool being used in the solution.",
          "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"
          ],
          "x-ms-enum": {
            "name": "tool",
            "modelAsString": true
          },
          "type": "string"
        },
        "purpose": {
          "description": "Gets or sets the purpose of the solution.",
          "enum": [
            "Discovery",
            "Assessment",
            "Migration"
          ],
          "x-ms-enum": {
            "name": "purpose",
            "modelAsString": true
          },
          "type": "string"
        },
        "goal": {
          "description": "Gets or sets the goal of the solution.",
          "enum": [
            "Servers",
            "Databases",
            "DesktopVirtualization",
            "WebApplications",
            "DataCenter"
          ],
          "x-ms-enum": {
            "name": "goal",
            "modelAsString": true
          },
          "type": "string"
        },
        "status": {
          "description": "Gets or sets the current status of the solution.",
          "enum": [
            "Inactive",
            "Active"
          ],
          "x-ms-enum": {
            "name": "status",
            "modelAsString": true
          },
          "type": "string"
        },
        "cleanupState": {
          "description": "Gets or sets the cleanup state of the solution.",
          "enum": [
            "None",
            "Started",
            "InProgress",
            "Completed",
            "Failed"
          ],
          "x-ms-enum": {
            "name": "cleanupState",
            "modelAsString": true
          },
          "type": "string"
        },
        "summary": {
          "$ref": "#/$defs/SolutionSummary",
          "description": "Gets or sets the summary of the solution."
        },
        "details": {
          "$ref": "#/$defs/SolutionDetails",
          "description": "Gets or sets the details of the solution."
        }
      }
    },
    "SolutionSummary": {
      "description": "The solution summary class.",
      "type": "object",
      "properties": {
        "instanceType": {
          "description": "Gets the Instance type.",
          "type": "string",
          "required": [
            "value"
          ],
          "readOnly": true
        }
      }
    }
  }
}